Templates / DESIGN.md examples

DESIGN.md examples

A DESIGN.md file is a Markdown file that gives an AI agent the visual rules of a site: YAML tokens for colours, type, corner radii, spacing and components come first, then prose on how to apply them. Google publishes the format, still at version alpha. Each of the 106 files below was read from one working 8B template, so the page it describes is there to open.

What sets these files apart is that each describes a page you can open: a free template that runs as one index.html with a live demo. Every hex value, font size and radius in the tokens was copied from that page's CSS; where the CSS sizes text with clamp(), the token keeps the desktop value and the prose usually gives the range down to phone width. Each file also adds a Motion section, which the spec lacks.

Use one as a website DESIGN.md for Claude, Codex or Cursor to follow when you build something new in the same look, or keep it next to the template while an agent rewrites the copy, so nothing drifts. A Markdown file carries rules, not scripts, so take the HTML as well when you want the scroll animation itself. The Claude Code guide covers the project around it: the folder, CLAUDE.md and the first prompt.

At a glance, November 2026. This page holds the DESIGN.md files of 106 free MIT templates made by 8B, an AI website builder. Sorted by palette size, 32 files list 8 colour tokens or fewer (the print studio and the graphic design studio have 4), 52 list 9 to 11 and 22 list 12 or more (the bakery has 16). By typography, 30 files use one family, 60 pair two and 16 use three. Twelve declare a single radius, 0px, and every file describes motion in CSS with no library. The business types run from law firm and plumber through cinema and ice cream parlour to fitness app, podcast network and birth center.

Film festival: first screen

Film festival on pure black with white type and one ember orange, 7 colour tokens. Three Stack Sans cuts, giant uppercase names sized by character count, 8px corners on stills and CSS-only scroll motion.

Water park: first screen

Water park in black and white with pool blue, dusk navy and one hot orange, 10 colour tokens. Kalnia with Reddit Sans, pill buttons and tabs, 32px corners on the ride sheets and square fields.

Self storage: first screen

Self storage as paper posters pasted on light grey with one yellow, 8 colour tokens. TikTok Sans, Instrument Sans and a Playpen Sans hand for notes; square corners beside pills, and sheets that tip and swing.

Birth center: first screen

Birth center as rounded tiles on near-black, in cream, pink, coral, periwinkle, butter and aubergine, 9 colour tokens. Host Grotesk with Source Serif 4, one 24px tile radius and serif capsule pills.

Graphic design studio: first screen

Graphic design studio printed in two inks, pine on yellow paper with a green second ink, 4 colour tokens. Schibsted Grotesk alone, square corners with pill buttons and a hard offset shadow.

Burger restaurant: first screen

Burger bar in acid lime, deep green and black, 11 colour tokens, in Bricolage Grotesque, Besley and Asta Sans. Pill buttons sit on hard green shadows; headings slam onto the table.

Car wash: first screen

Car wash in electric violet and foam cream with yellow prices. Instrument Sans and Rethink Sans, scalloped edges, six radii, and cards that squash up with an elastic ease.

Podiatrist: first screen

Podiatry clinic in pale lime and green tiles inside a deep green frame. Roboto Serif and Asta Sans, round photo discs, and cards that drop into place before the fills wipe across.

Group fitness: first screen

Retro group fitness in pale grey, lilac, pink, lime and orange, drawn with two-pixel black outlines and flat offset shadows. Three faces, and a disco tilt that spins and stamps things in.

Language course: first screen

Evening language school on a navy ground with one pink accent, set in Schibsted Grotesk alone. Photos become torn-paper stickers, stuck on as you scroll and ripped off again.

Ceramic tile: first screen

Ceramic tile maker on white and navy with fifteen colour tokens, among them thirteen glazes. Every corner is square, outlines are 2px navy rings, and tiles get poured, turned and fitted.

Fashion brand: first screen

Fashion label in white and ink with five loud season colour bands, 14 colour tokens in all. Schibsted Grotesk with Host Grotesk, and a portrait panel that works as a lens.

Car detailing: first screen

Car detailing studio on near-black with deep green grounds and a very wide light wordmark. TikTok Sans, Google Sans and Geist, square corners only, and bars that fill like a gauge reading.

Boutique hotel: first screen

Boutique hotel in warm off-white, dark ink and terracotta, with light uppercase headings in Source Serif 4. One 2px corner radius, and photos that open from small windows.

Sauna: first screen

Sauna

Free

Lakeside bathhouse on near-black in one light serif, Source Serif 4. Copper stands for heat, lake blue for cold, corners stay square, and fog drifts over the photographs.

Cheese shop: first screen

Cheesemonger in black, white and light grey with seven colour tokens, one light Geist family and 1px hairlines. Square corners beside pill buttons, and panels arriving from outside their frame.

