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

Components / Product

IconButton — Implementation

Icon-only action. aria-label required

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

proptypedefaultdoc
size"sm" | "md" | "lg"md
variant"ghost" | "outline" | "primary"ghost
disabledbooleanfalse
label requiredstring—Accessible label (aria-label + title) — 필수: 아이콘만 있는 버튼의 접근성 이름
childrenReact.ReactNode—
styleReact.CSSProperties—

Other props pass through from Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "size">.

Code

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

jsx · import
import { IconButton } from "./components/actions/IconButton.jsx";
jsx · IconButton.prompt.md
<IconButton label="Copy key" variant="outline"><CopyIcon /></IconButton>

Token bindings

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

--border, --disabled, --disabled-foreground, --duration-fast, --foreground, --muted, --muted-dark, --primary, --primary-foreground, --primary-hover, --subtle

Source