Toggle GroupA set of two-state buttons that can be toggled on or off.Docs API Reference Dependencies@radix-ui/react-toggle-group: v1.1.0 PreviewCode Installation CLIManualnpmpnpmyarnbunnpx @kosori/cli add components toggle-group Usage import { ToggleGroup, ToggleGroupItem } from '~/components/ui/toggle-group'; <ToggleGroup type='single'> <ToggleGroupItem value='a'>A</ToggleGroupItem> <ToggleGroupItem value='b'>B</ToggleGroupItem> <ToggleGroupItem value='c'>C</ToggleGroupItem> </ToggleGroup> Reference PropTypeDefaultsizeenummediumvariantenumghost Examples Variants PreviewCode Sizes PreviewCode Single PreviewCode Disabled PreviewCodeEdit on GitHubPreviousToggleNextTooltip