Skip to content

Toggle Group

Toggles that act as one control. One pressed at a time by default, several with multiple. Arrow keys move between items.

Sourcecomponents/toggle-group.tsx

Usage

When to use

Use when

Choosing one (or, with multiple, several) of a few options shown at once: alignment, view mode

Don’t use when

More than about five options; use a select