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

Components / Product

Button

Primary, secondary and destructive action button for Product screens. One primary per view (B-5).

Context
Product
Content
draft
Availability
implemented
Verification
static-only 2026-09-23 · lift-1.0.1
Source revision
Lift 1.2.3 8d5d9377c2b4…
Source language
KO · EN
Updated
2026-09-23
Loading preview…
components/actions/Button.jsx · Lift 1.2.3

The preview renders Lift’s real Button.jsx with the same runtime as the Console kit (React 18 UMD + Babel standalone from unpkg). Controls and the shown code update from one state. Open source in a new window ↗

What it solves

Shows what the user can do right now and which of those actions is primary. Use Button only for actions run by click or keyboard, not for links that navigate elsewhere.

Product-context action button; use `primary` once per view, `outline`/`ghost` for secondary actions (B-5). Button.prompt.md

Variants

variant sets emphasis, size sets density. The table below is read from the source file.

variantUseBase backgroundtokens
primaryThe view’s main action. One per viewhsl(var(--primary))--primary, --primary-active, --primary-foreground, --primary-hover
secondaryCompatibility alias for outline. Use outline or ghost for new secondary actions.transparent--border, --btn-outline-active, --btn-outline-border-hover, --btn-outline-hover, --foreground
destructiveDelete and other irreversible actionshsl(var(--destructive))--destructive, --destructive-active, --destructive-foreground, --destructive-hover
outlineSecondary action, e.g. Cancel beside a primarytransparent--border, --btn-outline-active, --btn-outline-border-hover, --btn-outline-hover, --foreground
ghostLowest emphasis, e.g. toolbar or table actionstransparent--btn-ghost-active, --btn-ghost-hover, --foreground
accentbrand-50 tint for selected or active-state actionshsl(var(--accent))--accent, --accent-active, --accent-border, --accent-foreground, --accent-hover

size

sizemin-heightpaddingfont-sizeradius
sm32px0 12px13px6px
md40px0 16px14px8px
lg48px0 20px16px8px

Values parsed at build time from components/actions/Button.jsx (Lift 1.2.3). disabled uses --disabled, --disabled-border, --disabled-foreground.

Similar items and how to choose

ItemWhen
IconButtonWhen only an icon fits. aria-label is required
링크 (a)Navigating to another page or document. If it navigates, it is a link even when styled like a button
Website .buttonThe upstage.ai CTA. Same name, different context and tokens

Source

File sha256 values are computed at build time and match /agent-manifest.json.