Checkbox
A tick box with an animated mark, an indeterminate state and three sizes.
Usageimport { Checkbox } from "./Checkbox";
1import { Checkbox } from "./Checkbox";2 3<Checkbox />Copy the source with the toolbar’s copy button — or open the Code pane to select it by hand — then paste the file into your project. It is self-contained, with no registry metadata and no dependencies (Tailwind classes required).
Props
| Prop | Type | Default |
|---|---|---|
| label | string | Email me release notes |
| defaultChecked | boolean | true |
| indeterminate | boolean | false |
| size | sm | md | lg | md |
| disabled | boolean | false |