Live Figure.
The explorable explainer: a calm reading column, a cobalt masthead and dark figure stages you can drag and slide. Pale paper with one patient reading column under a solid cobalt masthead band, broken by full-bleed near-black figure stages. Each stage holds a hand-drawn SVG diagram with an amber moving part, a pill slider and a mono readout that changes as you drag. Bold grotesk headings in soft graphite, plain sans body and numbers set in mono make it read like a well-made lesson.
Use it with Claude Code or Codex
Download the kit into your project, then paste this prompt. Fill in the last line. New to this? See how it works.
Build my page in the Live Figure style. Read DESIGN.md first and follow it exactly. Use the tokens in tokens.css and the classes in components.css; don't invent new colors, fonts, radii or shadows. The example pages (demo.html, pricing.html, blog.html, signup.html) show the style on landing, pricing, blog post, and sign up. My page: [describe what you're building, who it's for and the sections you need]
Colors
Click a hex to copy it.
Fonts
All free on Google Fonts.
How the Live Figure style works
From the kit's DESIGN.md, the file your AI reads first. What is DESIGN.md?
The explorable explainer. A pale paper page with one calm reading column sits under a solid cobalt masthead band. Every so often the column breaks into a full-bleed near-black "figure stage" that holds a hand-drawn SVG diagram you can play with: drag a slider, and the amber part moves while a mono readout shows the number changing. Headings are heavy grotesk in soft graphite, the body is a plain, friendly sans, and numbers are always set in mono. It feels patient, curious and precise, like a lesson written by someone who loves the subject and wants you to touch the idea before you read the rule.
Use it for: courses and lessons, explainers, science and engineering writing, repair and how-to guides, hobby clubs, research tools, anything where showing how a thing works is the pitch. Avoid it for: fashion and luxury, photo-led brands, loud promotions, dashboards full of data (this style shows one idea at a time).
Read the full style guide: fonts, color, type scale, components and page recipes
How to use this file
Give this file, tokens.css and components.css to your AI coding tool and say:
Build [your page] in the Live Figure style. Follow DESIGN.md exactly. Use the tokens in tokens.css and the classes in components.css; don't invent new colors, fonts, radii or shadows.
demo.html (a landing page), pricing.html, blog.html and signup.html are complete example pages built only with the kit, for an invented course of interactive bike mechanics lessons called Cogwise.
Fonts
All free on Google Fonts:
<link href="https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@600;800&family=Public+Sans:ital,wght@0,400;0,500;0,600;1,400&family=JetBrains+Mono:wght@400;600&display=swap" rel="stylesheet">
| Role | Font | Use |
|---|---|---|
| Headlines | Schibsted Grotesk 800 | Wordmark, page titles, section headings. Tight tracking, graphite not black. |
| Card titles | Schibsted Grotesk 600 | .lf-h3, card and form titles. |
| Body | Public Sans 400, 500, 600 | Paragraphs, nav, buttons, forms, captions. |
| Numbers | JetBrains Mono 400 and 600 | Every number in prose (.lf-num), readouts, prices, stats, eyebrows, SVG labels. |
Color
| Token | Hex | Role |
|---|---|---|
--lf-paper |
#F7F7F4 | The page. Warm off-white, never pure white. |
--lf-card |
#FFFFFF | Cards, plans, the form, light figures |
--lf-mist |
#ECEDE8 | Quiet fills |
--lf-line |
#D9DBD3 | Every border and divider on paper |
--lf-cobalt / --lf-cobalt-deep |
#2A4FBF / #1D3A94 | The masthead band, links, primary buttons, the chosen plan, numbers on paper |
--lf-stage |
#0E0F12 | Full-bleed figure stages |
--lf-stage-2 |
#1A1C21 | The figure canvas inside a stage |
--lf-stage-line |
#30333B | Slider tracks, rails and quiet shapes on the stage |
--lf-ink |
#24262B | Body text |
--lf-head |
#4A4C52 | Headings (soft graphite, on purpose) |
--lf-soft / --lf-faint |
#62656D / #9A9CA3 | Secondary copy / meta, dates, eyebrows |
--lf-on-stage / --lf-on-stage-soft |
#EDEDEA / #8F939C | Text and chalk-white shapes on the stage / captions and labels |
--lf-amber / --lf-amber-soft |
#F0A23A / #FCEBD2 | The thing that moves: slider knobs, the active part of a figure, readouts on the stage, highlights |
--lf-sky, --lf-rose, --lf-leaf |
#7FA6FF, #E5626B, #4FB07A | Figure-only colors for a second or third series (force, heat, OK). Never in UI chrome. |
Rules:
- Cobalt is for the masthead and for "you can click this". Amber is for "this moves". Don't swap them.
- Paper for reading, stage for playing. A figure stage is always full-bleed and always holds an interactive drawing.
- Inside SVG, paint with the lf-f-* (fill) and lf-s-* (stroke) classes so figures follow the tokens. No hex values in pages.
- No gradients, no photos, no soft drop shadows on cards.
Type scale
| Token | Size | Use |
|---|---|---|
--lf-text-mark |
clamp(30px, 4.4vw, 46px) | Wordmark in the masthead, 800, with an amber period |
--lf-text-hero |
clamp(38px, 5.6vw, 60px) | Page title (.lf-h1), tracking -0.03em |
--lf-text-h2 |
clamp(26px, 3.2vw, 34px) | Section headings |
--lf-text-h3 |
20px | Card and form titles |
--lf-text-lead |
20px | The paragraph under a title |
--lf-text-body |
18px | Body, line-height 1.7 |
--lf-text-small / --lf-text-micro |
15px / 12px | Captions, meta, card text / eyebrows, badges |
Write in the second person and the present tense: "Slide the lever and watch the pads close." Short paragraphs, one idea each, and always tell the reader what to do with the figure before they see it.
Shape and space
- Radius: 4px on highlights, 8px on inputs, 14px on cards, plans and figure canvases. Buttons, chips, badges and slider tracks are full pills.
- Borders: 1px
--lf-lineon paper. The chosen pricing plan gets 2px cobalt. - Shadows: none on surfaces. Only the slider knob gets a tiny shadow, and focus gets an amber ring.
- Column: 700px for reading, 1040px for figures and grids. Sections 56px apart, stages 56px top and bottom.
- Motion: figures may animate (gears turning, pads closing) and respond to sliders instantly. UI chrome stays still.
Components (in components.css)
| Class | What it is |
|---|---|
.lf-page |
Body class: paper, ink, Public Sans, clip sideways overflow |
.lf-column, .lf-wide, .lf-section |
Reading column, wide container, section spacing |
.lf-masthead, .lf-masthead-inner, .lf-wordmark, .lf-wordmark-dot, .lf-nav, .lf-nav-end |
The cobalt band with wordmark and nav, last nav item pushed right |
.lf-btn + .lf-btn-primary / .lf-btn-ghost / .lf-btn-amber |
Pill buttons. Amber only on a stage. |
.lf-eyebrow, .lf-date, .lf-h1, .lf-h2, .lf-h3, .lf-lead, .lf-prose |
Type |
.lf-num, .lf-hl |
A number in prose (mono, cobalt on paper, amber on stage) and a soft amber highlight |
.lf-stage |
Full-bleed dark band for a figure |
.lf-figure, .lf-figure-canvas, .lf-figure-light |
Figure wrapper and the SVG canvas (dark panel, or white card with -light) |
.lf-controls, .lf-slider, .lf-slider-light, .lf-readout, .lf-readout-light, .lf-label |
Control row under a figure: label, pill slider with amber knob, live mono readout |
.lf-chips, .lf-chip[aria-pressed] |
Mode toggles for a figure |
.lf-caption |
Small note under a figure |
.lf-grid, .lf-card, .lf-card-thumb, .lf-card-meta |
Card grid with a small dark drawing on top |
.lf-badge, .lf-badge-cobalt |
Mono pill labels |
.lf-note |
Callout with an amber left rule |
.lf-stats, .lf-stat-num, .lf-stat-label |
Row of mono numbers |
.lf-form, .lf-field, .lf-input, .lf-select, .lf-hint, .lf-check |
Forms |
.lf-plans, .lf-plan, .lf-plan-pick, .lf-plan-name, .lf-price |
Pricing |
.lf-faq |
Details and summary list with mono plus and minus |
.lf-footnotes, .lf-footer, .lf-footer-inner |
Footnotes and footer |
.lf-svg-mono, .lf-svg-sans, .lf-f-*, .lf-s-* |
SVG text fonts, fills and strokes from the tokens |
Pages in this kit
demo.html: landing page with a turning chainring and cog you can re-gear with a sliderpricing.html: three plans, a "slide and see" savings figure, FAQblog.html: a lesson with a brake figure on a full-bleed stage, a callout and footnotessignup.html: a two-column sign-up with a small progress figure
Page recipe
- Cobalt masthead: wordmark with an amber period, nav underneath, the sign-up link pushed right.
- Reading column on paper: eyebrow,
.lf-h1,.lf-lead, one primary and one ghost button. - A full-bleed
.lf-stage: one or two sentences telling the reader what to try, the figure, a control row and a caption. - Back on paper: a card grid, then a stats row with mono numbers.
- A closing column with an
.lf-noteand the buttons again. Light footer with a hairline on top.
Pricing recipe: intro column, .lf-plans with the middle plan as .lf-plan-pick, then a small interactive figure on a .lf-figure-light that answers "is it worth it", then an .lf-faq.
Article recipe: date and lesson number, .lf-h1, two short paragraphs, then a stage with the main figure. Continue the prose after it with .lf-h2 headings, numbers in .lf-num, one .lf-note, and .lf-footnotes at the end.
Sign-up recipe: two columns on wide screens (pitch with a small light figure on the left, a white .lf-card form on the right), one column on phones. One primary full-width button.
Don'ts
- Don't put a figure on paper as a static picture. If it doesn't respond to the reader, it isn't a Live Figure.
- Don't use more than one stage per screen height, and never two stages back to back.
- Don't make headings black; graphite is the point.
- Don't use cobalt inside figures for the moving part, and don't use amber for links.
- Don't add drop shadows, gradients or photos.
- Don't set numbers in the body font.
- No em dashes in copy.
The reference
The site this style was studied from. The kit uses its own colors, content and code.