Ready

Dropdown Button

Dropdown buttons display a list of choices when clicked. It is a two step process that provides greater specificity to a singular action.

Ready

Dropdown Button

Dropdown buttons display a list of choices when clicked. It is a two step process that provides greater specificity to a singular action.

Ready

Dropdown Button

Dropdown buttons display a list of choices when clicked. It is a two step process that provides greater specificity to a singular action.

Anatomy

  1. Button

  2. Picklist

Variants

  1. Primary

  2. Secondary

  3. Transparent

  4. Heading

States

  1. Default

  2. Hover

  3. Pressed

  4. Disabled

Best Practices

1. Long Dropdowns

Avoid dropdowns when there are more than 10 or fewer than 5 options. Long of dropdowns will require scrolling and will not allow users to see all choices. See Fitt’s Law. Too few options in a dropdown could be better suited for a different treatment to get to context more quickly (button, button group, toggle).

2. Visibility

Give the user context to the button when making a selection in the dropdown. Titles provide context and direction when they are choosing from a list. Whenever the labels are hidden or removed when the menu is open, users may not recall the origin of the selection.¹

3. Choice Visibility

Keep dropdown button choices in view even if disabled.¹  If disabled items are removed, the interface loses consistency and hinders the learning curve for the user.

4. Labels

Write concise labels that clearly indicate the purpose of the selection.Use verbs and verb phrases to describe the action that occurs when the selection is chosen

More

Related Pages

Accessibility

Color contrast ratio for our Dropdown Buttons meets AA standards, based on Web Content Accessibility Guidelines (WCAG) guidelines.

  1. Benefits: People with low vision often have difficulty reading text that does not contrast with its background. This can be exacerbated if the person has a color vision deficiency that lowers the contrast even further. Providing a minimum luminance contrast ratio between the text and its background can make the text more readable even if the person does not see the full range of colors. It also works for the rare individuals who see no color.

  2. Support keyboard input to navigate within a dropdown. Dropdowns should support mouse and keyboard input.¹  

  3. In a dropdown, users should be able to type a letter and navigate to selections starting with that letter.

Additional Reading

© 2024 Basis Technologies
© 2024 Basis Technologies
© 2024 Basis Technologies