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

Components / Product

RadioGroup — Implementation

Mutually exclusive choice

Context
Product
Content
source-derived
Availability
implemented
Verification
static-only 2026-11-18
Source revision
Lift 1.2.3 01dd3a6daa3d…
Source language
KO · 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 RadioGroupProps in components/_types.d.ts.

proptypedefaultdoc
namestring—
optionsArray<string | RadioOption>[]
valuestring—
defaultValuestring—
onChange(value: string) => void—
labelReact.ReactNode—
descriptionReact.ReactNode—
orientation"vertical" | "horizontal"vertical
disabledbooleanfalse
styleReact.CSSProperties—

RadioOption

fieldtypedefaultdoc
value requiredstring—
labelReact.ReactNode—
descriptionReact.ReactNode—
disabledbooleanfalse

Code

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

jsx · import
import { RadioGroup } from "./components/forms/RadioGroup.jsx";
jsx · RadioGroup.prompt.md
<RadioGroup label="배포 환경" defaultValue="prod"
  options={[{value:"prod",label:"Production",description:"실사용 트래픽"},{value:"stage",label:"Staging"}]}
  onChange={setEnv} />

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, --muted-foreground, --primary, --transition-colors

Source