# Upstage Design System — Tooltip (product)
- context: product · group: display
- 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/tooltip/ · machine doc: /agent/components/product/tooltip.md
## Required references (read these)
- /components/display/Tooltip.jsx — implementation · sha256 85b78e74e0fb…
- /components/_types.d.ts — api · key TooltipProps
- /components/display/Tooltip.prompt.md — usage-note · sha256 e6d07440ae2e…
- /kit/rules/a11y-contract.json — a11y · key Tooltip
## API (components/_types.d.ts TooltipProps)
- content?: React.ReactNode
- side?: "top" | "bottom" | "left" | "right" (default top)
- children?: React.ReactNode
- style?: React.CSSProperties
## Accessibility contract
- keys: Escape
- aria: role=tooltip, aria-describedby
- notes: 포커스로도 열린다. 필수 정보를 툴팁에만 두지 않는다
## 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 TooltipProps in components/_types.d.ts.
| prop | type | default | doc |
|---|---|---|---|
content | React.ReactNode | — | |
side | "top" | "bottom" | "left" | "right" | top | |
children | React.ReactNode | — | |
style | React.CSSProperties | — |
Code
One import line plus the example code from the usage note.
import { Tooltip } from "./components/display/Tooltip.jsx";<Tooltip content="Copy to clipboard"><IconButton label="Copy">…</IconButton></Tooltip>// ✗ 기본값 그대로 쓴다. 바탕이 bg-primary(보라)다
<TooltipContent>Copy to clipboard</TooltipContent>
// ✓ 중립 토큰으로 덮는다
<TooltipContent className="bg-[hsl(var(--tooltip))] text-[hsl(var(--tooltip-foreground))]">Copy to clipboard</TooltipContent>Token bindings
Tokens the implementation references with var(). Names assembled at runtime (e.g. --state-${tone}-fg) are not listed.
--font-sans, --motion-overlay-in, --shadow-tooltip, --tooltip, --tooltip-foreground, --z-popover
Source
components/display/Tooltip.jsximplementation · sha256 85b78e74e0fb…components/_types.d.tsapi · TooltipPropscomponents/display/Tooltip.prompt.mdusage-note · sha256 e6d07440ae2e…kit/rules/a11y-contract.jsona11y · Tooltip