Select

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.

Best Practices

Use Single Select
  • To let a user choose one option from a dropdown list.
  • For sorting existing content on the page
  • When you have list of six or more options to choose from
  • If the list is sourced from a external data and unaware of how many options will be populated in the list
  • Use optional hint text to provide additional instructions
Don’t Use Single Select
  • To reduce vertical space
  • If there are five or less options, consider using radio for single selection
  • Country flag dropdown to select a language, many languages are spoken within a country

Variations

Select Variations
VariationDescription
Select NativeUse 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 CustomUse 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.

Recommendations

Select labels are required and should be short, clear and descriptive. It should be easy for the users to understand what they are selecting. 

Do This
Select Do This
Don’t Do This
Select Don't Do This

When writing labels, use sentence case, not title case or all caps (unless a proper noun). 

Do This
Select Do This
Don’t Do This
Select Don't Do This

Avoid ending labels in colons. 

Do This
Select Do This
Don’t Do This
Select Don't Do This

List the options in alphabetical order or any other order which makes sense for the list. 

Do This
Select Do This
Don’t Do This
Select Don't Do This

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.

Do This
Select Do This
Don’t Do This
Select Don't Do This

If there are five or less options, consider using a radio button for single selection. Avoid using single select to reduce vertical height.

Do This
Select Do This
Don’t Do This
Select Don't Do This

Avoid adding error within the dropdown, display it below the input field. 

Do This
Select Do This
Don’t Do This
Select Don't Do This

Behavior

  1. On hover we have introduced a blue so a user can identify easily between hover and selected. With elements right next to each other the focus ring will be inside 4px of the visual element.
  2. elected item will now have check icon to the right indicating the selected item from the list provided.
Select Behavior

Questions?

Connect with the DLS Team on Slack or by email.

Resources

Check out additional resources.