CheckboxList — Select All With Indeterminate
- from @astryx
- by Astryx
A "select all" toggle at the top of a checkbox list that switches to an indeterminate dash when only some items are checked, useful for bulk actions like exporting documents or assigning permissions where users often want everything at once.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @astryx/example-checkbox-list-select-all-with-indeterminateRegistry dependencies0
The CLI adds no other registry items with this one.
