The most important number on a screen should be readable in under five seconds.
DESIGN SYSTEM · v1.0 · NEXORA SALES DASHBOARD
NEXORA
Design System
The tokens, components, patterns and guidelines behind the NEXORA sales dashboard, so every screen looks, reads and behaves the same, and new screens are quick to build.
Consistent formats, labelled units and clear time ranges on every metric.
Neutral surfaces; colour is reserved for meaning: brand, status and data.
AA contrast, keyboard paths and never colour alone to carry meaning.
01 · Design tokens
Foundations
Tokens are named design decisions. Components use only tokens, never raw values, so a change in one place updates the whole product.
Colour
An indigo brand ramp, slate neutrals, four status colours and a five-colour data palette. Use semantic tokens (like --text-2) in components, not the raw ramp.
Brand · primary
Neutrals · slate & navy
Semantic
Status (text tone on its 50 background)
Data visualisation · use in this order
Typography
Plus Jakarta Sans for everything. Numbers use font-variant-numeric: tabular-nums so columns and KPIs line up.
| --fs-kpi · 700 | $1,284,560 | 24–28px |
| --fs-xl · 700 | Sales overview | 20–24px · page title |
| --fs-lg · 600 | Revenue trend | 18px · section title |
| --fs-md · 600 | Top performers | 16px · card title |
| --fs-base · 400 | Pipeline value grew across every region this quarter. | 14px · body, cells |
| --fs-sm · 500 | Monthly recurring revenue | 13px · labels |
| --fs-xs · 500 | vs. last 30 days | 12px · captions |
Spacing
A 4px base scale. Inside components use 8–16px; between cards use 20–24px; between page sections use 32–40px.
--space-1--space-2--space-3--space-4--space-5--space-6--space-8--space-10Radius & elevation
Bigger surfaces get bigger corners. Shadows stay soft; most cards only need --shadow-xs, and --shadow-lg is for floating layers like menus and toasts.
Using tokens
Import nexora-tokens.css once, then reference tokens in every component. Motion uses --dur and --ease, and drops to 0s when the user prefers reduced motion.
/* Component built only from tokens */ .kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-6); box-shadow: var(--shadow-xs); transition: box-shadow var(--dur) var(--ease); } .kpi__value { font-size: var(--fs-kpi); font-weight: var(--fw-bold); }
02 · UI components
Components
Live examples, built only from the tokens above. Each shows its main variants and states.
Buttons
One primary action per view. Secondary for alternatives, ghost for low-emphasis actions inside cards, danger only for destructive actions. Height 40px (32px small), never smaller than a 24px touch target.
Variants
States · primary
Inputs & search
Always show a visible label. Help text sits below; errors replace help text and explain how to fix the problem.
Badges & deltas
Badges label a status; deltas show change over time. Both pair colour with a dot, arrow or word, so meaning never relies on colour alone.
Chips, tabs & segmented control
Chips filter a list (several can be on). Segmented controls switch a time range or view (one at a time). Tabs switch between sections of the same page.
KPI card
Label → value → trend. One metric per card, a 3px colour bar for its category, a sparkline for shape, and the comparison period in the footer.
Chart card
Title and subtitle say what and when; the legend sits above the plot; axes start at zero for bars; gridlines stay light.
Revenue by region
Last 6 months · USD
Data table
Text left, numbers right in tabular figures, status as a badge. Header row is quiet and uppercase; rows highlight on hover; wide tables scroll inside their card, never the page.
| Sales rep | Region | Deals | Revenue | Status | Quota |
|---|---|---|---|---|---|
| AKAisha KhanEnterprise | North America | 48 | $412,800 | On track | |
| LMLucas MoreauMid-market | Europe | 39 | $298,450 | Steady | |
| RTRiya ThomasSMB | Asia Pacific | 27 | $186,020 | At risk |
Alerts & toasts
Alerts sit inline and stay until resolved. Toasts confirm an action, appear bottom-right for about 5 seconds, and offer an undo when possible.
03 · Patterns
Patterns
How components come together to solve recurring dashboard problems.
Dashboard layout
Read top to bottom like a story: where am I → what’s the headline → why → what to do. A 12-column grid with 20–24px gutters; the sidebar collapses to icons below 1200px and becomes a drawer below 768px.
256px
Filtering & date range
Filters live in one row above the content they affect. The active date range is always visible in the page header, and every KPI and chart on the page follows it.
Show a “Clear filters” action as soon as any filter is on, and keep the result count visible.
Empty, loading & error states
Every data card has all three. Skeletons match the final layout so nothing jumps when data arrives.
Deals you create or import will show here.
Something went wrong on our side. Your data is safe.
Drill-down
Every summary number leads to the detail behind it, in at most two clicks, with a breadcrumb back.
04 · Guidelines
Guidelines
Rules that keep NEXORA clear, consistent and accessible as it grows.
Accessibility (WCAG 2.1 AA)
--ring focus and logical order.--dur drops to 0s.Numbers & dates
| Rule | Do | Don’t |
|---|---|---|
| Currency in KPIs | $1.28M | $1,284,560.00 |
| Currency in tables | $412,800 | 412800 |
| Change | ▲ 12.4% vs. last 30 days | +12.4 |
| Percentages | One decimal: 8.2% | 8.2391% |
| Dates | 12 Nov 2026 | 11/12/26 |
| Alignment | Numbers right-aligned, tabular figures | Centred numbers |
Charts
| Question | Use | Avoid |
|---|---|---|
| Change over time | Line or area chart | Pie charts |
| Compare categories | Bar chart, sorted, starting at zero | 3D bars, truncated axes |
| Part of a whole | Donut with ≤ 5 slices + “Other” | More than 5 slices |
| Funnel / stages | Horizontal bars in stage order | Stacked pies |
| Single headline | KPI card with sparkline | A chart with one data point |
Writing
Short, plain and specific. Titles say what the data is (“Revenue by region”), not what to feel. Empty states explain what will appear and how to start. Errors say what happened and what to do next, without blame.
Do’s & don’ts
✓ Do
- Use semantic tokens (
--text-2), not raw hex values. - Keep one primary button per view.
- Show the time range next to every metric.
- Reserve colour for brand, status and data.
- Design empty, loading and error states for every card.
✕ Don’t
- Invent new colours or spacing outside the token scale.
- Use red and green as the only difference between values.
- Put more than 4 KPIs in a row or 5 slices in a donut.
- Centre-align numbers or mix decimal places in a column.
- Let wide tables scroll the whole page sideways.