Skip to content

Select

Select inputs are fields that allow users to choose options from a menu.

Usage

Element offers two distinct select input types: the Default Select and the Advanced Select.

The default select is based on the native HTML select element. Use it for straightforward scenarios where users need to select a single option from a dropdown list.

The advanced select is designed to accommodate more complex requirements, offering support for single-selection, multi-selection, icons, and a search function. This variant should be employed only when one or more of the mentioned capabilities are necessary.

Select input field

When to use select input fields

  • When users need to make a choice among a list of options.
  • When there are more than 5 options to choose from.
  • When options can be logically grouped (e.g., countries, cities, etc.).
  • Use it in forms and for atribute selection.

Best practices for select input field

  • Don't use it if there are less than three options available for selection.
  • Analyze what actions will save more time for the user (e.g. selecting an item versus typing that item).
  • If possible, mark the default option as the recommended one (avoid extra clicking).

Except where otherwise noted, content on this site is licensed under MIT License.