Components / Base / Select

B3 · Base

Select

A native select for a short list of statuses, including a disabled field.

When to use

  • The options are known and few.
  • A native menu is enough.

When not to use

  • The list is longer than a screen and needs search. Use the command menu.
  • Only one option can show as a pressed chip row.

Usage

<label class="c-field">Status
  <select class="c-select"><option>In review</option><option>Approved</option></select>
</label>

Variants

The preview shows the form used in the gallery.

Props

NameTypeDefaultDescription
c-selectclass—Same height and radius as c-input.
disabledattributeabsentThe field cannot change.

Keyboard

KeyAction
ArrowUp / ArrowDownChanges the option when the select is open.
EnterOpens the native menu.

Accessibility

Motion

Pattern origin

Base control. Native select, styled with the tokens.

Related

Text inputSegmented controlCommand menu