Vivid Logo Vivid

Split Button

A button with two parts: a label and an arrow; clicking on the label selects a default action, and clicking on the arrow opens up a list of other possible actions.

Labelling

Label

The label attribute adds the label text for the default action.

Secondary Action Label

By default, the secondard action is given a locallized aria-label of "Show more actions", this can be overriden using the indicator-aria-label attribute. This will be read by screen-readers to clarify the purpose of the action.

Icons

Default Action Icon

Icons can be provided using the icon slot or the icon(deprecated) attribute(icon library) to display an icon for the default action.

Split Indicator Icon

The split-indicator attribute to sets the icon for the secondary action button. View list of available icon at the vivid icons gallery.

Appearance

The appearance sets the Split Button's appearance.

Connotation

The connotation attribute sets the Split Button's connotation.

Shape

The shape attribute sets the style of the Split Button's edges.

Size

The size attribute sets the Split Button to one of the predefined block sizes.

Disabled

The disabled attribute sets the disabled state of the Split Button.