# Upstage Design System — IconButton (product)
- context: product · group: actions
- 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/iconbutton/ · machine doc: /agent/components/product/iconbutton.md
## Required references (read these)
- /components/actions/IconButton.jsx — implementation · sha256 28b737d4a8e4…
- /components/_types.d.ts — api · key IconButtonProps
- /components/actions/IconButton.prompt.md — usage-note · sha256 0d8e721481d1…
- /kit/rules/a11y-contract.json — a11y · key IconButton
## API (components/_types.d.ts IconButtonProps)
- size?: "sm" | "md" | "lg" (default md)
- variant?: "ghost" | "outline" | "primary" (default ghost)
- disabled?: boolean (default false)
- label: string — Accessible label (aria-label + title) — 필수: 아이콘만 있는 버튼의 접근성 이름
- children?: React.ReactNode
- style?: React.CSSProperties
- extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "size"> (other props pass through)
## Accessibility contract
- keys: -
- aria: aria-label(필수), aria-disabled
## 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 IconButtonProps in components/_types.d.ts.
| prop | type | default | doc |
|---|---|---|---|
size | "sm" | "md" | "lg" | md | |
variant | "ghost" | "outline" | "primary" | ghost | |
disabled | boolean | false | |
label required | string | — | Accessible label (aria-label + title) — 필수: 아이콘만 있는 버튼의 접근성 이름 |
children | React.ReactNode | — | |
style | React.CSSProperties | — |
Other props pass through from Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "size">.
Code
One import line plus the example code from the usage note.
import { IconButton } from "./components/actions/IconButton.jsx";<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
components/actions/IconButton.jsximplementation · sha256 28b737d4a8e4…components/_types.d.tsapi · IconButtonPropscomponents/actions/IconButton.prompt.mdusage-note · sha256 0d8e721481d1…kit/rules/a11y-contract.jsona11y · IconButton