LiftDesign System
Beta
한국어 Get started
  1. Components
  2. Product
  3. Sidebar

Components / Product

Sidebar — Implementation

Left section navigation

Context
Product
Content
source-derived
Availability
implemented
Verification
static-only 2026-11-18
Source revision
Lift 1.2.3 d763f885de5e…
Source language
KO·EN · not translated

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 SidebarProps in components/_types.d.ts.

proptypedefaultdoc
itemsArray<{ id: string; label: React.ReactNode; icon?: React.ReactNode; section?: string }>[]
activeIdstring—
onSelect(id: string) => void—
headerReact.ReactNode—
footerReact.ReactNode—
widthnumber232
ariaLabelstring섹션 내비게이션<nav>의 접근성 이름.
styleReact.CSSProperties—

Code

One import line plus the example code from the usage note.

jsx · import
import { Sidebar } from "./components/navigation/Sidebar.jsx";
jsx · Sidebar.prompt.md
<Sidebar
  header={<img src="assets/brand/upstage_lockup_black.svg" height="20" />}
  items={[{id:"keys", label:"API Keys", section:"Manage"}]}
  activeId="keys" onSelect={go}
/>

Token bindings

Tokens the implementation references with var(). Names assembled at runtime (e.g. --state-${tone}-fg) are not listed.

--duration-fast, --font-sans, --foreground, --muted-foreground, --sidebar-background, --sidebar-border, --sidebar-foreground, --sidebar-item-highlight

Source