# Switch components (https://divplate.com/library/components/controls/switch)

One setting, on or off

Every item installs with a Divplate license key, which the setup prompt connects in one paste: https://divplate.com/docs/getting-started

Each item installs by its name:

    npx shadcn@4.21.4 add @divplate/<name>

The category's index, for choosing by description: https://divplate.com/r/registry-switch.json

- [Switch 01](https://divplate.com/library/components/controls/switch-01.md): Standalone switch: a stretched pill thumb in a rounded track. A real checkbox input, so it submits in a form and works without JavaScript.
- [Switch 02](https://divplate.com/library/components/controls/switch-02.md): Standalone switch with a round thumb in a narrower track. A real checkbox input, so it submits in a form and works without JavaScript.
- [Switch 03](https://divplate.com/library/components/controls/switch-03.md): Standalone switch with a rounded square thumb in a rounded track. A real checkbox input, so it submits in a form and works without JavaScript.
