A wider screen, please

This page features interactive demos and side-by-side code samples that need at least 340 pixels of horizontal space. Please widen your browser window, or rotate your device, to continue.

Morpheus v0.1.0
v0.1.0

Optgroup#

Component <neo-optgroup> is an option-data carrier, not a rendered or interactive element. It groups its Option children under a heading the consuming control renders above them. Place it inside a Select, Combobox, or Datalist. The group itself renders nothing; the control owns the listbox and draws the heading.

Reference#

Attributes #

NameTypeDefaultDescription
labelstringnoneThe group heading the control renders above the contained options. A non-selectable separator, not an option value.

Slots #

NameDescription
defaultThe <neo-option> children that belong to the group.

Settings

Theme

Default Sunshine Ocean Matrix Rose

Accessibility

Playgrounds

Server Simulator