Toggle Group

A group of toggle buttons supporting single or multiple selection. Common use cases include text alignment, text formatting, and view switching.

Single selection

Only one item can be selected at a time, like an alignment picker.

Multiple selection

Multiple items can be selected simultaneously, like text formatting options.

Outline variant

Use variant="outline" for a bordered style.

Sizes

Three sizes - sm, md, and lg.

Small

Medium

Large

Disabled

Disable the entire group or individual items.

Group disabled

Single item disabled