Skip to main content
Kaleidoscope

DropdownDeprecated

Allow one or more options to be selected from a dropdown menu of options.

🚨 This component is deprecated

Only use this for reference when working with the existing component. For all new instances, use the component.

Default

A standard Dropdown menu. Useful for allowing selection from a list without occupying too much space.

Editable example

Best practices

  1. Use with four or more options. For fewer options, or when the options have very short labels, consider using a .
  2. For long lists, it's better to use the Combobox because it can be searched/filtered.
  3. For menus that are triggered by a button and options that perform an action, use an .

Sizes

Like with all controls, match the sizing of the Dropdown with other controls surrounding it. Smaller sizes are used for more densely packed interfaces, while larger sizes are good for less populated forms.

Editable example

Multi select

When allowing multiple selection, the remainOpenOnSelect prop should be used to prevent the menu closing when an option is selected.

Editable example

Long labels

Use the hasLongLabel prop to change the label styling to be more readable for longer labels.

Editable example

Theme

Control the theme by passing the theme prop a DropdownTheme enum option.

Editable example

Accessibility

This component has not been updated to meet WCAC AA accessibility.