# Upstage Design System — Sidebar (product)

- context: product · group: navigation
- 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/sidebar/ · machine doc: /agent/components/product/sidebar.md

## Required references (read these)
- /components/navigation/Sidebar.jsx — implementation · sha256 d763f885de5e…
- /components/_types.d.ts — api · key SidebarProps
- /components/navigation/Sidebar.prompt.md — usage-note · sha256 993ba1539e7a…
- /kit/rules/a11y-contract.json — a11y · key Sidebar

## API (components/_types.d.ts SidebarProps)
- items?: Array<{ id: string; label: React.ReactNode; icon?: React.ReactNode; section?: string }> (default [])
- activeId?: string
- onSelect?: (id: string) => void
- header?: React.ReactNode
- footer?: React.ReactNode
- width?: number (default 232)
- ariaLabel?: string (default 섹션 내비게이션) — <nav>의 접근성 이름.
- style?: React.CSSProperties

## Accessibility contract
- keys: -
- aria: aria-label, aria-current=page

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

## Usage note (original, MIX)

Console left nav; neutral-50 rail, neutral-200 active pill, optional section headings.



접힌 레일의 아이콘에서 목록을 띄울 때는 `@upstageai/ui` Popover를 쓴다. 직접 만든 레이어와 바깥 클릭 감지로 만들지 않는다. 값과 동작은 [Popover](../overlays/Popover.prompt.md).

## Examples (from the usage note)

```jsx
<Sidebar
  header={<img src="assets/brand/upstage_lockup_black.svg" height="20" />}
  items={[{id:"keys", label:"API Keys", section:"Manage"}]}
  activeId="keys" onSelect={go}
/>
```
