The use of dropdowns has its advantages but it depends on the screen support. Dropdowns are a standard widget, so the users know how to interact with them. The options available in a dropdown component are static, preventing erroneous data entered by the user since it only shows a range of correct values for that input.
States: Enabled, hover, focus, active and disabled.
| Property | Element | Core token | Value |
|---|---|---|---|
border-width | Dropdown button | border-width-0 | 0 |
border-style | Dropdown button | border-style-none | none |
border-radius | Dropdown button | border-radius-medium | 0.25rem / 4px |
border-width | Options list | border-width-0 | 0 |
border-style | Options list | border-style-none | none |
border-radius | Options list | border-radius-medium | 0.25rem / 4px |
border-width | Focus outline | border-width-2 | 2px |
border-style | Focus outline | border-style-solid | solid |
border-radius | Focus outline | border-radius-medium | 0.25rem / 4px |