Skip to content

SelectItem ​

Overview ​

A selectable option within SelectContent.

Theme entry: SelectItem

Props ​

NameTypeRequiredDefaultDescription
iconOverrideObjectnullA partial icon registry ({ [componentName]: { [iconName]: { component, props } } }) merged with inherited and default icon entries; scopes icon overrides to this component and its descendants.
themeOverrideObjectnullA partial ThemeObject keyed by component name, merged over this component's theme and provided to descendants.
classimport('vue').HTMLAttributes['class']undefinedAdditional CSS classes to apply to the root element.
valuestring|number|boolean|objectyesThe value submitted with the form.
disabledbooleanundefinedWhen true, prevents user interaction.
textValuestringundefinedPlain-text representation used for typeahead.
asstring|objectundefinedThe HTML element or component to render as.
asChildbooleanundefinedWhether to render as a child element.

Slots ​

default ​

Slot.

Source ​

client/lib/controls/select/SelectItem.vue