Listbox API
Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.
Listbox6 props1 callbacks0 methods
Props6
| Name | Type | Description |
|---|---|---|
labelRequired | string | Label content or accessible name for the component, as rendered by this control. |
listRefOptional |
| Reference to the list container for focus or scrolling integration. |
variantOptional | "default" | "plain" | undefined | Omit the inner frame when the list sits inside an editor pane. |
spacingOptional | "default" | "comfortable" | undefined | Additional room around icon/description rows. |
childrenRequired |
| Content rendered inside the component. Supply nodes from the framework adapter you are using. |
classNameOptional | string | undefined | Additional CSS classes applied to the component root. |
Events and callbacks1
| Name | Type | Description |
|---|---|---|
onSelectRequired |
| Called when the user selects an item. The signature identifies the selected value and any additional context. |
Methods0
No component-specific imperative methods. Use props and callbacks to control this component.