Checkbox Group
blode-ui/checkbox-groupFreeComponent
A grouped set of related checkboxes managed with shared state.
Install it
npx shadcn@latest add https://raw.githubusercontent.com/mblode/blode-ui/main/public/r/checkbox-group.jsonSource
1"use client";23import { CheckboxGroup as CheckboxGroupPrimitive } from "@base-ui/react/checkbox-group";4import type * as React from "react";56import { cn } from "@/lib/utils";78const CheckboxGroup = ({9 className,10 ...props11}: React.ComponentProps<typeof CheckboxGroupPrimitive>) => (12 <CheckboxGroupPrimitive13 className={cn("flex flex-col gap-3", className)}14 data-slot="checkbox-group"15 {...props}16 />17);1819const CheckboxGroupLabel = ({ className, ...props }: React.ComponentProps<"div">) => (20 <div21 className={cn("font-medium text-sm leading-none", className)}22 data-slot="checkbox-group-label"23 {...props}24 />25);2627export { CheckboxGroup, CheckboxGroupLabel };
What it pulls in
npm packages
Other registry items
Files it writes
More from blode/ui
All 85 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Accordionaccordion | blode/ui | Components | Free | 2 deps | |
| Alertalert | blode/ui | Components | Free | no deps | |
| Alert Dialogalert-dialog | blode/ui | Components | Free | 1 dep | |
| Ask User Questionsask-user-questions | blode/ui | Components | Free | 1 dep | |
| Aspect Ratioaspect-ratio | blode/ui | Components | Free | 1 dep | |
| Attachmentattachment | blode/ui | Components | Free | 1 dep | |
| Autocompleteautocomplete | blode/ui | Components | Free | 1 dep | |
| Avataravatar | blode/ui | Components | Free | 1 dep |