Glamping: first screen

Glamping site in dusk indigo and periwinkle with one ember orange. Gabarito and Onest, photo windows up to 44px, frosted cards, and a ground following the sky from rose to near black.

Pottery studio: first screen

Pottery studio in pale grey and black on a visible four-column grid, TikTok Sans alone. Four glaze colours take over one section's ground in turn, and the opening photo splits into strips.

Perfumery: first screen

Independent perfumery on a near-black ground with warm cream type, amber thread lines and arched photo windows. Kalnia with Host Grotesk, 13 colour tokens, and items that part and deal.

Hardware store: first screen

Hardware shop on pale paper in regular-weight Host Grotesk alone, with five soft photo tones and dark department panels. Radii of 6px and 16px beside pills.

Pizzeria: first screen

Pizzeria in tomato red and cream bands with wavy edges and capsule photos. Montagu Slab, Bricolage Grotesque and Pliant, 13 colour tokens, and rings and photos arriving from outside the frame.

Mortgage broker: first screen

Mortgage broker in white and zinc with an amber and ember glow. Host Grotesk alone, radii written in rem, and lines that grow while a rate timeline runs sideways.

Movie theater: first screen

Independent cinema on near-black with white, mint and lavender tiles and film-edge perforations. TikTok Sans with Host Grotesk, 13 colour tokens, and a ticket torn along a perforation.

Swimming pool: first screen

Outdoor pool in saturated rounded tiles on pale grey, with round photo windows and tilted price stickers. Savate, Google Sans and Playpen Sans, and objects that swim, hop and roll.

Nonprofit: first screen

Volunteering network on white, with folder-tab cards in six saturated cause colours and handwritten signatures. Host Grotesk with Playwrite US Trad, 12 colour tokens, and cards dealt like papers.

Ice cream shop: first screen

Ice cream parlour in sticker style: lemon ground, bright fills, ink outlines and hard shadows. Gabarito with Google Sans, a 40px corner at the soft end, and stickers dealt and squashed in.

Tailor: first screen

Tailor

Free

Bespoke tailor on near-black with bottle green and gold, extra-wide capitals and pill-shaped photos. TikTok Sans, Funnel Display and Geist, and headings that rise in masked lines.

Farm delivery: first screen

Veg box scheme with only five colour tokens: soft lime, near-black and white. Host Grotesk alone, square cards, pill buttons, a six-armed asterisk, and headings rising line by line from a mask.

Tile store: first screen

Tile shop drawn as a white grid ruled in black, with fields of yellow, blue and red. Radio Canada Big alone, square corners only, and colour wiping in over the grid.

Bowling alley: first screen

Bowling alley on near-black with yellow, orange, lilac and sky-blue panels and condensed capitals. Bricolage Grotesque with Radio Canada Big, 13 colour tokens, and type that stamps and rolls in.

Coding school: first screen

Part-time coding school in flat orange, plum and ice planes with a red accent. Matangi and Asta Sans, radii from 2px to 24px, and elements that start turned and settle straight.

Cooking school: first screen

Cookery school in chocolate brown on white with one cobalt screen and only six colour tokens. Kalnia capitals over Hedvig Letters Serif, square corners, and slow reveals where nothing bounces.

Coffee roaster: first screen

Coffee roaster styled as a printed ticket: cream paper, indigo ink, rust stamps and hairline rules. Brygada 1918, Radio Canada Big and Instrument Sans, six colour tokens, stamps filling the ticket in.

Arcade bar: first screen

Arcade bar on cream with charcoal blocks and pink, blue and yellow photo frames with notched tabs. Roboto Serif, Savate and Climate Crisis, and cards that pile up while a board re-sorts.

Bike rental: first screen

Bike hire in near black and pale grey with one acid-lime accent and double rules. Stack Sans Headline with Text, square corners beside pills, and a line that fills like a route.

Print shop: first screen

Print and copy shop that looks like a layout app: paper white, ink black, five flat accents, selection handles. Reddit Sans alone, every corner square, parts cropped and stamped in.

Board game cafe: first screen

Board game cafe in navy, sky blue, amber and pink quarter-circle tiles with a very wide uppercase face. TikTok Sans with Onest, a 1.5em tile corner, and pieces swinging around it.

Nail salon: first screen

Gel nail studio in frosted glass over orange orbs, with an orange opening and taupe bands. Gabarito with Onest, small 5px corners, translucent panes, and pinned scenes that turn cards.

Stonemason: first screen

Stonemason's yard on near-black with large light-grey rounded panels and pale stone green. Host Grotesk with Source Serif 4 for inscriptions, six radii, and elements that arrive finished from rough.

Stationery shop: first screen

