Dropdowns provide a menu to select one or many from a list of more than 4 items.
Read more about when and how to use the Dropdown component on the website.
yarn add @hig/dropdown @hig/theme-context @hig/theme-data
import Dropdown from "@hig/dropdown";
<Dropdown
placeholder="placeholder for regular Uncontrolled dropdown"
options={["Foo", "Bar"]}
/>
Use the className
prop to pass in a css class name to the outermost container of the component. The class name will also pass down to most of the other styled elements within the component.