Toggle Group

Last updated: October 14, 2026

Segmented single or multi selection wrapping Toggle — Astryx Segmented Control inspired.

Installation

npx smoothui-cli add toggle-group

Features

ToggleGroupRoot + ToggleGroupItem on Base UI Toggle Group. Looks like a segmented control (muted track, pressed chip). Supports multiple / type="multiple" for multi-select; value is always a string[].

States

Features

Single-select alignment control.

Multiple

Several items can stay pressed.

Accessibility

Keyboard Interactions

KeyDescription
Arrow keysMove focus between items
Enter / SpaceToggle the focused item
TabMoves focus into / out of the group

Reduced Motion

Item press scale follows Toggle’s reduced-motion behavior.

Props

Powered by

motion.dev
base-ui