Stationery shop in white, ink-black and one lilac, 10 colour tokens, in Stack Sans Headline and Text. Five radii from square to 28px, and headings that write in word by word.

Language school: first screen

Language school with extra-wide brown-black headings and flat orange, yellow, green, pink and blue shapes on white. TikTok Sans and Gabarito, and scenes pinned to scroll sideways, then bubble by bubble.

Toy store: first screen

Toy shop in candy yellow, pink, lime and cobalt on white, with notched cards and tilted pills. Gabarito with Playpen Sans, and a photo puzzle that settles as you scroll.

Landscaping: first screen

Landscape gardener in lime, forest-green and sage panels with notched corners. Host Grotesk alone, panels at 22px, and garden plots that change shape and position with the scrollbar.

Electrician: first screen

Home electrician on dark green with cream and aqua sheets, one light grotesque, Host Grotesk. Photos cut with a notch open from that corner while headings rise out of a mask.

Bubble tea shop: first screen

Bubble tea bar in candy colours on white with navy condensed capitals. Bricolage Grotesque with Radio Canada Big, scalloped edges, radii up to 32px, and cards that swing like hung signs.

Comedy club: first screen

Comedy club in yellow, black and white with heavy uppercase type and pill controls. Instrument Sans with Playpen Sans, a 40px panel radius, and items that drop in, bounce and settle.

Electric scooter: first screen

Electric scooter maker on pale grey with near-black and white panels, notched corners and one red accent. Host Grotesk alone in regular weight, and parts that dock into place.

Genealogy: first screen

Genealogy research on pale paper sheets with coloured index tabs on a black desk. Reddit Sans plus Playwrite US Trad for notes, tabs rounded 10px, and a folder assembled as you read.

Dance studio: first screen

Dance studio in bold uppercase Host Grotesk with pale blue, red and yellow shapes and hand-drawn loops. Square corners beside 4px and pills, and a dot that walks a path with the scroll.

Boat tour: first screen

Harbour boat trips on a pale grey ground with near-black rounded panels and one orange accent, set in National Park alone. Panels at 22px, and a route that rolls like a swell.

Planetarium: first screen

Planetarium on night violet with flat orange, blue-violet, rust and magenta slabs. Geist alone, a 26px field radius, and a sideways space journey tied to the scroll.

Driving school: first screen

Driving school built as a bento of saturated colour tiles on pale grey. Pliant with Host Grotesk, tiles at 34px, controls at 14px, and blocks that assemble from a corner.

Sneaker store: first screen

Sneaker store with a pale green-grey ground, near-black panels, one lime accent and dashed spec rules. Schibsted Grotesk with Host Grotesk, and pieces that arrive from scattered to ordered.

Football club: first screen

Youth football club in signal orange, black and cream with poster-size capitals, seven colour tokens. Pliant with Reddit Sans, and colour fields and poster lines moving into place.

Outdoor gear rental: first screen

Outdoor kit hire on pale blue with navy bands, white pill buttons and one electric blue. National Park with Golos Text, cards rounded up to 28px, and gear settling from tilted.

Smart home: first screen

Smart home installer in white and pale grey broken by dusk-indigo bands, with one orange accent. Stack Sans, 14 colour tokens, square-cornered controls, and pinned scenes where light changes over a day.

Museum: first screen

Museum

Free

Natural history museum with engraved plates, teal and amber colour fields and hairline columns. Gabarito with Google Sans, 13 colour tokens, and plates that move into register.

Wedding planner: first screen

Garden wedding planner in flat orange, grey, black and white fields, Google Sans alone. Square corners, a pinned seasons track, and panels that slide, swap and stack as whole units.

Daycare: first screen

Daycare in soft pastel slabs with pill buttons and four large radii from 18px to 48px. Gabarito with Google Sans, 13 colour tokens, and things that squash and roll like soft dough.

Lighting store: first screen

Lighting showroom in light grey and ink with one yellow used as light, six colour tokens. Light-weight Geist over hairline column rules, and photos that switch on as you reach them.

Running race: first screen

Mountain trail race on black with pastel sky tiles, lime sticker buttons and hard 4px shadows. TikTok Sans with Google Sans, and orange light crossing greyscale photos.

Pharmacy: first screen

Pharmacy in pastel paper folders with slanted tabs on grey, heavy black bars and a rounded display sans. Gabarito with Geist, square corners beside pills, photos opening from a tab.

Jewelry: first screen

Independent goldsmith on pale grey with coral, lilac and near-black bands. Instrument Sans with Source Serif 4, 11 colour tokens, panels at 40px, each band performing at the reading line.

Speech therapist: first screen

Children's speech therapy practice in sky blue, deep indigo and cream. Platypi with Miranda Sans, arch-shaped photo windows, radii up to 32px, and things that settle into place like pieces on a play mat.

