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

Components / Product

Tooltip — Implementation

Short supplementary hint

Context
Product
Content
source-derived
Availability
implemented
Verification
static-only 2026-11-18
Source revision
Lift 1.2.3 85b78e74e0fb…
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 TooltipProps in components/_types.d.ts.

proptypedefaultdoc
contentReact.ReactNode—
side"top" | "bottom" | "left" | "right"top
childrenReact.ReactNode—
styleReact.CSSProperties—

Code

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

jsx · import
import { Tooltip } from "./components/display/Tooltip.jsx";
jsx · Tooltip.prompt.md
<Tooltip content="Copy to clipboard"><IconButton label="Copy">…</IconButton></Tooltip>
tsx · Tooltip.prompt.md
// ✗ 기본값 그대로 쓴다. 바탕이 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