Components
← All components

Toggle Group

stimeo--toggle-group

Toggle buttons with aria-pressed, single/multiple selection, and Toolbar-style roving.

  • Toolbar

The stimeo--toggle-group controller implements the APG Button (toggle) pattern with Toolbar-style roving navigation. Each item's pressed state is aria-pressed (the accessible name never changes) and the group is a single Tab stop. In single mode pressing one item releases the others; multiple allows any number. Per the Toolbar model the arrow keys move focus only — activation is Space/Enter (or click). stimeo--toggle-group:change is dispatched on every toggle.

running

Keyboard

KeyAction
Space / Enter Toggle the focused button.
→ / ↓ Move focus to the next button (wraps).
← / ↑ Move focus to the previous button (wraps).
Home / End Move focus to the first / last button.