It support: first screen

Managed IT support on cool grey with hairline rules and one orange accent. Asta Sans alone in sentence case, clipped upper-left corners, and lines that draw while corners close, never bounce.

Travel agency: first screen

Small-group rail travel on olive and cream ticket surfaces with an amber accent. TikTok Sans with Schibsted Grotesk, wide uppercase, 11 colour tokens, and scenes that travel, deal and tilt with scroll.

Art gallery: first screen

Late-opening art gallery with ruled white cells against near-black night screens and one coral glow. Pliant with Host Grotesk, an arch radius, and a lamp that sweeps through a dark building.

Saas: first screen

Saas

Free

SaaS landing page in maroon, butter and gold with round-ended shapes and a phone mockup rounded at 48px. Gabarito with Rethink Sans, and noise that gathers into order as you scroll.

Marketing agency: first screen

Marketing agency in cool grey, ink and one vermilion, 14 colour tokens, with arrows built from CSS. Source Serif 4 with Geist, square forms against fully round buttons.

Interior design: first screen

Interior colour studio in flat periwinkle, pink and lime over near-white. Roboto Serif with Google Sans, square corners beside pills, and shapes that slide, roll and stretch like a design game.

Modeling agency: first screen

Modeling agency in light grey, black and one scout-yellow, in Pliant alone. Corners of 8px or 12px, pill buttons, and grey photos turning to colour as a yellow dot pops in.

Motion design studio: first screen

Motion design studio in cool grey and black with one hot orange accent. TikTok Sans with Geist, 13 colour tokens, pill buttons, and type that stretches as things accelerate and brake.

Music school: first screen

Music school with white pages, thin black outlines, beige cards and one orange accent. Funnel Display with Host Grotesk, an 18px card radius, and shapes that arrive as echoes.

Bakery: first screen

Bakery

Free

Pre-order bakery in sticker-and-tray style with 16 colour tokens. Bricolage Grotesque, Host Grotesk and a Playpen Sans hand, and items dealt, dropped and stamped onto the page.

Wellness studio: first screen

Wellness studio on warm grey paper with near-black ink and hairline rules. TikTok Sans as one variable face, square corners only, and giant letters settling from jagged heights into one line.

Home renovation: first screen

Home renovation firm on warm graph paper with cobalt plan lines and pencil notes. Schibsted Grotesk plus Playpen Sans, radii of just 2px and 3px, and paper laid out as you scroll.

Electric moped: first screen

Electric moped dealer in pale grey panels, white pill cards and one red accent, Host Grotesk alone. Pinned sections turn scroll into a model switch, a charging battery and a route.

Podcast: first screen

Podcast network in orange, yellow and lavender tiles on white with big rounded corners up to 44px. Funnel Display with Google Sans, and tiles that leave coloured copies behind them.

Roller rink: first screen

Roller rink in 1970s poster colours: teal, aubergine and ink grounds under yellow, orange and red stripes. Gabarito with Rethink Sans, square corners, and stripes that draw in along one diagonal.

Hair salon: first screen

Hair salon in red, ink and cyan with condensed capitals and torn-paper edges. Bricolage Grotesque with Geist, square corners, and grey photos that come into colour as you scroll.

Streetwear brand: first screen

Streetwear label in marker doodles on grid paper, with cobalt, yellow and orange splashes. Playpen Sans, Host Grotesk and Playwrite US Modern, and doodles slapped, drawn and dealt onto paper.

Fitness app: first screen

Fitness app landing page in off-white, mint, lilac, graphite and lime panels inside a charcoal frame. TikTok Sans with Geist, seven radii up to a 200px arch, and uppercase headings stretching wide.

Korean restaurant: first screen

Korean barbecue restaurant on white, pale grey, charcoal and black, with thin column rules and one hot red for the heat. Asta Sans with Playwrite US Trad, 3px corners, red burning in.

Pilates studio: first screen

Reformer Pilates studio in two corals and cream, five colour tokens, Golos Text alone. A coral frame around one cream sheet, outlined cards, and a deep coral fill following whatever is current.

Law firm: first screen

Commercial law firm in fog, white and grey with greyscale photos and one red for geometric figures. Host Grotesk with Source Serif 4, square corners only, and scrubbed motion.

Plumber: first screen

Plumbing and heating engineer in cold blue and hot orange on light grey, with giant condensed capitals sized to fill their boxes. Instrument Sans with Geist, and frames opening from a slit.

Product: first screen

Product launch for a smart-home wall pad: monochrome neumorphism on one cool grey, raised and pressed shadows sized in em, condensed Mozilla Headline, and headings that deboss while keys sink.

App: first screen

App

Free

