Whisper Money design system

Foundations

Rules

Color tokens

Rules
--background
--foreground
--card
--popover
--primary
--primary-foreground
--secondary
--muted
--muted-foreground
--accent
--border
--input
--ring
--success
--warning
--warning-foreground
--destructive
--destructive-foreground
--sidebar
--streak-fill
--streak-border
--streak-track
--streak-from
--streak-to
--streak-ink

Chart palettes

Rules
neutral
--chart-1 … --chart-10
  • --chart-account-line
  • --chart-account-gain
  • --chart-mortgage
  • --chart-equity
  • --chart-income
  • --chart-expense
  • --chart-liability
categoryChartColor()
colorful
--chart-1 … --chart-10
  • --chart-account-line
  • --chart-account-gain
  • --chart-mortgage
  • --chart-equity
  • --chart-income
  • --chart-expense
  • --chart-liability
categoryChartColor()
blue
--chart-1 … --chart-10
  • --chart-account-line
  • --chart-account-gain
  • --chart-mortgage
  • --chart-equity
  • --chart-income
  • --chart-expense
  • --chart-liability
categoryChartColor()
pink
--chart-1 … --chart-10
  • --chart-account-line
  • --chart-account-gain
  • --chart-mortgage
  • --chart-equity
  • --chart-income
  • --chart-expense
  • --chart-liability
categoryChartColor()

Typography

Rules
Your money, your data
font-sans · IBM Plex Sans
Your money, your data
font-mono · Google Sans Code
1.234,56 €
text-xs
1.234,56 €
text-sm
1.234,56 €
text-base
1.234,56 €
text-lg
1.234,56 €
text-xl
1.234,56 €
text-2xl
1.234,56 €
text-3xl
1.234,56 €
text-4xl

Radius

Rules
rounded-sm
rounded-md
rounded-lg
rounded-xl

Shadows

Rules
shadow-xs
shadow-sm
shadow-md
shadow-lg

Page width

Rules
max-w-page · 80rem

Primitives

Rules

Buttons

Rules
default
secondary
outline
ghost
link
destructive
size=sm
size=default
size=lg
size=icon
CreateButton
Kbd in a button
ButtonGroup
disabled

Badges

Rules
Groceries
default
Groceries
secondary
Groceries
outline
Groceries
destructive
Groceries
success
Groceries
warning

Alerts

Rules

Cards

Rules
Monthly budget
Groceries · November

Form controls

Rules
€
Groceries

Feedback

Rules
Progress
Skeleton
Spinner
KbdGroup
AiSparkleIcon
WM
Avatar
AnimatedCollapse

Overlays

Rules

Finance patterns

Rules

Amounts

Rules
+€2,450.00
income · text-success, showSign
-€86.42
expense · foreground
€12,345.67
variant=large
$999.00
variant=compact · USD
¥128,000
monospace · JPY

Still to share out: €42.50

useFormatAmount() · a string, masked too

Trend indicators

Rules
+12.4%vs last month
PercentageTrendIndicator · favourable
+8.1%spending
PercentageTrendIndicator · invertColors
€420.00this month
AmountTrendIndicator

Stat tiles

Rules

Brokerage

€124,500.00
€228.15vs last month
+12.4% of invested
size=lg · value, trend, description

Savings rate

18.2%
-3.1%vs last month
size=lg · percentage, unfavourable trend

Income

+€5,116.00

Expenses

-€3,913.50

Saved

23%
€1,202.50
size=sm · a row of figures in a card

Available

€1,982.50

Free

€840.00
€1,142.50 reserved
variant=muted · a grid of tiles
StatTileSkeleton · sm, md, lg withTrend

Charts

Rules
StackedBarChart
StackedAreaChart

Page patterns

Rules

Headings

Rules

Accounts

View and manage your bank accounts

PageHeader
S

Savings account

Sabadell · SavingsArchived
PageHeader with media and meta

Delete account

Delete your account and all of its data

HeadingSmall

Empty states

Rules
This dashboard is empty
Add the widgets you want to see here, then drag them into place.
EmptyState: page, with icon, title and action
Nothing here yet. Updates about your money show up here as they happen.
EmptyState: page, one line
Top spending categories
No spending data this month
EmptyState size="inline", in a Card
No transactions
Nothing matches the current filters.
EmptyState size="inline", title and icon tile

Skeletons

Rules

Forms

Rules

The email field must be a valid email address.

Adaptive popover

Rules