Design System
v1.0 Interactive UI Kit
Skratch · Lending, made human

The design system behind sKratch.

A mobile-first toolkit for personal & peer-to-peer lending — calm, clear, and indigo-forward. Foundations and components that make borrowing between people feel simple and trustworthy.

Clear about money

Amounts, rates and terms are always explicit and formatted. No surprises, no jargon.

Calm & reassuring

Lending can be awkward. The UI stays neutral and friendly, never pushy or loud.

Confident states

A consistent indigo-border + green-check pattern marks every choice and confirmation.

Foundations

Color

Indigo is the single brand and primary color; neutrals carry structure on white. Each hue runs a 100→600 scale with fixed roles. Click any swatch to copy its hex.

Indigo · primary

Grayscale

Status

Green · success
Red · error
Yellow · warning

Accents

Teal
Purple

Roles by step — 100 light background · 200 light border · 300 strong accent / dark border · 400 dark background · 500 text · 600 dark text. Tokens: --indigo-400, --color-primary, --success-bg …

Foundations

Typography

One neutral grotesque (Inter substitute) across the whole product. A six-step headline scale mixes Semi Bold and Medium, with Regular body and a small footnote.

Headline 1Semi Bold · 34 / 40 · +0.25
Headline 2Medium · 28 / 36 · +0.25
Headline 3Semi Bold · 21 / 26 · +0.15
Headline 4Medium · 17 / 24 · +0.15
Headline 5Semi Bold · 16 / 24 · +0.15
Headline 6Semi Bold · 14 / 22
Body Large — repay $5,000 over 36 months.Regular · 16 / 24
Body Small — repay $5,000 over 36 months.Regular · 14 / 22
Footnote — timestamps & inline validation.Regular · 12 / 18 · +0.25
Foundations

Spacing & radius

An 11-step spacing scale keeps rhythm consistent; corners stay soft — pills for actions, 8–16px for surfaces.

Spacing scale — --space-1 … --space-11
sm · 6
md · 8
lg · 12
xl · 16
pill
Corner radius — --radius-sm … --radius-pill
Foundations

Elevation

Three soft, neutral-gray shadows. Cards mostly use a hairline border plus Light; heavier shadows lift floating surfaces.

Light
Medium
Heavy
Foundations

Iconography

A single line set — ~1.75px rounded stroke — with a few solid-circle badge variants for status. Finance glyphs (dollar, money bag, piggy bank, card) sit alongside standard UI icons.

Shown in Lucide as the nearest match — replace with exported Skratch SVGs for pixel accuracy. No emoji or unicode glyphs are used as icons.

Components

Buttons

Primary buttons are fully pill-shaped, indigo-filled. Hover/press darkens to indigo 600; disabled drops to indigo 300. Text buttons underline on hover.

Default
Hover / Press
Disabled
Small
Small · hover
Small · disabled

Text buttons, groups & value chips

$2,000 $2,000
Components

Text fields

Labelled fields with a hairline border, 8px radius. Errors turn the border red with a footnote below. Prefix/suffix affixes handle currency and percentages.

This is an error message
$
%
%
Components

Selection controls

Radios, checkboxes and toggles fill indigo when on and desaturate when disabled. The slider uses an indigo track, solid thumb, and soft halo — value shown in a floating bubble.

Radio
Label
Label
Disabled
Checkbox
Label
Label
Disabled
Toggle
On
Off
Disabled
Slider
12 months
Components

Cards

Loan cards summarise amount, purpose, rate and plan, ending in the relevant action. Purpose cards are selectable — the chosen one gains an indigo border and green check.

Loan for $5,000
3/18/2022
Loan amount$5,000
PurposeEducation
Interest rate4%
Payback plan36 months
Monthly payment$325.60
Education
Education
Car Expenses
Illustration tiles are placeholders — swap in exported Skratch artwork.
Components

Messaging

Inline banners use the status hues at their lightest tint, with a circular badge icon and bold sentence-case copy.

This is an error message
This is a warning message
This is a success message
Components

Tooltip

A dark inverse-surface tooltip with a directional arrow on four sides.

TooltipBottom
TooltipTop
TooltipLeft
TooltipRight
Copied