# Upstage Design System — RadioGroup (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/radiogroup/ · machine doc: /agent/components/product/radiogroup.md
## Required references (read these)
- /components/forms/RadioGroup.jsx — implementation · sha256 01dd3a6daa3d…
- /components/_types.d.ts — api · key RadioGroupProps
- /components/forms/RadioGroup.prompt.md — usage-note · sha256 de5b7d5be37e…
- /kit/rules/a11y-contract.json — a11y · key RadioGroup
## API (components/_types.d.ts RadioGroupProps)
- name?: string
- options?: Array<string | RadioOption> (default [])
- value?: string
- defaultValue?: string
- onChange?: (value: string) => void
- label?: React.ReactNode
- description?: React.ReactNode
- orientation?: "vertical" | "horizontal" (default vertical)
- disabled?: boolean (default false)
- style?: React.CSSProperties
## Accessibility contract
- keys: ArrowUp, ArrowDown, ArrowLeft, ArrowRight, Space
- aria: role=radiogroup, role=radio, aria-checked
- notes: roving tabindex — 선택된 항목만 탭 순서에 있다
## 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 RadioGroupProps in components/_types.d.ts.
| prop | type | default | doc |
|---|---|---|---|
name | string | — | |
options | Array<string | RadioOption> | [] | |
value | string | — | |
defaultValue | string | — | |
onChange | (value: string) => void | — | |
label | React.ReactNode | — | |
description | React.ReactNode | — | |
orientation | "vertical" | "horizontal" | vertical | |
disabled | boolean | false | |
style | React.CSSProperties | — |
RadioOption
| field | type | default | doc |
|---|---|---|---|
value required | string | — | |
label | React.ReactNode | — | |
description | React.ReactNode | — | |
disabled | boolean | false |
Code
One import line plus the example code from the usage note.
import { RadioGroup } from "./components/forms/RadioGroup.jsx";<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
components/forms/RadioGroup.jsximplementation · sha256 01dd3a6daa3d…components/_types.d.tsapi · RadioGroupPropscomponents/forms/RadioGroup.prompt.mdusage-note · sha256 de5b7d5be37e…kit/rules/a11y-contract.jsona11y · RadioGroup