# Upstage Design System — Switch (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: /ko/components/product/switch/ · machine doc: /agent/components/product/switch.md
## Required references (read these)
- /components/forms/Switch.jsx — implementation · sha256 59fc087f3990…
- /components/_types.d.ts — api · key SwitchProps
- /components/forms/Switch.prompt.md — usage-note · sha256 3fca7568a4e7…
- /kit/rules/a11y-contract.json — a11y · key Switch
## API (components/_types.d.ts SwitchProps)
- checked?: boolean
- defaultChecked?: boolean (default false)
- onChange?: (checked: boolean) => void
- disabled?: boolean (default false)
- label?: React.ReactNode
- describedBy?: string — 보조 설명 요소의 id (aria-describedby).
- style?: React.CSSProperties
## Accessibility contract
- keys: Space, Enter
- aria: role=switch, aria-checked, aria-labelledby
## Unverified
- Browser behaviour is not verified here (static source check only).
무엇인가
Product switch. Space/Enter toggles; takes effect immediately (no Save). — _types.d.ts
Toggle switch for settings rows. — Switch.prompt.md
선택지
prop 계약에서 허용값이 정해진 것만 싣는다. 기본값은 구현 파일의 함수 인자에서 읽었다.
원본에 선택형 prop(variant·size·tone 등) 없음.
출처
components/forms/Switch.jsximplementation · sha256 59fc087f3990…components/_types.d.tsapi · SwitchPropscomponents/forms/Switch.prompt.mdusage-note · sha256 3fca7568a4e7…kit/rules/a11y-contract.jsona11y · Switch