Skip to content

Button

A control that performs an action in place, such as submitting a form or opening a dialog, without changing the URL.

Maturity
beta
Links
Storybook · Figma: Button · Figma: Button icon · Spec source · Usage source

Variants

accent
neutral
transparent
danger
OptionUse when
accentThe one action a decision region exists for: form or dialog footer, hero. Brand fill.
neutral (default)Everyday and supporting actions, and the lead action in a card or other repeated item. Bordered.
transparentLow-weight actions inline with content ('Show more', Close) and a card's second action. No fill at rest.
dangerDestructive or irreversible actions (delete, deactivate), next to a neutral Cancel. Error fill.

Sizing

sm
md
lg
OptionUse when
smDense UI: table rows, inline actions, toolbars.
md (default)Most page contexts.
lgHero sections, prominent calls to action, touch-first flows.

Shape

square
round
OptionUse when
squareIcon-only actions in toolbars, table rows and inline groups. Small rounded corners.
roundFloating actions or controls next to an avatar. Circular.

Composition

Do

End a form or dialog with one accent Button for the decision and a neutral one to cancel.

Don't

Use accent on two Buttons in one region. Accent marks the one main decision.

Creative Acts for Curious People

Twelve hours of exercises for building a creative practice.

Do

In a card, use neutral for its main action and transparent for a secondary one.

Creative Acts

Creative Acts

Don't

Use accent inside repeated items. Every card would compete as the main action.

Do

Use danger for a decision that deletes or can't be undone, next to a neutral Cancel.

Twelve courses in this collection.

Don't

Use Button to go to another page. Anything that changes the URL is a TextLink.

Learn with a beginner's mind

Courses that build a creative practice, one week at a time.

Do

Give a hero or landing section one large accent Button for its main action.

Don't

Put an icon Button over an image: its glyph can vanish. Use CardVertical's overlay parts.

Every component follows ADR-025, ADR-026 and ADR-028(states, prop vocabulary, focus indicator); they are not repeated per component.