Design System PreviewAffirm

Honest-money fintech in the dark — indigo #4a4af4 CTAs at near-pill 96px radius, light-weight white headlines, no fine print.

Light Dark
01 · Color Palette

Color Palette

bg
#13131f
bg-deep
#0c0c14
surface
#1c1c2b
surface-elev
#23233a
surface-light
#ffffff
surface-light-quiet
#f6f6fb
text
#101820
text-on-dark
#ffffff
text-on-dark-muted
rgba(255,255,255,0.72)
text-on-dark-subtle
rgba(255,255,255,0.55)
text-soft
#4a4a57
text-subdued
#6b6b78
brand
#4a4af4
brand-hover
#3a3ad6
brand-deep
#2e2eb0
brand-light
#7a7af7
brand-tint
#e6e6fe
brand-bg-hover
rgba(74,74,244,0.08)
brand-on-dark-tint
rgba(74,74,244,0.18)
on-brand
#ffffff
accent-mint
#7affc1
accent-sky
#9fd8ff
border
rgba(255,255,255,0.12)
border-strong
rgba(255,255,255,0.24)
02 · Typography Scale

Typography Scale

display 56px
Display headline
h1 40px
Large heading 1
h2 28px
Heading 2
h3 22px
Heading 3
body-lg 18px
Body large — primary reading paragraph for marketing surfaces.
body 16px
Body — standard reading paragraph at the system default.
body-sm 14px
Small body — captions and secondary copy.
label 11px
Label / mono uppercase
mono 13px
const greeting = "Hello world";
03 · Button Variants

Button Variants

04 · Card Examples

Card Examples

New

Online Payments

Accept cards, wallets, and bank debits. One integration, every method.

Beta

Revenue Recognition

Automate revenue accrual for subscriptions, usage, and one-time charges.

Pro

Platform Payments

Build marketplaces and platforms with built-in payouts and compliance.

05 · Form Elements

Form Elements

Submit
06 · Spacing Scale

Spacing Scale

xs · 4px
sm · 8px
md · 16px
lg · 24px
xl · 32px
2xl · 48px
3xl · 64px
4xl · 96px
07 · Border Radius

Border Radius

0
2
4
8
12
pill
08 · Elevation

Elevation

level 1
level 2
level 3
level 4