Skip to main content

BwOption | bw-option

Overview​

Options represent a single item in a list. They can be used in a bw-select or bw-menu.

Properties​

PropertyAttributeDescriptionTypeDefault
checkedcheckedWhether the option is checkedbooleanfalse
disableddisabledWhether the option is disabledbooleanundefined
displayValuedisplay-valueThe value to display in the optionstringundefined
typetypeThe type of option"multiselect" | "select"undefined
valuevalueThe value of the optionstringundefined

Slots​

SlotDescription
The content of the option
"after"Placed after the option
"end"Placed at the end of the option

Shadow Parts​

PartDescription
"inner-button"The inner button element that wraps the options content

CSS Custom Properties​

NameDescription
--colorThe color of the option
--focus-backgroundThe background color of the option when focused

Dependencies​

Used by​

Depends on​

Graph​


© 2026 United Systems & Software - All Rights Reserved.