Dropdown
A 60px field that opens a menu of options with an icon, a label, a line of description and an optional badge. Picking one closes the menu and shows it in the field.
This is a hint text to help user.Info Here
Add a closed Orvain Dropdown titled “Field Title”, required, with the placeholder “Choose an action...” and the hint “This is a hint text to help user.”; its menu holds 6 actions: • “Auto” • “Open link”, with a “New” badge • “Find file”, “Add to task list” and “Download file” • “Archive”, disabled
When to use#
- To choose one option from a list too long for Radio buttons: a country, a role, an action.
- When space is tight and the current value matters more than the alternatives.
When not to use
- Use a Radio group for fewer than five options that people should compare.
- Use a combobox with filtering for long lists that people search.
Anatomy#
Above the trigger, as for an Input.
The Input's 60px field, with the value or placeholder and a chevron.
16px below, radius 32, a 1.5px #f2f2f2 stroke and 20px in; rows 4px apart.
Radius 12, 12px in: a 20px icon, label, description and badge.
States#
As for the Input.
Open: a near-black stroke and the menu shown.
The chosen option's label in the field.
A red stroke and hint.
Grey, without a chevron, and does not open.
Source#
The Dropdown ships in the free packages, @orvain/react and @orvain/vue, and in the Figma library with every variant and state shown above. The code on this page is the code you install.
Used in these blocks

