Card Pile.
A pure black table with a loose pile of tilted candy-colored cards tipped into the middle. Pure black pages with small, tight Familjen Grotesk type and IBM Plex Mono labels. One candy pink accent on square outlined buttons. The signature move is a pile of tilted, rounded cards (drawn photo prints, slide mounts, cassettes and plain color cards) stacked under a rounded square badge.
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 Card Pile 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 Card Pile style works
From the kit's DESIGN.md, the file your AI reads first. What is DESIGN.md?
Nostalgic and gallery-quiet. Pages are pure black with small, tight off-white grotesk type and a mono for labels, so the screen feels like a dark table. Then one loud move: a loose pile of tilted, rounded cards in candy colors (pink, cobalt, mint, butter, clay and a pale print white) tipped into the middle of the hero, with a rounded square badge sitting on top. Some cards are drawn photos with a white border and a typed caption, some are slide mounts, some are cassettes, some are plain color. Everything else stays flat and calm so the pile can be the memory.
Use it for: photo and archive services, retro hardware, collectibles, record labels, film labs, nostalgic consumer products, anniversary or "years of" campaigns, portfolios of physical things. Avoid it for: dense dashboards, B2B software that needs to look sober, anything where a playful pile of cards would feel unserious (health, legal, finance).
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 Card Pile 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 for Shoebox, an invented photo and tape scanning service, built only with the kit.
Fonts
All free on Google Fonts:
<link href="https://fonts.googleapis.com/css2?family=Familjen+Grotesk:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
| Role | Font | Use |
|---|---|---|
| Headlines and body | Familjen Grotesk 400 to 600 | Everything: hero, headings, nav, buttons, body. Headlines at 500, tight tracking. |
| Labels | IBM Plex Mono 400 | Uppercase eyebrows, chips, captions on prints, form labels, table headers, meta lines. |
One sans family only. Never add a serif.
Color
| Token | Hex | Role |
|---|---|---|
--cp-black |
#050505 | The page. Almost every section. |
--cp-coal |
#121212 | Quiet sections, cards, inputs, plans |
--cp-line |
#2A2A2A | Every border and divider |
--cp-paper |
#F4F1EA | Text, outlined buttons, the badge tile, one paper section per page |
--cp-soft |
#A3A09A | Leads and secondary text |
--cp-candy |
#F39AC0 | The main accent: primary button, featured plan border, active chip, focus |
--cp-cobalt |
#2F3FE0 | Card color |
--cp-mint |
#9FE3C4 | Card color |
--cp-butter |
#F2D675 | Card color |
--cp-clay |
#C9774F | Card color |
--cp-fog |
#D8D6D0 | The white border of a print |
Rules:
- Black is the default. One coal section and at most one paper section per page.
- Candy is the only color in the interface itself: one primary button per screen, the featured plan, chips. Cobalt, mint, butter and clay appear only on cards in a pile, a strip or a swatch.
- Drawn photos inside prints can use their own sky, sea and grass gradients (see .cp-scene). That's the only place gradients appear.
Type scale
| Token | Size | Use |
|---|---|---|
--cp-text-hero |
clamp(40px, 5.6vw, 76px) | Hero headline, weight 500, tracking -0.035em, line-height 1 |
--cp-text-h2 |
clamp(30px, 3.6vw, 48px) | Section headings, also article titles |
--cp-text-h3 |
22px | Card and plan titles |
--cp-text-lead |
19px | Soft gray sentence under a headline, max 560px |
--cp-text-body |
16px | Body |
--cp-text-micro |
12px | Mono labels, uppercase, tracking 0.08em |
Headlines are plain and warm ("Every family photo, scanned and safe"). Sentence case, no period.
Shape and space
- Cards and prints: 16px radius. The badge tile: 22px. Buttons and inputs: 2px, nearly square, with a 1px outline.
- Tilts: only cards in a pile or strip rotate, using
--cp-tilt-1to--cp-tilt-5(between -18 and 14 degrees). Set them through--r. Text, buttons and sections never tilt. Small swatches in feature cards may tilt a little. - Shadow:
--cp-dropsits under tilted cards only. Flat cards have a hairline border and no shadow. - Sections: 80px to 140px vertical padding. Container 1200px, text 720px.
- Motion: on hover a pile leans 15% further. Nothing bounces.
Components (in components.css)
.cponbody: base font, black background..cp-nav: logo mark, then three.cp-nav__colcolumns of two stacked links, then.cp-nav__count, a square outlined counter. Columns hide under 760px..cp-btn,--candy,--dark(for paper sections),--block: outlined square buttons..cp-pile: the signature. Holds absolutely placed.cp-printcards and one.cp-badge(a.cp-badge__tileplus two short lines of text)..cp-printwith--candy,--cobalt,--mint,--butter,--clay,--coal,--bordered(white border plus.cp-print__cap). Inside:.cp-scene(plus--dusk,--sea,--snow),.cp-slide, or.cp-tapewith.cp-tape__labeland.cp-tape__reels..cp-strip: a centered row of small tilted prints..cp-figurewith.cp-figure__pilefor a pile inside an article..cp-cardwith.cp-card__swatch,.cp-grid,.cp-stats,.cp-chip(--candy),.cp-quote,.cp-faq..cp-pricing,.cp-plan(--featured),.cp-table..cp-form,.cp-field,.cp-input,.cp-select,.cp-row,.cp-optionswith.cp-optionradio tiles,.cp-check..cp-article,.cp-meta,.cp-footer.
Pages in this kit
demo.html: landing page with the big pile, intro split, feature cards, steps, stats, a paper quote section and a small pile CTA.pricing.html: strip of prints, three plans, comparison table, FAQ.blog.html: care guide article with a pile figure and related posts.signup.html: order form with radio tiles beside a small pile.
Page recipe
.cp-navin a.cp-container.- Hero: a
.cp-pileof 6 to 8 prints with a.cp-badgein the middle, then.cp-hero__introwith the headline on the left and lead plus buttons on the right. - A
.cp-rule, then black and coal sections that alternate. One.cp-section--paperfor a quote. - End with a two-card pile next to the closing call to action, then
.cp-footer.
Pricing recipe: centered heading, a .cp-strip of five prints, .cp-pricing with the middle plan featured, a .cp-table, then a coal FAQ.
Article recipe: .cp-narrow header with a candy chip, title at h2 size, lead and .cp-meta; a .cp-figure pile; .cp-article body with one blockquote; related posts as small prints above titles.
Sign-up recipe: two columns. Left: label, title, lead and a three-card pile. Right: a coal .cp-form box with .cp-options first and one candy button.
Don'ts
- Don't tilt anything that isn't a card. Don't tilt text.
- Don't use more than one pile per screen, or more than 8 cards in a pile.
- Don't color buttons or headings cobalt, mint, butter or clay.
- Don't round buttons into pills.
- Don't add glows, gradients on surfaces or shadows on flat cards.
- Don't use a light page background except one paper section.
- No em dashes in copy.
The reference
The site this style was studied from. The kit uses its own colors, content and code.
Similar styles
A dark exhibition catalog where all the color comes from glowing orbs of light.
A precise hardware catalogue on pure black, with red LED readouts.
A loud black stage split into two glowing mesh-gradient doors, one for each side of your product.
A plain text page left open late at night: bracketed links, typed rules and charts drawn with characters.