Toggle Group

A set of two-state buttons that can be toggled on or off.

Preview

Installation

Install the package using your preferred package manager:

npx shadcn@latest add @airy/toggle-group

Usage

Import the component from the package:

import { ToggleGroup } from "@/registry/ui/toggle-group"

Then use it in your application:

<ToggleGroup />

Examples

Default