# Switch

> Toggle switch for boolean settings with smooth animation.
> Source: https://otf-kit.dev/components/switch

## At a glance

- **Platform:** Web (React)
- **Category:** Input
- **Package:** `@otfdashkit/ui` (free, MIT)
- **Tags:** toggle, boolean, form

## Install

```bash
bun add @otfdashkit/ui
```

## Usage

```tsx
import { Switch } from '@otfdashkit/ui'
```

The `<Switch>` component ships the same prop API on web (`@otfdashkit/ui`) and native (`@otfdashkit/ui-native`) where a parity version exists.

## Links

- Live preview + code: https://otf-kit.dev/components/switch
- Storybook: https://ui.otf-kit.dev
- All components: https://otf-kit.dev/components
