COMPONENT LIBRARY · refract SaaS · Stage 3→4 (Brand approved → Spec) · tokens-as-code, live · all receipt data below is illustrative sample
"The Receipt" design system

Real components.
Real tokens.

The reusable pieces the refract SaaS UI is built from — every one rendered here from the same tokens.css Ben approved, not a spec sheet. Light editorial canvas, cinematic film as the only dark, a crisp monospace receipt wherever a number is a verified fact.

consumes → products/refract/brand/tokens.css · 0-JS · every number below is a labeled sample, no real render yet

01

The receipt — the signature element

The one component you can't screenshot the product without. Two states: a verified run (stamped, real cost) and a live run (ticking, honest — never a fake bar). Mono type = "this is a fact." Crisper corners (--radius-r) than any other surface.

state · verified
VERIFIED RUN sample
duration1m 42s
resolution1080p · 24fps
tierpro
true cost$0.34
seedance kling lipsync captions
state · live (ticking)
● RENDERING sample
elapsed0m 47s
cost so far$0.11
stagekling · shot 2/4
models running2
seedance kling lipsync · captions
02

Cinematic frame — output + receipt together

The full-bleed film frame is the only place the system goes dark, and only as content, never as UI chrome. The receipt prints onto the output — the wow and the differentiator are the same object.

preview · storyboard · 00:00 / 01:42
VERIFIED RUN sample
duration1m 42s
true cost$0.34
seedance kling lipsync
03

Template-wall card — kill the blank canvas

Onboarding opens on a wall of these, not an empty prompt box. Each is a finished-looking frame with its sample receipt already on it and one action — make free →.

make free → Product launch teaser~$0.30 · 30s · sample
make free → Founder story · 60s~$0.44 · 60s · sample
04

Cost-meter — the honest counter

Live elapsed + true cost accruing, and a calm daily free-tier counter. No dark-pattern urgency, no expiry games — the meter staying real IS the marketing.

live run sample
elapsed0m 47s
true cost so far$0.11
est. total~$0.29
3 free films left today · resets 09:00
05

Buttons

Ink primary (the confident default), ghost secondary, seal-green for the "verified / keep it" moment. Soft --radius-sm, warm hover lift.

06

Soft account-gate — asks only after the win

Appears only when the user chooses to keep / download / full-render. Trades an account for a thing they already made and want. Email or Google, still no credit card.

Keep this film and its receipt

Make an account to save, download or run the full render. No credit card — your free tier stays free.

✓ your film · 1m12s · $0.00 (free) · sample

no credit card · cancel anytime · your receipt stays yours

07

Fields · tags · honesty markers

The small system parts. The honesty marker is a first-class component — any illustrative or unconfirmed value wears one, per Ben's rule.

tags
✓ verified run free · daily illustrative
sample data — no real render backs this yet
08

Tokens — the source values

Everything above reads from these. The whole palette is warm and light-first — the deliberate opposite axis from prism-site's near-black Glass Box.

color
paper
#F7F4EF
paper-2
#FFFEFB
ink
#1A1714
ink-dim
#6B635B
seal
#1FA971
spectrum
green→violet
note
#B47C1E
type · humanist body + mono facts
--text-hero · --font-body · 680
Beautiful video.
--text-h2
Every frame, itemized.
--text-body · --font-body
Humanist sans for warmth — the product speaks plainly, shows receipts instead of adjectives.
--font-mono · facts only
$0.34 · 1m42s · seedance→kling→lipsync