Components
← All components

Toggle Group

stimeo--toggle-group

A row of buttons that hold a pressed state, for picking one or picking several.

  • Core
  • Toolbar

A row of buttons that hold a pressed state. Whether one is pressed is announced while its name stays the same, because a name that swaps underneath confuses anyone relying on it. The whole row is a single Tab stop and the arrow keys move within it. It can take one choice or several. A button that cannot be used is skipped by the arrow keys, while one marked unavailable stays reachable but does nothing. Buttons added later work without setup of their own. You are told only when someone actually pressed one.

running

Multiple selection

Single selection

Unavailable items

Keyboard

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