Skip to content
Design System
GitHub

Toggle group

v0.17.3Beta

A set of toggles, one or many on, joined or spaced, outline or ghost. On is inverted.

Roles

What a screen reader is told each part is, measured in the examples on the Overview tab.

  • button
  • group
  • radio
  • radiogroup
  • toolbar

Keyboard

KeysAction
TabMove into the group
Arrow keysMove between items
EnterSpaceTurn the focused item on or off

Colour contrast

Computed from the shipped theme for the colours this component uses, on page and card backgrounds; the lower of the two is shown. WCAG 2.2 AA.