# Upstage Design System — Modal (product)
- context: product · group: overlays
- 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/modal/ · machine doc: /agent/components/product/modal.md
## Required references (read these)
- /components/overlays/Modal.jsx — implementation · sha256 f59637afd452…
- /components/_types.d.ts — api · key ModalProps
- /components/overlays/Modal.prompt.md — usage-note · sha256 b4b22f468c75…
- /kit/rules/a11y-contract.json — a11y · key Modal
## API (components/_types.d.ts ModalProps)
- open?: boolean
- onClose?: () => void
- title?: React.ReactNode
- description?: React.ReactNode
- footer?: React.ReactNode
- size?: "sm" | "md" | "lg" (default md)
- children?: React.ReactNode
- style?: React.CSSProperties
## Accessibility contract
- keys: Tab(trap), Shift+Tab, Escape
- aria: role=dialog, aria-modal, aria-labelledby, aria-describedby
- notes: 포커스를 오프너로 복원, body 스크롤 잠금
## Unverified
- Browser behaviour is not verified here (static source check only).
What it is
Accessible modal dialog with focus trap and Esc-to-close. — _types.d.ts
Blocking dialog. Focus is trapped inside, Esc and backdrop click close it, and focus returns to the opener. One primary action in `footer`. — Modal.prompt.md
Options
Only props with a fixed set of values. Defaults are read from the component's function signature.
| prop | Values | default |
|---|---|---|
size | sm · md · lg | md |
Source
components/overlays/Modal.jsximplementation · sha256 f59637afd452…components/_types.d.tsapi · ModalPropscomponents/overlays/Modal.prompt.mdusage-note · sha256 b4b22f468c75…kit/rules/a11y-contract.jsona11y · Modal