App landing in warm paper, espresso and navy, with one green for what is yours or can be tapped. Host Grotesk alone, 28px cards, speech bubbles, and spoken bars that resolve into words.

Creative agency: first screen

Creative agency in black on white: seven colour tokens, all black, white or grey, a hairline grid, no pills or circles, extra-wide light Mozilla Headline capitals, and an echo motion where each element trails a faint copy.

Design studio: first screen

Design studio in black, white and one violet. Extra bold Gabarito headlines end in a round violet dot, and the motion moves that dot, flying a photo into the next heading.

Community: first screen

Members' club in cream, crimson, pink and powder blue, photos framed as arches. Kalnia sets each heading as a hairline phrase plus a bold one, and type thickens as it arrives.

Pet boarding: first screen

Pet boarding in flat saturated panels on 12 columns, split by thick black gutters. Heavy Gabarito, a Playwrite hand reserved for letters, and panels that shear apart like shutters as you scroll.

Event: first screen

Event

Free

Festival in crimson, red and near-black slides. Asta Sans alone sets Latin and Hangul, uppercase headlines warm from dim to white through a gradient, and circles recur as rings and windows.

Print studio: first screen

Print studio with one of the two smallest palettes, four colour tokens: ultramarine, fluorescent pink, a near-black and paper. Heavy Gabarito, halftone dots in pure CSS, and heading ghosts that slide into register.

Architecture: first screen

Architecture office with 13 colour tokens on a pale sky ground. Square corners, no shadows, condensed Mozilla Headline, and photos that arrive as sideways streaks before they sharpen.

Fitness: first screen

Fitness club in white, navy and pale framed slides floating over a blue-grey mist. Geist only, never in capitals; square slides, pill controls, and type that streaks sideways with a skew.

Repair shop: first screen

Repair shop on grained near-black and off-white, electric blue saved for what is selected. Huge Instrument Sans against tiny condensed uppercase labels, 2px corners, rounded dashes as dividers.

Accountant: first screen

Accountancy practice styled as an annual report: hairline rules on 12 columns, square corners, orange, lavender and sage slabs, Google Sans tracked tight, and highlights that sweep over key words.

Accounting firm: first screen

Accounting firm in black, white and grey with one red, its type hung on a vertical hairline rule just over a third of the way across. Host Grotesk only; lines slide out from that rule.

Restaurant: first screen

Brasserie on near-white, olive and night grounds, amber used once as light on the first photo. Schibsted Grotesk capitals sized by character count, square corners, parasol shade drifting over a table.

Brewery: first screen

Brewery and taproom on a near-black brown ground with cream tags and one colour per beer. Condensed uppercase Bricolage Grotesque over Onest; colour pours up from the bottom of each beer card.

Coworking: first screen

Coworking space built from stepped contour fields in orange, blue and violet depths, type and spacing tokens in rem. Funnel Display over Host Grotesk; the deeper a band sits, the further it travels.

Trampoline park: first screen

Trampoline park in red outlined capitals on wavy cream, red, yellow and black bands. Three faces, pills, tilted frames and a hard 6px offset shadow; squash and spring motion, with MotionPathPlugin in the GSAP build.

Veterinary: first screen

Vet clinic on warm cream with coral arches, flat shapes and one colour per group of species. Google Sans alone, radii from 10px up to a 220px corner and full rounds, and an arch that grows into a door.

Construction company: first screen

Renovation contractor drawn like a measured sheet: black, white and greys, red only for dimension marks. Host Grotesk for nearly all text, square corners, no shadows, a building going up in order.

Florist: first screen

Florist in blush, chocolate, hot pink and magenta, five colour tokens in all. A wide black wordmark, uppercase Brygada 1918 headings, a thin Playwrite script, and night rising like dusk.

What a DESIGN.md file is and what goes in one

In the DESIGN.md file format, the tokens sit in YAML, either as front matter between two --- lines (as in these files) or in fenced yaml blocks: colors, typography, rounded, spacing and components. Components point to other tokens with references such as {colors.primary}, so a button is built from the palette and the type scale. Markdown sections follow in a set order, though any may be left out: Overview, Colors, Typography, Layout, Elevation & Depth, Shapes, Components, Do's and Don'ts. The tokens are the values to obey; the prose says where and why.

Google keeps the spec and its command line tool in the design.md repository under the Apache-2.0 license. Google says Stitch, its AI design tool, can export and import the format, and a coding agent reads it as plain text, so a person, a design tool and an agent can all work from the same rules.

The files here keep that order and add one heading the spec does not define, ## Motion, before Do's and Don'ts; the spec tells readers to keep an unknown section rather than reject the file. Across the 106 files the tokens run from 4 to 16 colours and from 7 to 10 type levels; most files define 8 or 9 components and close with 7 to 10 do and don't rules.

