Design system

Veritas Library

One set of tokens for light and dark. The Veritas fraud and dispute centre runs on a small library built for one job: calm screens in a stressful moment. Every colour is a semantic token with a light and a dark value, and every screen in the latest build is assembled from the same 18 components.

Client
Veritas Banking
Role
Product Designer
Scope
Tokens, components, modes
Timeline
2026 · Shipped
Veritas components in use: an account card, a payment card, status chips, switches, one-time code cells, icons, option rows, alerts, stepper nodes, the tab bar, buttons, a list row and the customer care bar.

01 The problem

A style page that couldn't build a screen.

The first design system page held a logo, a row of colours and a few buttons. The colours were loose rectangles and most controls were plain frames, so nothing could switch modes or update in one place.

  • Colours named "Rectangle 2"
  • Three text styles for everything
  • A button called "Frame 11"
  • No dark mode

02 Foundations

Three foundations under every component.

Colour, type and icons come first. Every component uses them, so their names set the pattern for everything else.

Colour24 semantic colour variables, each with a light and dark value
Type9 text styles in Inter
Grid of utility icons: user, help, home, bank, card, cash, QR code, shield, alert, snowflake, block, headset, chevrons, check, receipt and more.
Icons30 icons, each named icon/name

03 Colour system

Every colour is named for its job.

A name says where a colour goes, never what it looks like. That's what lets one name hold two values.

  1. Roles are text, bg, border and status.
  2. Status colours come in pairs: status/danger-fg sits on status/danger-bg.
  3. The brand purple lightens in dark mode, from #930f9a to #a900ab, so it keeps its contrast.
  4. Red is reserved for bg/danger: irreversible actions and emergencies only.

04 Typography

One typeface, nine jobs.

Inter sets everything, from the account balance to the smallest caption. Each style is named for its job in the layout, so a developer never has to guess a size.

Text/displayInter Bold · 32 / 40
$1,406.23
Text/titleInter Bold · 24 / 32
Your card has been frozen
Text/headingInter Semi Bold · 20 / 28
What happens next
Text/subheadInter Semi Bold · 16 / 24
Debit Card & Credit Card
Text/body-lgInter Regular · 16 / 24
Tell us what happened. We'll help you lock everything down.
Text/bodyInter Regular · 14 / 20
We've received your dispute and started a review.
Text/labelInter Semi Bold · 14 / 20
Contact our 24 × 7 Customer Care
Text/captionInter Regular · 12 / 16
Case ID: VT-294817
Text/overlineInter Semi Bold · 12 / 16 · +0.6
VERITAS

05 Spacing, radius and elevation

A 4-point scale holds the layout together.

Eight spacing steps, four radii and one shadow. Cards use radius/lg, buttons and chips use radius/full, and only raised cards cast a shadow.

space-00
space-14
space-28
space-312
space-416
space-520
space-624
space-832
radius/md · 12
radius/lg · 16
radius/xl · 24
radius/full · 999
Elevation/1
two soft drop shadows

06 Components

18 components, each built from the tokens.

Button component variants in five types, three states and two sizes.

Button 30 variants · used 81 times

The main action control. Five types cover primary, secondary, tertiary, destructive and danger-outline actions.

TypeStateSize
PaymentCard component variants: active and frozen, large and compact.

PaymentCard 4 variants · used 6 times

The card itself. A frozen card turns grey and its chip changes, so the state shows at a glance.

StatusSize
Alert component variants: info, success, warning and danger.

Alert 4 variants · used 18 times

An inline note with an icon and a coloured edge. Used for warnings like "the card cannot be unblocked".

Status
Chip component variants for five statuses.

Chip 5 variants · used 13 times

A small status label for cases, cards and trackers. Each status pairs a fg and a bg token.

Status
OptionRow component, selected and unselected.

OptionRow 2 variants · used 25 times

A radio row for every "How can we help?" question in the app.

Selected
TabBar component with each of its five tabs active.

TabBar 5 variants · used 50 times

Bottom navigation built from five TabItems. The variant sets the active tab.

Active
OTPCell component: empty, active and filled.

OTPCell 3 variants · used 16 times

One digit of the 8-digit one-time code, with empty, active and filled states.

State
StepperNode component: done, current and upcoming.

StepperNode 3 variants · used 13 times

One node in the case tracker: done, current or upcoming.

State
Switch component: off, on and disabled.

Switch 3 variants · used 3 times

An on/off control for card settings, with a disabled state.

State
SupportBar component: Contact our 24 x 7 Customer Care.

SupportBar 1 component · used 39 times

The "Contact our 24 × 7 Customer Care" button that closes every screen.

ListRow component with an icon, a title and a chevron.

ListRow 1 component · used 38 times

A tappable row with an icon, a title and a chevron. The Fraud hub is built from three.

AccountCard component with the hero gradient.

AccountCard 1 component · used once

The home screen account card, using the hero gradient tokens.

07 Interaction states

Every state is a named variant.

Button has one State property with three values. With five types and two sizes, that's 30 variants, and each one maps straight to a prop.

Button component in five types (primary, secondary, tertiary, destructive, danger outline), three states (default, pressed, disabled) and two sizes.

08 Modes

The same screen in both modes.

Both screens use the same components and the same token names. Switching the variable mode is the only change.

Veritas home screen in light mode: purple account card, quick action tiles and recent activity with a flagged casino charge.
Light · color/bg/canvas #f7f6f8
The same Veritas home screen in dark mode, with a near-black canvas and a brighter purple.
Dark · color/bg/canvas #151317

09 Naming for developers

From canvas leftovers to code names.

Each row compares a layer on the first style page with its counterpart in the library.

KindBeforeAfterRule
ColourRectangle 2color/bg/brandNamed for the job, not the shape
Text styleSubtextText/captionOne style per job in the layout
Text styleHeadingText/heading · Text/title · Text/displayA clear step for each heading level
ComponentFrame 11SupportBarPascalCase, like a code component
ComponentFrame 2TabItem · Active=TrueState lives in a variant property
ComponentFrame 1IconButtonSays what it is
IconVectoricon/homeOne icon/ set, named by meaning

10 The system in numbers

A small library that builds every screen.

The latest version of the app is assembled entirely from library instances.

18
components, from Button to PaymentCard, each with named variant properties
453
component instances across the latest screens
50
screens built from the library, in six flows
24
semantic colour variables, each with a light and dark value
9
text styles in Inter, from display to overline
2
modes, switched with one variable change

11 Built to grow

A library that scales without new rules.

I

New flows from existing parts

The latest build added chat, call-back booking and a digital replacement card. Each one was built from the same components, with no new styles.

II

Modes without new names

Every colour is a semantic variable, so a high-contrast mode can be added as a third set of values.

III

Ready for code

Token names match CSS custom properties (--color-bg-brand, --space-4), so the handoff is a lookup, not a translation.