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

Segmented control: monthly and annual under a sliding thumb. Real radio inputs, so it needs no state and no JavaScript.

- Category: [Option](https://divplate.com/library/components/controls/option.md)
- Full-page preview: https://divplate.com/preview/option-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/option-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.
