Skip to content

CheckboxGroup

stable

Group of related checkboxes with shared label

Data EntryInteractive/Storybook ↗
import { CheckboxGroup } from "@danagraph/design-system"
Loading demo…

Props

label
Type stringDefault —

Group legend text

itemsrequired
Type CheckboxItem[]Default —

Array of { value, label, disabled? } items

valuerequired
Type string[]Default —

Currently checked values

onChangerequired
Type (value: string[]) => voidDefault —

Called with updated checked values

orientation
Type "vertical" | "horizontal"Default "vertical"

Layout direction

semantictypeborder
MobileTouch Target

Stack items vertically on mobile. Each row must have min 44px tap height including padding.

Design Rationale

This component was designed to express:

Explore Related

Was this helpful?