autoComplete | string | undefined | Not set | Browser autofill hint for the hidden input |
children | React.ReactNode | Not set | — |
Content.align | "center" | "start" | "end" | undefinedcenterstartend | Not set | — |
Content.children | React.ReactNode | Not set | Omit to render the items the root's `options` prop describes. |
Content.maxVisibleItems | number | undefined | Not set | Maximum number of visible options before scrolling. Shows half of the next item as a scroll hint. |
Content.sideOffset | number | undefined | Not set | — |
defaultOpen | boolean | undefined | Not set | Default open state |
defaultValue | string | undefined | Not set | Default value for uncontrolled usage |
disabled | boolean | undefined | Not set | Whether the select is disabled |
form | string | undefined | Not set | ID of the form that owns the hidden input |
Group.childrenRequired | React.ReactNode | Not set | — |
GroupLabel.childrenRequired | React.ReactNode | Not set | — |
inputRef | React.Ref<HTMLInputElement> | undefined | Not set | Ref to the hidden input element |
invalid | boolean | undefined | false | Marks the selection invalid: the danger edge and `aria-invalid` on the
trigger. Say why in a Field.Error; inside a Field, its `invalid` does the same. |
Item.childrenRequired | React.ReactNode | Not set | — |
Item.disabled | boolean | undefined | Not set | — |
Item.valueRequired | string | Not set | — |
name | string | undefined | Not set | Form field name |
onOpenChange | ((open: boolean) => void) | undefined | Not set | Called when open state changes |
onValueChange | ((value: SelectValue | null) => void) | undefined | Not set | Called when the selection changes |
open | boolean | undefined | Not set | Controlled open state |
options | SelectOption[] | undefined | Not set | Convenience API for simple selects (renders Select.Item entries when children are omitted) |
placeholder | string | undefined | Not set | Placeholder text when no value is selected |
readOnly | boolean | undefined | Not set | Whether the user cannot choose a different option |
required | boolean | undefined | Not set | Whether a selection is required |
size | SelectSize | undefinedxssmmdlg | "md" | Trigger height on the shared control track: 24, 28, 32 or 40. |
Trigger.children | React.ReactNode | Not set | — |
Trigger.icon | React.ReactNode | Not set | Leading adornment shown before the value — usually says what the choice is
about, so the visible text can be the choice itself. Ignored when you pass
your own `children`. |
Trigger.placeholder | string | undefined | Not set | — |
value | string | null | undefined | Not set | Controlled selected value |