← Back to NEXORA case study

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.

81Design tokens
18UI components
4Patterns
AAWCAG 2.1 contrast
Clarity first

The most important number on a screen should be readable in under five seconds.

Data you can trust

Consistent formats, labelled units and clear time ranges on every metric.

Calm by default

Neutral surfaces; colour is reserved for meaning: brand, status and data.

Accessible to everyone

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

50#eef2ff
100#e0e7ff
200#c7d2fe
300#a5b4fc
400#818cf8
500#6366f1
600 ★#4f46e5
700#4338ca
800#3730a3

Neutrals · slate & navy

50#f8fafc
100#f1f5f9
200#e2e8f0
300#cbd5e1
400#94a3b8
500#64748b
600#475569
700#334155
900#0f172a

Semantic

--bgApp background
--surfaceCards, panels
--borderDividers
--textPrimary · 17.1:1
--text-2Secondary · 7.6:1
--text-mutedCaptions · 4.8:1

Status (text tone on its 50 background)

--good#047857 · Won, up
--warn#b45309 · At risk
--bad#b91c1c · Lost, down
--info#0369a1 · Neutral info

Data visualisation · use in this order

--c1Indigo #4f46e5
--c2Orange #eb6834
--c3Green #1baf7a
--c4Amber #eda100
--c5Pink #e87ba4

Typography

Plus Jakarta Sans for everything. Numbers use font-variant-numeric: tabular-nums so columns and KPIs line up.

--fs-kpi · 700$1,284,56024–28px
--fs-xl · 700Sales overview20–24px · page title
--fs-lg · 600Revenue trend18px · section title
--fs-md · 600Top performers16px · card title
--fs-base · 400Pipeline value grew across every region this quarter.14px · body, cells
--fs-sm · 500Monthly recurring revenue13px · labels
--fs-xs · 500vs. last 30 days12px · 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-10

Radius & 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.

--radius-sm6px · badges
--radius-md8px · buttons, inputs
--radius-lg12px · menus
--radius-xl16px · cards
--radius-fullpills, avatars
--shadow-xscards at rest
--shadow-smselected
--shadow-mdcard hover
--shadow-lgmenus, toasts
--ringfocus-visible

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

Default Hover Focus Disabled

Inputs & search

Always show a visible label. Help text sits below; errors replace help text and explain how to fix the problem.

SearchSearch deals, leads, reps…/
Deal value$ 48,000Focus · in USD, before tax
Close date31/02/2026Enter a real date, for example 28/02/2026.

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.

Won At risk Lost Negotiation New lead Draft
▲ 12.4% ▼ 3.1% Always followed by the comparison period, e.g. “vs. last month”.

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.

All 248Hot 36Warm 92Cold 120
7D30D90D12M
OverviewPipelineLeadsTeam

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.

Total revenue
$1.28M
▲ 12.4% vs. last 30 days
Deals won
342
▲ 8.2% vs. last 30 days
Avg. sales cycle
24 days
▼ 3.1% vs. last 30 days

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

MonthlyQuarterly
North AmericaEuropeAsia Pacific
$300k$200k$100k$0 JulAugSepOctNovDec

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 repRegionDealsRevenueStatusQuota
AKAisha KhanEnterpriseNorth America48$412,800On track
LMLucas MoreauMid-marketEurope39$298,450Steady
RTRiya ThomasSMBAsia Pacific27$186,020At 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.

Data refreshes every 15 minutesLast updated 10:42 AM.
3 deals have no next stepAdd a follow-up so they don’t stall.
Couldn’t load the pipelineCheck your connection and try again.
✓Report exported as CSV Undo

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.

Sidebar
256px
Top bar · page title · search · date range · export
Filters · chips & segmented control
KPI
KPI
KPI
KPI
Main chart · 8 cols
Breakdown · 4 cols
Data table · full width

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.

All regionsNorth AmericaEuropeAPAC
7D30D90D

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.

No deals yet

Deals you create or import will show here.

Loading · skeleton
Couldn’t load revenue

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.

KPI · Revenue $1.28M→Chart · revenue by region→Table · reps in Europe→Rep profile · Lucas Moreau

04 · Guidelines

Guidelines

Rules that keep NEXORA clear, consistent and accessible as it grows.

Accessibility (WCAG 2.1 AA)

✓ContrastText 4.5:1 minimum; large numbers and UI parts 3:1. All text tokens pass on white.
✓Never colour aloneStatus uses a word or dot; deltas use ▲/▼; chart series also differ by label or pattern.
✓KeyboardEvery action is reachable by Tab, with a visible --ring focus and logical order.
✓ChartsEach chart has a text summary (aria-label) and a table view of the same data.
✓TargetsInteractive elements are at least 24×24px; 40px for primary controls.
✓MotionAnimations respect “reduce motion”; --dur drops to 0s.

Numbers & dates

RuleDoDon’t
Currency in KPIs$1.28M$1,284,560.00
Currency in tables$412,800412800
Change▲ 12.4% vs. last 30 days+12.4
PercentagesOne decimal: 8.2%8.2391%
Dates12 Nov 202611/12/26
AlignmentNumbers right-aligned, tabular figuresCentred numbers

Charts

QuestionUseAvoid
Change over timeLine or area chartPie charts
Compare categoriesBar chart, sorted, starting at zero3D bars, truncated axes
Part of a wholeDonut with ≤ 5 slices + “Other”More than 5 slices
Funnel / stagesHorizontal bars in stage orderStacked pies
Single headlineKPI card with sparklineA 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.

See it in use

One system,
every screen.