Dropdown and select
Date and time pickers allow the user to pick their dates. There are emotive and productive date pickers, emotives are slightly larger whereas productive are smaller.
We also have variaties such as the date picker, a calendar option date picker and a start to end date picker.
To view these examples in light or dark theme switch the toggle on the top right.
Types
The table below shows you the various types of date picker.
Dropdown
Regular dropdowns has multiple dropdown options but not too much where the users is overwhelemd with them.
States | Emotive Type: body-emotive Height: 48px padding: 11px 16px |
Productive Type: body-productive Height: 40px Padding: 8px 12px |
Inline Type: body-inline Height: 32px Padding: 8px 4px |
---|---|---|---|
:enabled | |||
:selected |
Combobox
When there is a time where there are multiple options that are selectable, a combobox is used. You can see the examples below shows the searchable option when the user slects the dropdown.
States | Emotive Type: body-emotive Height: 48px padding: 11px 16px |
Productive Type: body-productive Height: 40px Padding: 8px 12px |
Inline Type: body-inline Height: 32px Padding: 8px 4px |
---|---|---|---|
:enabled | |||
:selected |
Multiselect
Multiselect dropdowns allows the user to select multiple options using checkboxes.
States | Emotive Type: body-emotive Height: 48px padding: 11px 16px |
Productive Type: body-productive Height: 40px Padding: 8px 12px |
Inline Type: body-inline Height: 32px Padding: 8px 4px |
---|---|---|---|
:enabled | |||
:selected |
Form select
Form selects are displayed in forms and the dropdowns are styled by the browser.
States | Emotive | Productive | Inline |
---|---|---|---|
:enabled | |||
:selected |
Usage
Dropdowns present a list of options from which a user can select one option, or several depending on the type of dropdown.
A selected option represents a value, that can be used as an input value or an action to filter/sort content.
Type | Use |
---|---|
Dropdown | Allows user to select one option. |
Combobox | Allows user to search options in the dropdown list and select one option. |
Multiselect | Allows user to select multiple options from a list and filter. |