AuroraDesign System
1.0
Components

Button

Four intents at two sizes. Buttons are rare in Aurora: most commitments use the hold button, so a plain button is for proposing, declining, or navigating.

Status
Stable
Variants
4

Overview

Primary, secondary, quiet and critical at 46px

Anatomy

  1. 1
    Container
    46px tall, the minimum comfortable touch target. 4px radius, the control radius. 1px border so every variant has the same outer size.
    --au-radius-sm
  2. 2
    Label
    13px sans, semibold. Centred on the cap band, not the ink, so buttons side by side share one baseline.
    font-size: 13px

Variants

VariantUse forNever for
primaryThe one forward action on a screen that isn’t a booking. Get started, Continue.More than one per view.
secondaryProposing or opening something. It has a visible edge because it’s an invitation.Committing to anything that costs money or time. Use the hold button.
quietDeclining, dismissing, going back. “Not today.”The action you want people to take.
criticalUndoing a real commitment: cancelling a booking.Warnings. Aurora explains, it doesn’t alarm.

States and sizes

md, 46px · sm, 36px · disabled

Hover lifts the border or fill one step. Press scales to 98.5% over 220ms, then glides back. Focus draws the mint ring. Disabled drops to the disabled ink on a plain hairline, and keeps its size so nothing shifts around it.

Usage

Do

Pair the commitment with a quiet way out. The quiet button is as tall as the hold, so the pair reads as one control.

Don’t

Don’t line up several filled buttons. When everything asks for attention, nothing gets it.

Writing

  • A verb, in sentence case. “Open trace”, not “Trace” or “OPEN TRACE”.
  • Say what happens, not how it feels. “Cancel booking”, not “Oops, never mind”.
  • Declines are gentle and final. “Not today” tells the system to stop asking.

Accessibility

  • A real button element, with type="button" by default so it never submits a form by accident.
  • Enter and Space activate it. Focus shows the mint ring, 3px out.
  • Disabled buttons stay in the tab order only when you pair them with a reason; otherwise use disabled and explain nearby.

Props

PropTypeDefaultDescription
variant'primary' | 'secondary' | 'quiet' | 'critical''secondary'The intent. See Variants.
size'md' | 'sm''md'46px for touch, 36px for dense desktop surfaces.
blockbooleanfalseFill the width of the container.
...restButtonHTMLAttributes—Any native button attribute, including onClick and disabled.

Tokens

TokenValueUsed for
--au-bg-inverse→ stone.50 · #EDEBE5Fills that have been committed, like a held button.
--au-bg-inverse-hover→ stone.200 · #C9C6BEInverse fills under a pointer.
--au-bg-raised-hover→ night.850 · #131418Raised surfaces under a pointer.
--au-border-strong→ night.700 · #2A2D33Hover, and controls that need a visible edge.
--au-border-hairline→ night.750 · #1E2024Default 1px structure.
--au-text-label→ stone.500 · #86847DUppercase labels. 5.3:1.
--au-text-critical→ ember.400 · #E58F80
--au-radius-sm4pxControls: buttons, inputs.
--au-light-focus→ aurora.mint · #7FD9C0Focus rings and selection.

Code

import { Button } from './aurora';

<Button variant="secondary" onClick={openTrace}>Open trace</Button>
<Button variant="quiet" onClick={decline}>Not today</Button>