
Button 30 variants · used 81 times
The main action control. Five types cover primary, secondary, tertiary, destructive and danger-outline actions.
TypeStateSizeDesign system
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.
01 The problem
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.
02 Foundations
Colour, type and icons come first. Every component uses them, so their names set the pattern for everything else.
icon/name03 Colour system
A name says where a colour goes, never what it looks like. That's what lets one name hold two values.
text, bg, border and status.status/danger-fg sits on status/danger-bg.#930f9a to #a900ab, so it keeps its contrast.bg/danger: irreversible actions and emergencies only.04 Typography
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.
05 Spacing, radius and elevation
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-00space-14space-28space-312space-416space-520space-624space-83206 Components

Button 30 variants · used 81 timesThe main action control. Five types cover primary, secondary, tertiary, destructive and danger-outline actions.
TypeStateSize
PaymentCard 4 variants · used 6 timesThe card itself. A frozen card turns grey and its chip changes, so the state shows at a glance.
StatusSize
Alert 4 variants · used 18 timesAn inline note with an icon and a coloured edge. Used for warnings like "the card cannot be unblocked".
StatusChip 5 variants · used 13 timesA small status label for cases, cards and trackers. Each status pairs a fg and a bg token.
Status
OptionRow 2 variants · used 25 timesA radio row for every "How can we help?" question in the app.
Selected
TabBar 5 variants · used 50 timesBottom navigation built from five TabItems. The variant sets the active tab.
Active
OTPCell 3 variants · used 16 timesOne digit of the 8-digit one-time code, with empty, active and filled states.
StateStepperNode 3 variants · used 13 timesOne node in the case tracker: done, current or upcoming.
StateSwitch 3 variants · used 3 timesAn on/off control for card settings, with a disabled state.
State
SupportBar 1 component · used 39 timesThe "Contact our 24 × 7 Customer Care" button that closes every screen.

ListRow 1 component · used 38 timesA tappable row with an icon, a title and a chevron. The Fraud hub is built from three.

AccountCard 1 component · used onceThe home screen account card, using the hero gradient tokens.
07 Interaction states
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.

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


09 Naming for developers
Each row compares a layer on the first style page with its counterpart in the library.
| Kind | Before | After | Rule |
|---|---|---|---|
| Colour | color/bg/brand | Named for the job, not the shape | |
| Text style | Text/caption | One style per job in the layout | |
| Text style | Text/heading · Text/title · Text/display | A clear step for each heading level | |
| Component | SupportBar | PascalCase, like a code component | |
| Component | TabItem · Active=True | State lives in a variant property | |
| Component | IconButton | Says what it is | |
| Icon | icon/home | One icon/ set, named by meaning |
10 The system in numbers
The latest version of the app is assembled entirely from library instances.
11 Built to grow
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.
Every colour is a semantic variable, so a high-contrast mode can be added as a third set of values.
Token names match CSS custom properties (--color-bg-brand,
--space-4), so the handoff is a lookup, not a translation.