# heroui switch, 21st-hero_ui--hero-ui component by hero_ui

HeroUI v3 Switch — toggle with sizes, label position, icons, descriptions, disabled/selected states, groups, render props and custom styles.

> Pagina: https://ui.eneawork.it/comp/21st-hero_ui--hero-ui/heroui-switch
> Markdown: https://ui.eneawork.it/comp/21st-hero_ui--hero-ui/heroui-switch.md

- Libreria: [21st-hero_ui--hero-ui](/components/lib/21st-hero_ui--hero-ui)
- Pagina HTML: https://ui.eneawork.it/comp/21st-hero_ui--hero-ui/heroui-switch

## Install

```bash
npx shadcn@latest add "https://ui.eneawork.it/api/registry/21st-hero_ui--hero-ui/heroui-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`.
