# switch, 21st-redrob-labs--redrob-labs component by redrob-labs

A toggle control that turns a setting on or off immediately, without needing a save or submit action.

> Page: https://ui.eneawork.it/comp/21st-redrob-labs--redrob-labs/switch
> Markdown: https://ui.eneawork.it/comp/21st-redrob-labs--redrob-labs/switch.md

- Library: [21st-redrob-labs--redrob-labs](/components/lib/21st-redrob-labs--redrob-labs)
- HTML page: https://ui.eneawork.it/comp/21st-redrob-labs--redrob-labs/switch

## Install

```bash
npx shadcn@latest add "https://ui.eneawork.it/api/registry/21st-redrob-labs--redrob-labs/switch.json?token=YOUR_TOKEN"
```

The registry endpoints are token-gated (create a free account in the app, then copy the registry token). The raw source is also readable at `/api/registry/<library>/<name>.json`.
