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

Standalone switch: a stretched pill thumb in a rounded track. A real checkbox input, so it submits in a form and works without JavaScript.

- Category: [Switch](https://divplate.com/library/components/controls/switch.md)
- Full-page preview: https://divplate.com/preview/switch-01

## Install

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

    npx shadcn@4.21.4 add @divplate/switch-01

## Options

Takes no `as` — it owns no heading. The control is a real input and runs without JavaScript, so it submits inside a form as it stands. It renders no section of its own; place it inside yours.
