# Upstage Design System — Nav (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: /en/components/product/nav/ · machine doc: /agent/components/product/nav.md
## Required references (read these)
- /components/navigation/Nav.jsx — implementation · sha256 0bc9736be421…
- /components/_types.d.ts — api · key NavProps
- /components/navigation/Nav.prompt.md — usage-note · sha256 f4cb34142044…
- /kit/rules/a11y-contract.json — a11y · key Nav
## API (components/_types.d.ts NavProps)
- variant?: "product" | "website" (default product)
- logoSrc?: string
- links?: Array<string | { id: string; label: React.ReactNode; href?: string }> (default [])
- activeLink?: string
- cta?: React.ReactNode
- right?: React.ReactNode
- ariaLabel?: string (default 주요 내비게이션) — <nav>의 접근성 이름. 한 페이지에 nav가 둘 이상이면 반드시 구분한다.
- style?: React.CSSProperties
## Accessibility contract
- keys: -
- aria: aria-label, aria-current=page
## Unverified
- Browser behaviour is not verified here (static source check only).
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 NavProps in components/_types.d.ts.
| prop | type | default | doc |
|---|---|---|---|
variant | "product" | "website" | product | |
logoSrc | string | — | |
links | Array<string | { id: string; label: React.ReactNode; href?: string }> | [] | |
activeLink | string | — | |
cta | React.ReactNode | — | |
right | React.ReactNode | — | |
ariaLabel | string | 주요 내비게이션 | <nav>의 접근성 이름. 한 페이지에 nav가 둘 이상이면 반드시 구분한다. |
style | React.CSSProperties | — |
Code
One import line plus the example code from the usage note.
import { Nav } from "./components/navigation/Nav.jsx";<Nav variant="website" logoSrc="assets/brand/upstage_lockup_white.svg"
links={["Products","Solutions","Pricing"]} cta={<a className="button is-small" data-ds-focus>Start free</a>} />Token bindings
Tokens the implementation references with var(). Names assembled at runtime (e.g. --state-${tone}-fg) are not listed.
--colors--white, --duration-fast, --font-sans, --muted-foreground, --nav-background, --nav-border, --nav-foreground, --nav-item-highlight, --surface-nav, --text-on-dark
Source
components/navigation/Nav.jsximplementation · sha256 0bc9736be421…components/_types.d.tsapi · NavPropscomponents/navigation/Nav.prompt.mdusage-note · sha256 f4cb34142044…kit/rules/a11y-contract.jsona11y · Nav