Single select allows users to make a single selection from a dropdown list of six or more items. Consider using radio buttons for fewer items.
On this page
| Variation | Description |
|---|---|
| Select Native | Use system native list for when a user is allowed to select only one option from the options listed. Highly recommend using system native because its browser default and will be adaptable on the device user is using. |
| Select Custom | Use DLS icons or graphics such as card art that are max 24px in height. The use of graphic adds additional information with context. Note, only use graphic if system native doesn’t fit your solution. |
Select labels are required and should be short, clear and descriptive. It should be easy for the users to understand what they are selecting.Â
When writing labels, use sentence case, not title case or all caps (unless a proper noun).Â
Avoid ending labels in colons.Â
List the options in alphabetical order or any other order which makes sense for the list.Â
Avoid long dropdowns that require scrolling because they make it difficult to view all items immediately. If you have too many items to include, consider using an autocomplete field that customers can type in to filter results, such as search input with typeahead.
If there are five or less options, consider using a radio button for single selection. Avoid using single select to reduce vertical height.
Avoid adding error within the dropdown, display it below the input field.Â
Connect with the DLS Team on Slack or by email.
Check out additional resources.