The top of the print studio file shows the shape: four colours, the display level of a two-family type scale, then, much further down, one line of the Motion section.

---
version: alpha
name: "Print studio template by 8B"
description: "Two flat inks, ultramarine and fluorescent pink, with CSS halftone dots and rolling drums for a risograph studio, print shop or small press. Free HTML template by 8B, MIT."
colors:
  primary: "#11138d"
  secondary: "#ed008e"
  tertiary: "#07061f"
  neutral: "#f3f3fa"
typography:
  headline-display:
    fontFamily: Gabarito
    fontSize: 210px
    fontWeight: 900
    lineHeight: 0.86
    letterSpacing: -0.035em
  headline-lg:
    fontFamily: Gabarito
    fontSize: 84px
    fontWeight: 800
    lineHeight: 0.95
    letterSpacing: -0.025em
  headline-md:
  ...
---

## Motion

- **Inks:** the tilted blue and pink plates slide together into a 4 by 4 chart.
...

Using a DESIGN.md with Claude Code, Codex, Cursor or Stitch

These files work as design system templates for Claude Code and the other coding agents. Save one in the root of your project; the slug is the last part of the template's page address.

curl -LO https://8b.com/templates/<slug>/DESIGN.md
  • Claude Code: add the line @DESIGN.md to CLAUDE.md. Claude Code loads CLAUDE.md as each session begins, along with any file imported this way (its memory docs describe both); without that line, name the file in your prompt.
  • Codex: its CLI builds its instructions from AGENTS.md before it starts work, so a line there that points to DESIGN.md is the simplest hook, for example "Follow DESIGN.md for colours, type, corners, spacing and motion."
  • Cursor, Windsurf or Gemini CLI: name DESIGN.md in the prompt, or point to it from the instructions file you already keep for the project; in Cursor, an always-on project rule does that job.
  • Stitch: Google says Stitch can import DESIGN.md files, so bring the file in through Stitch's own import, then ask for screens. The spec has no motion tokens, so the Motion section stays a note for whoever writes the code.

Google Stitch is the tool the format came from. In Google's announcement, Stitch can export a design system as a DESIGN.md and import one into another project, so the rules travel without being rebuilt, and it generates screens that follow them. Google describes the file as a draft specification, open sourced for use across tools, that records the reasoning behind a design system so an agent can tell what a colour is for and check choices against WCAG accessibility rules. The post does not say where the import or export sits in Stitch's interface, so look there for the current steps.

Then ask for one new thing at a time:

Read DESIGN.md first. Build pricing.html for <my product> in this style: only the colours, type levels, radii, spacing and components DESIGN.md defines, and its Do's and Don'ts. Animate it as the Motion section describes, behind a prefers-reduced-motion check. Add no fonts, colours or shadows the file does not list. Show me the page at 1440px and 390px wide.

Used as a Claude Code design system template, the file is enough for new pages. The quickest way to a DESIGN.md website, though, is the HTML it was read from: keep the template's index.html as the first page and hand the agent DESIGN.md for each page after it. The format's tool can also export the tokens as a Tailwind theme or as DTCG tokens.

The 106 DESIGN.md files grouped by what they capture

Read the tokens before the prose: they show at a glance how strict a system is.

  • One family, 30 files. A single face sets every level, so hierarchy comes from size, weight, tracking and case alone. The accountancy practice file runs its headline from 44px on a phone to 118px wide, tracked to -0.055em. The sauna, cheesemonger, planetarium, fitness club and vet clinic files are in this group too, and a brand font swaps in most easily here.
  • A display face and a text face, 60 files. The display face often runs condensed or stretched: Mozilla Headline at 75 percent width in the architecture file and at 125 percent and weight 300 for the agency. The hotel pairs Source Serif 4 with Host Grotesk, the law firm sets Host Grotesk against Source Serif 4, and the construction file is the odd one: Host Grotesk carries nearly everything and TikTok Sans sets a single word.
  • Three faces, 16 files. Pet boarding, community and florist add a Playwrite handwriting face for letters, a signature or large script lines; the trampoline park uses Playpen Sans for its wordmark and stickers, and the bakery, swimming pool, streetwear and self storage files add a hand face as well; the film festival uses three cuts of one family. Each keeps the script to a few places, and the pet boarding file bars it from navigation and buttons.
  • Palette size. 32 files list 8 colour tokens or fewer, 52 list 9 to 11 and 22 list 12 or more. The print studio and the graphic design studio have the fewest, 4 each, and the bakery the most at 16. The cheesemonger file stays near the bottom with seven tokens, black, grey and white, and leaves colour to the photographs.
  • Corners. Twelve files declare a single radius, none: 0px: construction, architecture, agency, accountancy practice, law firm, sauna, cookery school, tile store, ceramic tile maker, wellness studio, print shop and car detailing. In 54 files the scale includes none, often beside full-round pills. The soft end is the vet clinic file, with six radii running from 10px through a 220px corner to fully round, and arched photo frames.
  • Ground and depth. Near-black or dark grounds carry the brewery, repair shop, festival, cinema, sauna, perfumery, bowling alley and car detailing files; paper, cream, pale grey and white carry most of the rest. Many files avoid soft drop shadows and build depth from flat layers, overlaps, colour steps or hard offsets with no blur, as the burger bar, the group fitness studio and the trail race do. The product launch file is the reverse: its raised and pressed shadows are the style.
  • Motion. Every index.html loads no library, so each Motion section describes CSS scroll-driven animations, the gate script and the data-8b-* attributes. The GSAP version beside it, index.gsap.html, runs the motion on GSAP, ScrollTrigger and Lenis; nearly half of those builds add SplitText and a few, the dance studio among them, MotionPathPlugin. Each Motion section names its idea in a few words (a press, a print run, pouring, dusk) and then walks the page section by section. For the techniques, see how the scroll effects are made.

