- Docs
- components
- Checkbox
Checkbox
A Checkbox allows users to select multiple items from a list of individual items, or to mark one individual item as selected.
Checkboxes can be built with the <input>
HTML element, but this can be difficult to style. Checkbox helps achieve accessible checkboxes that can be styled as needed.
Preview
Code
Loading...
Installation
CLI
Copy & Paste
NPM
PNPM
Bun
Yarn
npx shadcn@latest add https://jollyui.dev/default/checkbox
Examples
Basic
Preview
Code
Loading...
Value
Indeterminate
Preview
Code
Loading...
Validation
Preview
Code
Loading...
Disabled
Preview
Code
Loading...
Read-only
Preview
Code
Loading...