Tilt Slab.
Near-black ink under a white bar, cut by one hard slab of violet light. Near-black ink surfaces under a crisp white top bar, centered Urbanist headlines with Instrument Sans and IBM Plex Mono labels. One angled violet slab with a bright edge cuts across every hero at the same angle, and each product line owns one color worn as a slanted tag and card strip. Corners are nearly square and only floating product consoles get a shadow.
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 Tilt Slab 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 Tilt Slab style works
From the kit's DESIGN.md, the file your AI reads first. What is DESIGN.md?
Serious infrastructure, lit from one side. The page is near-black ink under a crisp white top bar. Headlines are centered, rounded-geometric and very large, and behind them one hard, angled slab of violet light cuts across the hero at the same -9 degree angle every time, with a thin bright edge along its top. Each product line owns exactly one color (amber, lime, cyan or orchid) and wears it as a small slanted tag and a slanted strip on its card. Corners are nearly square. It feels bold, trustworthy and quietly premium, like a company that runs something important and wants you to notice how calm it is about it.
Use it for: energy and climate, utilities, infrastructure, hardware with an app, platforms with several product lines, fintech, B2B software. Avoid it for: playful consumer brands, kids, food, anything hand-made or soft.
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 Tilt Slab style. Follow DESIGN.md exactly. Use the tokens in tokens.css and the classes in components.css; don't invent new colors, fonts, radii, shadows or angles.
demo.html (a landing page), pricing.html, blog.html and signup.html are complete example pages built only with the kit, for an invented home energy company called Tidemark with four product lines: Sun (solar), Store (batteries), Charge (EV charging) and Grid (a paid virtual power plant).
Fonts
All free on Google Fonts:
<link href="https://fonts.googleapis.com/css2?family=Urbanist:wght@500;600;700;800&family=Instrument+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
| Role | Font | Use |
|---|---|---|
| Headlines | Urbanist 700 to 800 | Hero, section headings, plan names, prices, stats. Tight tracking (-0.03em on the hero). |
| Body | Instrument Sans 400 to 600 | Paragraphs, nav, buttons, forms. |
| Mono | IBM Plex Mono 400 to 500 | Eyebrows, product tags, console readouts, table headers, timestamps. Uppercase with wide tracking. |
Color
| Token | Hex | Role |
|---|---|---|
--ts-ink |
#0C0B13 | The page |
--ts-ink-2 |
#14131E | Cards, panels, raised sections |
--ts-ink-3 |
#1D1B2A | Inputs, wells, meter tracks |
--ts-line |
#2B2940 | Every border and divider |
--ts-bar |
#F7F6FB | The white top bar and the white button |
--ts-paper |
#F4F2FA | Headlines and body text |
--ts-mute |
#A9A5BF | Secondary text |
--ts-slab |
#5A3EE6 | Body of the slab |
--ts-slab-hi |
#8F78FF | Lit side of the slab, list markers, focus |
--ts-edge |
#CFC4FF | The 1px bright edge along the slab and the CTA band |
--ts-violet |
#6C52FF | Primary buttons |
--ts-amber |
#F3B23A | Product line: Store |
--ts-lime |
#A3D94B | Product line: Sun, and "yes" in tables |
--ts-cyan |
#39C6DD | Product line: Charge |
--ts-orchid |
#B78CFF | Product line: Grid |
Rules: - Ink is the page. The only light surface is the top bar (and the white button). - Violet is light, not paint: it appears as the slab, the CTA band and the primary button. Never fill a card with it. - Product colors are labels. One color per product line, used for its tag, card strip, meter fill and callout border. Never use a product color for a button or a headline, and never mix two on one card. - The slab is the only gradient. Everything else is flat.
Type scale
| Token | Size | Use |
|---|---|---|
--ts-text-hero |
clamp(44px, 7vw, 92px) | Hero, centered, weight 700, one line on desktop when possible |
--ts-text-h2 |
clamp(32px, 4.2vw, 54px) | Section headings, weight 700 |
--ts-text-h3 |
22px | Card titles |
--ts-text-lead |
19px | Lead under a heading |
--ts-text-body |
16px | Body; articles use 18px |
--ts-text-label |
12px | Mono eyebrows and tags, uppercase, tracking 0.08 to 0.12em |
Headlines are short, confident claims ("Power your home right"). Two short sentences beat one long one. No exclamation marks.
Shape and space
- Radius: 3px on tags and toggles, 5px on buttons, inputs and cards, 8px on big panels and the console. Nothing is pill-shaped.
- The angle:
--ts-slab-angle(-9deg) is used for the slab, the CTA band, the skewed tag squares and list markers. Never introduce another angle. - Borders: 1px
--ts-lineeverywhere. The featured plan gets a--ts-slab-hiborder. - Shadows: only on floating product UI (
.ts-console). Cards are flat. - Sections: 120px vertical padding (72px on phones). Container 1200px, reading width 700px.
- Motion: border and color transitions on hover only. The slab does not move.
Components (in components.css)
| Class | What it is |
|---|---|
.ts-bar, __inner/__links/__actions/__login |
The white sticky top bar: logo, links, a violet "Log in" link, a ghost and a violet button |
.ts-logo, __mark, --dark |
Wordmark with a mark of three slanted bars |
.ts-announce, __tag/__link |
Centered announcement line: outlined violet tag, sentence, small white "Read how" button |
.ts-hero, __inner/__actions |
Centered hero; put a .ts-slab div inside it first |
.ts-slab |
The signature: an angled violet slab with a bright top edge and a lit corner |
.ts-pagehead |
Smaller centered header with a fainter slab, for inner pages |
.ts-hero-title, .ts-h2, .ts-h3, .ts-lead, .ts-eyebrow, .ts-muted |
Type |
.ts-btn, --primary/--light/--ghost/--sm/--block |
Violet primary, white "light" (for dark heroes and bands), outlined ghost |
.ts-tag, --store/--sun/--charge/--grid |
Mono product tag with a skewed color square |
.ts-card, --store/--sun/--charge/--grid/--plain, __link |
Flat card with a slanted product-color strip on top |
.ts-console, __bar/__dots/__body |
Floating product UI panel |
.ts-meter, __track/__fill/__val |
Readout row: tag, bar, mono value. Set --tag on the row |
.ts-logos, __row/__item |
Muted logo strip of type-set names |
.ts-stats, .ts-stat__num/__label |
Four big numbers in a ruled row |
.ts-split, .ts-list |
Copy plus product UI; list with skewed violet markers |
.ts-band |
Full-width CTA band filled by the slab gradient |
.ts-toggle, .ts-plans, .ts-plan, --featured, __flag/__name/__desc/__note, .ts-price |
Pricing |
.ts-table-wrap, .ts-table, .ts-yes |
Comparison table |
.ts-faq |
Details and summary list with mono plus and minus |
.ts-article-meta, .ts-avatar, .ts-prose, .ts-figure, .ts-callout |
Articles |
.ts-form, .ts-field, .ts-label, .ts-input, .ts-select, .ts-hint, .ts-row, .ts-check, .ts-choice, .ts-panel, .ts-divider |
Forms |
.ts-footer, __grid/__base |
Footer |
Pages in this kit
demo.html: landing page. White bar, announcement, centered hero over the slab, live console, logo strip, product family cards, a split section with a Grid event console, stats, a quote and the CTA band.pricing.html: page header with a faint slab, buy outright or monthly toggle, three plans (middle one featured), comparison table, FAQ and the CTA band.blog.html: page header with the product tag and meta, prose with an SVG chart in a console, a pull quote, a callout and related cards.signup.html: page header, reasons and steps on the left, a form panel on the right with product choices.
Page recipe
.ts-bar(white, sticky)..ts-herowith.ts-slabfirst, then the announcement, the hero title, a lead and two buttons (--lightthen--ghost).- Product UI in a
.ts-consoleoverlapping the bottom of the slab. .ts-logos.- Product family in
.ts-cards, one product color each. - One
.ts-section--raisedsplit section with a console. .ts-stats, a quote, then.ts-bandto close. Then.ts-footer.
Pricing recipe: .ts-pagehead with the toggle, three .ts-plans with the middle one --featured and a violet button (the others ghost), a comparison table in a raised section, the FAQ, then the band.
Article recipe: .ts-pagehead with a product .ts-tag, the title and .ts-article-meta; then .ts-reading .ts-prose with one chart in a console, one blockquote and one callout; related cards at the end.
Sign-up recipe: .ts-pagehead with "Step 1 of 2"; a two-column grid with reasons on the left and a .ts-panel form on the right; one violet full-width submit button.
Don'ts
- Don't add a second slab angle, a glow or a blurry light. The slab has a hard edge.
- Don't round anything past 8px, and don't use pills.
- Don't put a product color on a button, or two product colors on one card.
- Don't make the top bar dark. The white bar against the ink page is part of the look.
- Don't left-align the hero. Hero and page headers are centered.
- Don't use em dashes or exclamation marks in copy.
The reference
The site this style was studied from. The kit uses its own colors, content and code.