Skip to content
Twentyfirst UIPro

Select Menu

Forms · SelectMenu

View as Markdown

A styled select: the button shows the choice, the list opens below it with groups, icons, hints and disabled options. Use the native Select when the system picker is preferred (long lists on phones).

  • Keyboard: ↑/↓/Enter/Space open, arrows move, Home/End jump, typing jumps to a match, Enter picks, Escape closes.
  • Inside a Form it submits its value under name and shows its validation message.
Where workspace data is stored

Props

SelectMenu

PropTypeNotes
options(string | SelectMenuOption)[]Required
value?string
defaultValue?string
onChange?(value: string) => void
placeholder?string
disabled?boolean
size?"sm" | "md"`sm`: a compact trigger, e.g. a sort menu next to a heading.
label?string
hint?string
error?string
className?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.