No Preview

Sorry, but you either have no stories or none are selected somehow.

If the problem persists, check the browser console, or the terminal you've run Storybook from.

Option

Option
NameDescriptionDefaultControl
attributes
disabled
Sets the disabled state of the option
boolean
-
selected
Sets the selected state of the option
boolean
-
name
The name of the option
string
-
text
The text to display in the dropdown when the option is selected
string
-
value
The value of the option
string
-
slots
The content to display in the option
--
indicator
Slot for selected indicator
--
start
The content to display at the start of the option
--
description
The content to display in the description slot
--

Stories

Default

Option

Multiple

Multiple selection mode

Selected

Selected

Selected Multiple

Selected (multiple selection mode)

Disabled

Disabled unselected
Disabled selected

Disabled Multiple

Disabled unselected
Disabled selected

Start Content

16Option with 16px avatar
24Option with 24px avatar
32 Option with 32px avatarAdditional information is slotted in the description slot