Option

Demos

See the demos of Select or the demos of Dropdown.

API

Props

NameTypeDefaultDescription
labelstringThe descriptive label of the option.
value*The value of the option.
disabledboolean=Whether the option is disabled.
hiddenboolean=falseWhether the option is hidden.

Slots

NameDescription
defaultThe entire content area of the option. Displays the label and potential check icon by default.
labelThe content of the option label. Displays the label prop by default.

Events

The click event is triggered upon clicks without callback parameters.

Icons

NameDescription
checkedChecked state.
Edit this page on GitHubEdit