Where each of the 106 DESIGN.md files lives

Each file sits next to its template's page, so the address is always the page address plus DESIGN.md: https://8b.com/templates/<slug>/DESIGN.md. Find the business type closest to yours, or the look you want, in the cards above and fetch that one. A few examples:

  • Plumber: https://8b.com/templates/ferrule/DESIGN.md
  • Pizzeria: https://8b.com/templates/monella/DESIGN.md
  • Law firm: https://8b.com/templates/fellgate/DESIGN.md
  • Daycare: https://8b.com/templates/mallow-house/DESIGN.md
  • SaaS landing page: https://8b.com/templates/murmur/DESIGN.md

The full list of 106 addresses is in the catalog's machine-readable files: every entry in https://8b.com/templates/index.json carries a design_md field, and llms.txt in the same folder names each file, so an agent can choose one by business type without opening 106 pages.

Which DESIGN.md to start from for which job

  • A SaaS or mobile app marketing site: the file of the live captioning app, with one family, warm neutrals and a green kept for what is yours or can be tapped. Weak spot: its components are buttons, a nav bar, caption bubbles, a review card and a field, so pricing tables and dashboards need parts it does not define.
  • A finance product or a plain B2B site: the bookkeeping firm file, in black, white, greys and one red, with square panels and fields drawn as a 1px bottom line. Weak spot: headings run from 34px to 112px on one vertical rule, so app screens need a smaller scale you set yourself.
  • A dark developer tool or tech service: the phone and laptop repair file, grained near-black against off-white, with tiny condensed uppercase labels for table heads and rows. Weak spot: its one accent, pure #0000ff, marks selection and hover and doubles as the error colour, and no token covers success or warning states.
  • Hardware or a calm smart-home product: the wall pad launch file, whose shadows are sized in em, so they scale with any key or card. Weak spot: the palette is greys only and its rules forbid accent colours, so a brand colour has nowhere to go.
  • A playful family brand, a game or a kids' venue: the indoor jump park file, with pills, 12px to 30px corners, tilts of 2 to 12 degrees and a hard offset shadow. Weak spot: three faces to load, two of them at weight 800.
  • Print, zines or band merch: the risograph studio file, four colour tokens and heavy Gabarito. Weak spot: the halftone dots, duotone photos and multiply blending live in CSS, so the tokens name the inks while the effects must come from the HTML.
  • A design studio that prints its own work: the studio that works in two inks file, with four colour tokens and Schibsted Grotesk alone. Weak spot: the extruded giant words are eight stacked copies of SVG text in the HTML, so the tokens alone cannot rebuild them.
  • A boutique stay, resort or travel brand: the remote cabin stays file, with dusk indigo, one ember orange and photo windows of up to 44px, a system that leans on photography. Weak spot: the ground shifts from rose through indigo to near black, and the scripts read the root variables at run time, so a recolour has to go through those variables.
  • A maker of tiles, glazes, paint or fabric swatches: the ceramics maker file, with thirteen glazes, square corners and 2px navy rings. Weak spot: its rules ban rounded cards, gradients, drop shadows and a third typeface, so a soft or tinted brand should start elsewhere.
  • An archive, family history project or records office: the genealogy research file, with four paper tints on a black desk and index tabs rounded only at the outer corners. Weak spot: the handwriting face is allowed only for notes and pressed words, and the photos need the perforated stamp edge to match.
  • A research-led agency or consultancy: the annual report agency file, built from cool grey, ink and one vermilion with Source Serif 4 at a light weight. Weak spot: the arrows and torn bits are clip-path shapes in the HTML, not tokens, and the file forbids shadows on buttons, cards and the nav.
  • An editor-style tool, a studio or a maker with a playful side: the walk-in copy shop file, with Reddit Sans alone, square corners, 1.5px ink borders and yellow reserved for things you can press or drag. Weak spot: each section gets one flat accent ground, so a design with many mixed colours per screen breaks its rules.
  • An event, race or club with a poster look: the mountain trail race file, with hard 4px shadows and lime stickers over black. Weak spot: every photo is greyscale under an orange glow, so a brand that needs colour photographs has to change that rule first.

