Checkbox
Click to check or uncheck, like making a choice on a quiz, simple and straightforward for quick decisions.
Basic
A checkbox is a small box you can tick to select an option. It’s either on or off.
Preview
Code
Installation
CLI
Manual
npx hq-kit add checkbox
Label Prop
You can add a label to the checkbox by passing the label
prop.
Description Prop
Add a description to the checkbox group by passing the description
prop.
Preview
Code
Invalid
The checkbox is in an error state.
Preview
Code
Enable notifications
Indeterminate
The checkbox is in an indeterminate state.
Preview
Code
Read
Controlled
You can control the checkbox value by using the value
prop.
Preview
Code
Receive Updates
Disabled
The checkbox is disabled.
Preview
Code
Enable notifications