# Toggle Group

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

Source: https://ui.cortexcn.dev/docs/components/toggle-group

## Installation

```bash
npx shadcn@latest add @cortexcn/toggle-group
```

## Usage

```tsx
import { ToggleGroup, ToggleGroupItem } from "@/components/toggle-group";
```

## Examples

### Basic

### Outline

### Outline with icons

### Sizes

### With spacing

### With icons

### Filter

### Date range

### Sort

### With input and select

### Vertical

### Vertical outline

### Vertical outline with icons

### Vertical with spacing

### Font weight selector

Adapted from the [shadcn/ui Toggle Group](https://ui.shadcn.com/docs/components/radix/toggle-group) (MIT).