Limits of the DESIGN.md format and of these files

  • The spec is alpha. Google says the DESIGN.md format, its token schema and the tool are under active development, so names and rules may change. These files follow version alpha as of October 2026.
  • Values are desktop values. Where the CSS uses clamp(), a token holds the wide-screen size and the prose usually gives the smaller sizes, so an agent that reads only the YAML could put 118px headings on a phone. Ask it to read the Typography section too.
  • Motion is our addition. The spec has no motion tokens, so the section is prose for an agent editing the scroll-driven CSS of pages that run without a library, not values a tool can apply.
  • Effects stay in the HTML. The gel manicure studio file records its 5px corners, its orange and the blur of 20px to 28px behind its translucent panes, but the orbs, the tilted rings and the pinned scenes are code, so the tokens alone will not rebuild them.
  • Fonts come from Google Fonts. A file names families and weights, not the stylesheet link, so a new page needs the same link or falls back to system faces.
  • Look, not content. A DESIGN.md carries no copy, photos or scripts, at most a few notes on the attributes the scripts read. The template's index.html has all of that, and its demo names, prices and addresses are invented.

Writing a DESIGN.md for your own site by hand

If you own the CSS, you can write the file yourself. For a DESIGN.md file template to fill in, copy the one closest to your site in structure, keep its section order and replace the values. A site made of colour tiles, for instance, can start from the learner driver lessons file, which separates large tiles, controls and buttons into three radii.

  1. List the custom properties in :root and every colour the page really uses, each with a role: primary is required; surface, on-surface or plain names such as night are fine.
  2. Pick 5 to 9 type levels from real elements (hero heading, section headings, body, labels, buttons) with family, size, weight, line height and letter spacing; for clamp(), write the desktop value and the range in prose.
  3. Note the radii in use, the gutter, the section padding and the maximum width, then define 4 to 8 components with references such as {typography.button}.
  4. Write the prose in the spec's order, add a Motion section and close with 6 to 10 do and don't rules.
  5. Run npx @google/design.md lint DESIGN.md and fix what it reports.

Questions about DESIGN.md files

What is a design.md file?

It is a Markdown file that describes how a product should look, for AI tools and people at once. Tokens at its head fix colours, type, radii, spacing and components; the sections under them explain how to apply those values. Google introduced it with Stitch.

Is DESIGN.md the same as a design system?

No. A design system is usually a whole kit: coded components, design files, guidelines and the people who maintain them. A DESIGN.md is a one-file summary of a visual system, written for an agent to follow before it writes code.

Does Claude Code read DESIGN.md?

Not on its own. Claude Code opens every session with CLAUDE.md, and the line @DESIGN.md in it brings the design file along; otherwise name DESIGN.md in your prompt. Codex reads AGENTS.md by itself, so add a line there that points to DESIGN.md.

Does Google Stitch use a DESIGN.md file, and can I import these?

Yes. Google says Stitch can export and import DESIGN.md files to carry a design system between projects, and the format is its open sourced draft spec. These files use it: tokens in YAML front matter, then the standard sections. Check Stitch for current import steps. Our Motion section is an extra heading, which the spec lets readers keep.

Can I use these DESIGN.md files for commercial sites?

Yes. The files and the templates they describe are MIT licensed by 8B, so you can use them on your own or a client's business site and change any value. Keep the template's MIT notice with the code; the photos follow the Unsplash License.

How do I validate a DESIGN.md file?

Run npx @google/design.md lint DESIGN.md in its folder. The linter checks the structure, flags token references that point to nothing and warns when a component's text and background fall below the WCAG AA ratio of 4.5:1, with the findings printed as JSON.

Why do these files have a Motion section?

Because the pages move and the spec has no place to say how. Each Motion section names the scroll timelines and the gate script that run the motion without a library, the one motion idea, what moves in each section and the timings the code sets, plus what reduced motion switches off.

Where do I find a DESIGN.md template, GitHub or elsewhere?

On GitHub: Google's repository google-labs-code/design.md holds the spec, the command line tool and a few examples. The 106 files here are served from 8b.com beside each template page, and each template's HTML has its own repository under the 8bsite account.

Beyond DESIGN.md: other collections and guides

All 106 templates