LiftDesign System
Beta
한국어 Get started
  1. Components
  2. Product
  3. Checkbox

Components / Product

Checkbox — Implementation

Multiple selection

Context
Product
Content
source-derived
Availability
implemented
Verification
static-only 2026-11-18
Source revision
Lift 1.2.3 d33f017ab508…
Source language
EN · not translated

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.

proptypedefaultdoc
checkedboolean—
defaultCheckedbooleanfalse
onChange(checked: boolean) => void—
disabledbooleanfalse
labelReact.ReactNode—
indeterminatebooleanfalse부분 선택 상태 — aria-checked="mixed"로 노출된다.
describedBystring—보조 설명 요소의 id (aria-describedby).
styleReact.CSSProperties—

Code

One import line plus the example code from the usage note.

jsx · import
import { Checkbox } from "./components/forms/Checkbox.jsx";
jsx · Checkbox.prompt.md
<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