Pickers
Pickers allow users to select content from a set of values, usually presented in a list or dropdown menu.
Last updated
Was this helpful?
Pickers allow users to select content from a set of values, usually presented in a list or dropdown menu.
Last updated
Was this helpful?
Different types of pickers can be used in forms. Choosing the right picker depends on the type of answers requested and their number.
Here is an overview to assist you in choosing the appropriate picker based on your use case. For more in-depth information, please refer to the details of each picker.
Select
is the simplest picker.
Allows users to choose one item from a option list.
To use for 'simple' option lists that do not require back-end calls to retrieve options (eg. list of countries, language...)
Search bar is automatically shown for item lists with 20+ items
Group options into bundles with title separators to make it easier to read and understand.
Custom the field with optional props : Label
, Requirement Indicator
(Red Asterix), Tooltip
, Placeholder Value
and Helptext
Time Picker
is a component dedicated to time (hours & minutes).
With this picker, users can select one item in the calendar.
When empty, Time Picker
shows a 'time' icon on the far right corner (unlike Single Select, which uses a dropdown arrow).
Selection List items
of Time Picker
are customizable :
'interval' (from 1 to 60): allows populating options with precise interval
Removing time before the current time
For a clear form layout, follow these simple design rules:
Place inputs in a vertical sequence, each stretching across the full panel width for a clean look.
If you're aligning inputs side-by-side, leave a 16px gap between them to prevent clutter.
Similarly, when stacking inputs vertically under a single label, keep a 16px space for clear separation.
Use a noun, no preposition, no action verb.
Prefer a help text over a tooltip to add extra details, and explain how to fill the field or its purpose. If you are just repeating yourself, don’t use a help text.
Tooltip appears when hovering the ? icon or a disabled button. They are not used to communicate critical information but to provide additional information.
Do
Consider whether to display a default value or prompt users to select one when using a picker component
Asynchronous components are meant for complex selection lists.
Use predictable and logically ordered values
Always report to form patterns
Don't
Avoid imposing an illogical pre-selection as the default state
Use DateTimeRange for a single date, even if it's technically possible
Consider providing less granularity when specifying minutes in a date picker.
Create new/custom behavior patterns with form components
For 3 options or less, use component.
Default Placeholder is manageable. below.
Default Placeholder is manageable. below.
Users can unselect a value by clicking on the "x" ("remove") icon of its or by unchecking the line in the Selection List
. They can also clear the whole selection with the Secondary Button in the dropdown "Clear".
The inline advanced picker triggers the advanced picker modal which is a key component to . Once the items are selected, it displays a counter with "selected" as microcopy; you may override it.