| Prop | Default | Type |
|---|---|---|
as | 'div' | AsTag | ComponentThe element or component this component should render as. Can be overwritten by |
asChild | booleanChange the default rendered element for the one passed as a child, merging their props and behavior. Read our Composition guide for more details. | |
disabled | booleanWhen | |
modelValue | false | true | 'indeterminate'The controlled checked state of the item. Can be used as | |
textValue | stringOptional text used for typeahead purposes. By default the typeahead behavior will use the |
| Emit | Payload |
|---|---|
select | [event: Event]Event handler called when the user selects an item (via mouse or keyboard). |
update:modelValue | [payload: boolean]Event handler called when the value changes. |
