# Upstage Design System — Checkbox (product)
- context: product · group: forms
- source revision: lift-1.2.3 (Lift 1.2.3, zip sha256 8d5d9377c2b4…)
- status: content source-derived · availability implemented · verification static-only
- human docs: /en/components/product/checkbox/ · machine doc: /agent/components/product/checkbox.md
## Required references (read these)
- /components/forms/Checkbox.jsx — implementation · sha256 d33f017ab508…
- /components/_types.d.ts — api · key CheckboxProps
- /components/forms/Checkbox.prompt.md — usage-note · sha256 a16a35974e85…
- /kit/rules/a11y-contract.json — a11y · key Checkbox
## API (components/_types.d.ts CheckboxProps)
- checked?: boolean
- defaultChecked?: boolean (default false)
- onChange?: (checked: boolean) => void
- disabled?: boolean (default false)
- label?: React.ReactNode
- indeterminate?: boolean (default false) — 부분 선택 상태 — aria-checked="mixed"로 노출된다.
- describedBy?: string — 보조 설명 요소의 id (aria-describedby).
- style?: React.CSSProperties
## Accessibility contract
- keys: Space, Enter
- aria: role=checkbox, aria-checked(true|false|mixed), aria-labelledby, aria-disabled
## Unverified
- Browser behaviour is not verified here (static source check only).
Supported environment
The Lift 1.2.3 reference implementation is a React 18 function component with inline styles referencing Product tokens (hsl(var(--*))), so styles.product.css must be loaded. The mapping to an npm package could not be verified in this repository.
API
Copied from CheckboxProps in components/_types.d.ts.
| prop | type | default | doc |
|---|---|---|---|
checked | boolean | — | |
defaultChecked | boolean | false | |
onChange | (checked: boolean) => void | — | |
disabled | boolean | false | |
label | React.ReactNode | — | |
indeterminate | boolean | false | 부분 선택 상태 — aria-checked="mixed"로 노출된다. |
describedBy | string | — | 보조 설명 요소의 id (aria-describedby). |
style | React.CSSProperties | — |
Code
One import line plus the example code from the usage note.
import { Checkbox } from "./components/forms/Checkbox.jsx";<Checkbox defaultChecked label="Enable usage alerts" />Token bindings
Tokens the implementation references with var(). Names assembled at runtime (e.g. --state-${tone}-fg) are not listed.
--background, --border-medium, --disabled, --disabled-foreground, --font-sans, --foreground, --primary, --primary-foreground, --transition-colors
Source
components/forms/Checkbox.jsximplementation · sha256 d33f017ab508…components/_types.d.tsapi · CheckboxPropscomponents/forms/Checkbox.prompt.mdusage-note · sha256 a16a35974e85…kit/rules/a11y-contract.jsona11y · Checkbox