Toggle Group
A set of toggles that behave as one control — pick one alignment, or any combination of formatting marks. Arrow keys move between the items.
tsx
import { ToggleGroup, ToggleGroupItem } from "@pestoui/core"Single select
type="single" allows one pressed item at a time. variant and size set on the group reach every item.
Multiple, joined
type="multiple" lets any number be pressed. spacing={0} joins the items into one segmented control.
Props
Pesto UI · 117 documented components