Components
Form
Select

Select

An essential form option, this lets users select from a potentially long list. A Select is generally identical in purpose to a radio (opens in a new tab), but can save space whenever there are too many options. Selects also have different keyboard controls (opens in a new tab) (though many aren’t common knowledge).

💡

A general rule of thumb is to prefer Radios for 5 or fewer items, and Selects for more.

Usage

Props

NameTypeDescription
itemsItem[]Required. Provide an array of options to the user.
multiplebooleanAllow the selection of multiple items? (default: false)
variantstringsmall, large, minimal, or chips

Further Reading