Switch
A squared-off rocker in two sizes.
Installation
npx shadcn@latest add @afterglow/switchAPI Reference
Switch
| Prop | Type | Default |
|---|---|---|
| size | "default" | "sm" | "default" |
Everything else is Base UI switch's API, documented there.
Search components and documentation.
A squared-off rocker in two sizes.
npx shadcn@latest add @afterglow/switch| Prop | Type | Default |
|---|---|---|
| size | "default" | "sm" | "default" |
Everything else is Base UI switch's API, documented there.