AuroraDesign System
1.0
Components

Suggestion card

One proposal for one gap. The reason comes first, in the serif; the thing comes second; the evidence and the commitment are one tap away. A card never appears outside a gap.

Status
Stable
Per gap
1

Overview

Fund review
Call, 90 minutes
Three hours
Calendar
Clear 11.00 to 14.00, no travel either side
Health
Recovery 31%, three nights under five hours
Pattern
You book recovery after long-hauls, eight times in nine
Access
Held for you until 10.30
The whole flow: open, hold to confirm, watch it morph. Or push it left.

Anatomy

Calendar
Clear 11.00 to 14.00, no travel either side
Health
Recovery 31%, three nights under five hours
  1. 1
    Reason
    Why this, why now, why you. Serif, tertiary ink, always first, separated by a hairline.
    .au-type-voice-s
  2. 2
    Proposal
    The thing itself, specific enough to act on. Serif in bone.
    .au-type-title-s
  3. 3
    Detail
    Where, how far, what it costs you. Sans in label grey.
    .au-type-body-s
  4. 4
    Reasoning trace
    The evidence, revealed to a measured height when the card opens.
    ReasoningTrace
  5. 5
    Commit
    A hold button. Booking is never a single tap.
    HoldButton
  6. 6
    Decline
    Quiet, and final: Aurora won’t raise it again.
    Button variant='quiet'

Behaviour

  • Open. Tap the card. The trace glides open to its measured height over 600ms; signals stagger in 60ms apart; the actions arrive last.
  • Commit. Hold. The gap’s beam charges while you do. When the hold completes, the card morphs into the work Aurora is doing.
  • Leave it open. Push the card left. Past 84px it slides away and the gap says it will stay open. “Not today” does the same without a gesture.

Usage

Sarah lands at six. It’s been twenty-seven days.
Tanaka’s counter, eight o’clock.
Do

Lead with a reason about the person: their day, their history, a real window.

ONLY 2 LEFT!
Tanaka’s counter, eight o’clock.
Trending in London
Don’t

Don’t lead with the product, and don’t use urgency. The reason is the whole argument for trust.

Accessibility

  • The summary is a button with aria-expanded and aria-controls. Actions sit outside it, so there are no buttons nested in buttons.
  • Closed means inert. The trace and its actions can’t be reached until the card is open.
  • Swipe has a button. “Not today” is the keyboard and screen-reader path for leaving the gap open.

Props

PropTypeDefaultDescription
because*string—Why this, why now. One sentence.
what*string—The proposal.
detailstring—Where, how far, what it costs.
signals*{ key: string; value: string }[]—Three to five pieces of evidence.
onConfirm() => void—Called when the hold completes.
onDecline() => void—Called on Not today or a swipe past 84px.
onChargeChange(charging: boolean) => void—Pass the gap’s setter so its light charges with the hold.
defaultOpenbooleanfalseStart with the trace open.
swipeablebooleantrueAllow pushing the card aside.
declineLabelstring'Not today'Label for the quiet button.

Tokens

TokenValueUsed for
--au-bg-raised→ night.900 · #0E0F11Cards and controls at rest.
--au-bg-raised-hover→ night.850 · #131418Raised surfaces under a pointer.
--au-border-hairline→ night.750 · #1E2024Default 1px structure.
--au-border-strong→ night.700 · #2A2D33Hover, and controls that need a visible edge.
--au-radius-md6pxContainers: cards, panels.
.au-type-voice-sThe reason. Always serif, always first.
.au-type-title-sThe thing being proposed.
--au-dur-glide600ms

Code

<Gap time="19.30" span="Evening" state={charging ? 'charging' : 'idle'}>
  <Morph contentKey={phase}>
    {phase === 'offer' ? (
      <SuggestionCard
        because="Sarah lands from Milan at six. You haven’t had dinner together since the third."
        what="Two seats at Tanaka’s counter, eight o’clock."
        detail="Released twenty minutes ago."
        signals={signals}
        onChargeChange={setCharging}
        onConfirm={() => setPhase('working')}
        onDecline={() => setPhase('declined')}
      />
    ) : (
      <ExecutionSteps steps={['Counter held for two', 'Car at 19.40', 'Sarah sent the time']} />
    )}
  </Morph>
</Gap>