ToggleGroup

A single-select group of options with radiogroup semantics.

Options

Each option is a radio button; a disabled option stays in the row and cannot be chosen.

Custom items

The item snippet receives option, spreadable props (role, aria state, click handling) and selected: any element can become a group member.

Examples

A bound group
Selected: act

Pi0.5 is a disabled option.

Cards as options, from the item snippet