Dropdown
Overview
When to use
The dropdown element could be used if a single option of a data set should be selected and validated.
When to consider an alternative
If, there are many more than 10 options, but the input doesn’t have to be validated, an open text form field will often be simpler than a drop-down.
Component
Default
Properties
Dropdown
Property | Type | Required | Default |
---|---|---|---|
children | Node | false | - |
label | String | false | - |
utilClassNames | String | false | - |
Dropdown.Item
Property | Type | Required | Default |
---|---|---|---|
children | Node | false | - |
href | String | false | - |
onClick | Func | false | - |