Checkbox
A production-scale, light + dark Checkbox component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add checkboxLive preview available in the gallery.
Usage
import { Checkbox } from "@lerpa/ui";
<Checkbox />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| checked | boolean | — | |
| defaultChecked | boolean | — | |
| onCheckedChange | (checked: boolean) => void | — | |
| indeterminate | boolean | — | |
| label | React.ReactNode | — | |
| className | string | — | |
| wrapperClassName | string | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.