Back to landing
Component Library · v1.0

Vault UI — Style Guide

All design tokens, components, and patterns used throughout Vault UI. Use this as a reference when customising or extending the template.

Colour tokens

All colours are CSS custom properties on :root. Override any token to retheme the entire UI.

Backgrounds
--bg0
#07080b · page
--bg1
#0a0b0f · topbar
--bg2
#0d0f14 · cards
--bg3
#111520 · inputs
--bg4
#161924 · subtle
--bg5
#1c2030 · raised
Brand accent
--accent
#00e5a0 · emerald
--accent-dim
10% alpha fills
:hover
#00ffa8 · hover state
Semantic
--red
#ff4d6a · danger
--yellow
#f5c542 · warning
--blue
#4d8cff · info
--purple
#9b7fff · alt
Text scale
--text0
#f0f2f8 · headings
--text1
#c0c8d8 · body
--text2
#8090a8 · secondary
--text3
#4a5568 · muted
--text4
#2d3445 · disabled
Asset brand colours
BTC
#f7931a · Bitcoin
ETH
#627eea · Ethereum
SOL
#9945ff · Solana
AVAX
#e84142 · Avalanche
LINK
#2a5ada · Chainlink
DOT
#e6007a · Polkadot

Typography

Syne (sans) for UI and headings. DM Mono for all numbers and data. Both via Google Fonts.

Display 800
36px Syne
$84,291.40
Heading 700
24px Syne
Portfolio Dashboard
Title 700
18px Syne
Asset Holdings
Body 500
13px Syne
Your portfolio is up 2.24% today. 3 positions in profit.
Label CAPS
10px Syne
Total Balance
Mono 500
22px DM Mono
+$1,842.00
Mono data
12px DM Mono
0x71C7656EC7ab88b098defB751B7401B5f6d8976A

Spacing scale

4px base unit. All padding, gap, and margin values use multiples of 4.

4px — icon gaps, tight rows
8px — badge padding, small gaps
12px — button padding
16px — card body, sidebar items
24px — page padding, section gaps
48px — section separators

Buttons

Four semantic variants, three sizes, icon support, and full-width mode.

Variants
Sizes
With icons

Badges

Status indicators, asset tags, and labels. Always uppercase. Optional leading dot for live/status context.

SuccessDangerWarningInfoNeutralPurple
Live
Offline
Pending
Pro plan 7 assets

Inputs & forms

All inputs use DM Mono for values. Focus ring uses --accent.

Default
Success
✓ Email verified
Error
✗ Enter a valid email
Select
Textarea
Segmented control

Cards

Stat card, content card, and wallet card variants.

Stat cards
Total Balance
$84,291
▲ +12.4% this month
Daily P&L
+$1,842
▲ +2.24% today
Win rate
68%
— last 30 trades
Content card
Holdings7 assets

Card body. Can contain any component — tables, charts, forms, or custom content.

Wallet card
Main wallet · BTC
0.57200 BTC
≈ $38,534.00
bc1q...4x8h4k · Ledger Nano X

Toggles

Binary on/off. Click any toggle below to test the transition.

Two-factor authentication
Required for withdrawals
Price alerts
Notify on target price
Marketing emails
News and updates

Alerts

Inline alerts for page-level feedback. Toasts auto-dismiss after 3.5s and stack from bottom-right.

Order executed
Bought 0.00741 BTC at $67,494 · fee $0.50
!
Insufficient balance
You need at least $500 USDT to place this order
KYC required
Complete verification to raise your limits
i
Market closed
This only affects equities — crypto is open 24/7

Avatars

Initials-based in four sizes. Group with negative left margin.

JD
JD
JD
JD
Avatar group
JD
AB
CK
+4

Asset rows

4-column grid with icon, name/ticker, price, 24H change, and value. Hover state included.

AssetPrice24HValue
Bitcoin
BTC
$67,420
▲ 3.21%
$38,534
Ξ
Ethereum
ETH
$3,840
▲ 1.87%
$22,157
Solana
SOL
$182.4
▼ 0.94%
$9,120

Transaction rows

Flex row with icon, label, time, and amount/USD pair.

Bought BTC
2h ago
0.012 BTC
+$808
Sold ETH
5h ago
1.5 ETH
-$5,760
Bought SOL
Yesterday
20 SOL
+$3,648

Pagination

30px fixed-width buttons. Active state uses accent fill on dark background.

Progress bars

Used in stat cards for visual ratios and in billing for subscription usage.

Portfolio growth72%
Win rate68%
Risk exposure44%
Drawdown limit88%

Empty states

Centred layout for lists and tables with no data.

📋
No open orders
You haven't placed any orders yet
📊
No transactions
Transaction history appears here

Misc components

Breadcrumbs
Tooltips (hover to reveal)
This is a tooltip
Pro plan
Access to all features
Data table
AssetEntryCurrentP/LStatus
Bitcoin$61,240$67,420+10.1%Open
Ethereum$3,920$3,840-2.04%Open
Solana$192.4$182.4-5.2%Review
Chainlink$16.20$18.40+13.6%Closed
Border radius scale
4
6
8
12
16
50%
VAULT UI
Component Library · v1.0