Checkbox
Checkbox component with animated checkmark, label support, and optional avatar display.Import
Props
Whether the checkbox is checked
Label text displayed next to checkbox
Secondary label text displayed below main label
Shows error state with red coloring
Custom height in pixels for the checkbox box
Custom width in pixels for the checkbox box
Position of checkbox relative to label
Shows avatar with first letter of label
Shape of the checkbox box
Callback fired when checkbox is clicked
Custom content to display instead of label
Usage
Notes
- Uses Lottie animation for checkmark appearance
- Supports both controlled and uncontrolled modes
- Error state changes colors to red variants
- Avatar displays first letter of label in uppercase
- Hover effect changes background color
- Active state includes scale-down animation