Checkbox
Allows users to select one or multiple options from a list. Commonly used in forms, filters, and settings panels.
Loading...
Installation
Usage
API
Checkbox Props
For CheckBox Component
| Attribute | Type | Description | Default |
|---|---|---|---|
| variant | "primary" | "dark" | "success" | "danger" | Controls the accent color of the checkbox. | "primary" |
| boxSize | "md" | "lg" | "xl" | Controls the size of the checkbox. | "md" |
| className | string | Additional CSS classes to customize the checkbox styling. | - |
Examples
Default
Dark
Success
Danger
Credits
This component is inspired by Rehman Kalawant Design Shared On Github.