Toggle group
A Primitives toggle group rendered with Themes icon buttons.
Themes has no toggle group. Compose the Toggle Group primitive with Themes IconButton: the primitive owns roving focus, aria-pressed and keyboard behavior, and the button takes its variant from the selected value, so accent color, radius and scaling follow the surrounding Theme.
Ignoring an empty onValueChange value keeps one option selected, as in a text-alignment control. target reads its props once, so signal-derived props such as variant are getters. Use type="multiple" with a string[] signal for independent toggles.
The unstyled demo with CSS Modules, plain CSS and Tailwind variants and a runnable sandbox is on the Toggle Group primitive page.