Checkbox
A control that allows the user to toggle between checked and not checked.
Made by imskyleenInstallation
Usage
API Reference
Checkbox
Prop | Type | Default |
---|---|---|
variant? | "default" | "accent" | - |
size? | "default" | "sm" | "lg" | - |
...props? | HTMLMotionProps<"button"> | - |
The asChild
prop is not supported in the Checkbox
component as it is used
for animation.
Credits
- Radix UI Checkbox
- Credit to shadcn/ui for style inspiration.