sw-ui-split-button
sw-ui-split-button
sw-ui-split-button
Pill-shaped icon button with an optional chevron dropdown — the
atomic building block of <sw-ui-control-bar>’s mic / camera / speaker
buttons.
Renders in two layouts:
<sw-ui-dropup> or non-empty
items): a unified pill split into a main click zone and a chevron
click zone with a subtle divider — [ 🎤 | ▲ ]. Clicking the icon
area fires the primary event; clicking the chevron opens the dropup.Two interaction modes are inferred from which slots have content:
active and inactive slots are populated.
Each click flips the active attribute and fires
sw-split-button-toggle with the new state.sw-split-button-click without toggling.Class: SwUiSplitButton · Module: packages/web-components/src/components/UI/controls/sw-ui-split-button.ts
SwUiSplitButton, sw-ui-split-buttonitems field.
active field.