# Option components (https://divplate.com/library/components/controls/option)

Two alternatives, one picked

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-option.json

- [Option 01](https://divplate.com/library/components/controls/option-01.md): Segmented control: monthly and annual under a sliding thumb. Real radio inputs, so it needs no state and no JavaScript.
- [Option 02](https://divplate.com/library/components/controls/option-02.md): Segmented control: monthly and annual under a sliding thumb, with a chip on the annual option naming the saving. Real radio inputs, no JavaScript.
- [Option 03](https://divplate.com/library/components/controls/option-03.md): Segmented control: monthly and annual under a sliding thumb, with a line under it naming the saving. Real radio inputs, no JavaScript.
- [Option 04](https://divplate.com/library/components/controls/option-04.md): Switch between two labels, monthly on the left and annual on the right, the active one taking full contrast. A real checkbox, so it needs no JavaScript.
- [Option 05](https://divplate.com/library/components/controls/option-05.md): Switch between a monthly and an annual label, with a chip naming the saving that arrives with the annual side. A real checkbox, so it needs no JavaScript.
- [Option 06](https://divplate.com/library/components/controls/option-06.md): Switch between two labels, monthly on the left and annual on the right, with a line under it naming the saving. A real checkbox, no JavaScript.
