Skip to main content

OptionGroup

<ui5-option-group> | Since 2.26.0

The ui5-option-group component is used to group options within a ui5-select.

ES6 Module Import​

import "@ui5/webcomponents/dist/OptionGroup.js";

Properties​

headerText​

DescriptionDefines the header text of the group.
Typestring | undefined
Defaultundefined

Slots​

default​

DescriptionDefines the options of the group.
Note: Use the ui5-option component to define the desired options.
TypeArray<Option>

Events​

No events available for this component.

Methods​

No methods available for this component.

CSS Parts​

No CSS parts available for this component.

CSS Custom States​

No CSS custom states available for this component.