Parts
Use Pin open in the header to hold this list open. SelectFieldLabel names the field and SelectLabel names a group (SelectGroupLabel is the same part). Also shows SelectValueIcon, SelectGroup, SelectSeparator, SelectItemIcon and a disabled item.
Preview device
all parts · openTrigger states
sm · placeholderdefault · placeholdersm · filleddefault · filleddisableddisabled · placeholderreadOnlyrequiredaria-invalidaria-invalid · filledwith value iconSides
Each side, pinned. A side flips when there is not enough room.
toprightbottomleftAlign
A narrow trigger with wider options, so the list overhangs and the alignment shows. Items set label for the short trigger text.
startcenterendMultiple
Choosing an item toggles it and keeps the list open.
multiple · 2 selectedmultiple · maxLabels 2multiple · emptyContent
long list · scrolls · max-h-64long list · available heightalignItemWithTriggerlong value · narrow triggerlong option labelsno itemsall items disabledfull widthIn a form
Language
Used for emails and notifications.
SelectFieldLabel · helper textCountry
Choose a country to continue.
SelectFieldLabel · aria-invalid · error textBilling country
SelectFieldLabel · disabledform row · sm