# Upstage Design System — Dropdown (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: /ko/components/product/dropdown/ · machine doc: /agent/components/product/dropdown.md

## Required references (read these)
- /components/overlays/Dropdown.jsx — implementation · sha256 24dec9955319…
- /components/_types.d.ts — api · key DropdownProps
- /components/overlays/Dropdown.prompt.md — usage-note · sha256 7bdffb7ac827…
- /kit/rules/a11y-contract.json — a11y · key Dropdown

## API (components/_types.d.ts DropdownProps)
- trigger?: React.ReactNode
- items?: DropdownItem[] (default [])
- onSelect?: (id: string, item: DropdownItem) => void
- align?: "start" | "end" (default start)
- restoreFocus?: boolean (default true) — Restore trigger focus after selection; false when the consumer manages focus.
- style?: React.CSSProperties

## Accessibility contract
- keys: ArrowDown, ArrowUp, Home, End, Enter, Escape, Tab
- aria: aria-haspopup=menu, aria-expanded, role=menu, role=menuitem, role=separator

## Unverified
- Browser behaviour is not verified here (static source check only).

## Usage note (original, MIX)

Action menu on a trigger button. Arrow keys move, Enter selects, Esc closes. Use `separator: true` to group and `danger: true` for destructive items.



Not a form control — for a value bound to a form use Select.

disabled 항목에는 **이유를 붙인다** ("예시 모델 — 사용 권한 필요"). 이유 없는 비활성 항목은 고장으로 읽힌다. [DESIGN.microcopy.md](../../context/DESIGN.microcopy.md).

### 1.9.4 상태·접근성 계약


선택/Escape에서 트리거로 포커스 복귀. 소비자가 직접 관리하면 restoreFocus=false. Tab/외부 클릭에서는 강제 복귀하지 않는다. 메뉴 Escape는 바깥 Modal로 전파하지 않는다.

## Examples (from the usage note)

```jsx
<Dropdown trigger="solar-pro3" align="end"
  items={[{id:"pro3",label:"solar-pro3"},{id:"mini",label:"solar-mini"},{separator:true},{id:"stop",label:"배포 중단",danger:true}]}
  onSelect={id => setModel(id)} />
```
