Swell Card.
A sunny drawn seascape with a crisp white card floating over the waves. Every page opens on a full-bleed sky and sea drawn in inline SVG, with clouds, gulls and curling white crests, and a white card floats over its lower edge above a slate strip. Thin Jost headlines meet Mulish body text, electric blue drives the actions and one hot pink heart button stands out. Corners stay nearly square and uppercase buttons glow in their own color.
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 Swell Card 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 Swell Card style works
From the kit's DESIGN.md, the file your AI reads first. What is DESIGN.md?
Fresh, bright and hand-drawn. Every page opens on a full-bleed illustrated sky and sea, drawn in inline SVG: a soft blue sky, round cumulus clouds, a few gulls, a small sailboat and curling white wave crests. A crisp white card floats over the lower edge of that scene and holds the pitch and the main button, and a slate strip sits right under it with a few facts. Headlines are thin Jost at weight 300, body text is Mulish. There are two loud accents: electric blue for actions and a hot coral-pink for the one "support us" or "get started" button. Corners are nearly square and buttons are uppercase and letter-spaced with a colored glow beneath them. It feels open-air, friendly and a little storybook, but still tidy.
Use it for: travel and transport, ferries and tours, outdoor clubs, community software, creative tools, summer events, anything that should feel sunny and welcoming. Avoid it for: serious finance, legal or medical products, dark or nightlife brands, dense dashboards.
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 Swell Card 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. Draw scenes as inline SVG using the
.sw-scene__*classes.
demo.html (a landing page), pricing.html, blog.html and signup.html are complete example pages for an invented island ferry pass called Gullwing, built only with the kit.
Fonts
All free on Google Fonts:
<link href="https://fonts.googleapis.com/css2?family=Jost:wght@300;400;600&family=Mulish:wght@400;600;700&display=swap" rel="stylesheet">
| Role | Font | Use |
|---|---|---|
| Headlines | Jost 300 | Hero, section headings, card titles, big prices and numbers. Always thin. |
| Labels | Jost 600, uppercase, tracking 0.09em | Buttons, eyebrows, badges, form labels, table headers. |
| Body | Mulish 400 to 700 | Paragraphs, nav links, card text, form inputs. |
The wordmark is Jost 400, uppercase, tracking 0.12em.
Color
| Token | Hex | Role |
|---|---|---|
--sw-mist |
#F4F7FA | Page background below the hero, quiet sections |
--sw-white |
#FFFFFF | Cards, the floating card, nav, alternate sections |
--sw-line |
#DBE3EB | Every border and divider |
--sw-ink |
#1A232B | Text |
--sw-soft |
#56636E | Secondary text, card body |
--sw-slate |
#2F3D47 | The strip under the hero, quote section, footer |
--sw-blue |
#1784EE | Primary buttons (as a top to bottom gradient), links, active toggles, card top borders |
--sw-pink |
#F2467C | One heart button per page, a "Most loved" badge, list bullets, the pink sail |
--sw-sky-top |
#4FB3EC | Top of the drawn sky |
--sw-sea |
#1B8FD9 | Front water in the scene |
--sw-sea-deep |
#0D63B0 | Horizon and back water |
--sw-green |
#2BB673 | Tick bullets and "On time" style statuses only |
Rules:
- The sky gradient (--sw-gradient-sky) belongs to drawn scenes only: the hero, the pricing header, the sign-up page, the call to action band, the blog cover and small card tiles.
- Blue is the action color. Pink appears once or twice per screen: one heart button, one badge, small bullets.
- Text sitting on the sky is white with the soft blue text shadow from the examples; leads on the sky are ink.
- No other gradients and no photos. Everything visual is a drawn scene.
Type scale
| Token | Size | Use |
|---|---|---|
--sw-text-hero |
clamp(44px, 6.4vw, 84px) | Landing hero, white on the sky, 2 or 3 lines |
.sw-h1 |
clamp(38px, 5vw, 64px) | Page titles on inner pages and articles |
--sw-text-h2 |
clamp(32px, 4vw, 48px) | Section headings |
--sw-text-h3 |
24px | Sub-headings (Jost 400) |
--sw-text-lead |
19px | The sentence under a headline |
--sw-text-body |
16px | Body; article prose is 18px |
Headlines are plain, sunny sentences in sentence case ("Pick how far you want to sail"). No end period.
Shape and space
- Radius: 2px on cards, the floating card and inputs; 4px on buttons; 8px on product UI like the boarding pass. Pills only for avatars.
- Borders: 1px
--sw-line. Cards carry a 3px or 4px colored top border instead of an outline (blue, or line color on plain plans). - Shadows:
--sw-shadow-softon cards,--sw-shadow-cardon the floating card and featured items, and the colored glows--sw-glow-blue/--sw-glow-pinkunder filled buttons. - Inputs have a slightly heavier 2px bottom edge.
- Sections: 64px to 112px of vertical padding. Container 1200px, reading width 740px.
- Motion: clouds drift slowly sideways (
.sw-drift), content rises in once (.sw-rise). Both switch off for reduced motion.
Drawing scenes
Every scene is an inline <svg class="sw-scene"> with preserveAspectRatio="xMidYMax slice", so the sea always stays at the bottom edge. Build it from these parts, back to front:
.sw-scene__sun: one pale circle.- Clouds: 3 or 4 overlapping
.sw-scene__cloudcircles on a roundedrectbase; add one.sw-scene__cloud-shadecircle behind for depth. - Gulls:
.sw-scene__gullpaths shaped like a flat "m" (qcurves), 2 to 4 per scene, kept away from headlines. .sw-scene__sea-deep: a flat band for the horizon. A small boat (.sw-scene__sail,.sw-scene__accentsail,.sw-scene__hull) can sit on it..sw-scene__sea: a wavy path in front, then.sw-scene__foamcrests that taper to a point, and a few.sw-scene__foam-linestrokes.
Components (in components.css)
| Class | What it is |
|---|---|
.sw-nav, __inner, .sw-nav__links, .sw-nav__actions |
White bar: logo, blue text links, an outline "Log in" and a pink heart button |
.sw-logo, __mark, __disc/__wave/__gull |
Spaced uppercase wordmark with a round drawn mark |
.sw-hero, .sw-hero__inner, .sw-hero__title |
Full-bleed sky with a scene, the title top left in white |
.sw-scene, .sw-scene__* |
The drawn scene and its parts |
.sw-float, __row |
The white card that floats over the scene, bottom right on desktop |
.sw-strip, __items, __item |
Slate strip under the hero with bold numbers |
.sw-hero-title, .sw-h1/h2/h3, .sw-lead, .sw-eyebrow, .sw-accent |
Type |
.sw-btn--primary/heart/outline/white/ghost, --sm, --block |
Uppercase buttons; primary is a blue gradient with a glow, heart is pink |
.sw-head |
Section heading with an outline "See all" button beside it |
.sw-grid, .sw-card, __title/__meta/__text/__icon, --tile |
White cards; the tile version has a blue top border and an icon beside the text |
.sw-tile-art |
A small drawn scene across the top of a card |
.sw-badge, --pink/--green/--slate |
Small square uppercase labels |
.sw-split, .sw-ticks |
Two-column feature with green tick bullets |
.sw-pass, __top/__route/__port/__line/__foot |
A boarding pass as product UI |
.sw-quote, .sw-byline, .sw-avatar |
Thin pull quote with initials avatar |
.sw-stats, .sw-stat__num/__label |
Big thin numbers |
.sw-cta, .sw-cta__card |
Call to action band over its own scene |
.sw-toggle |
Square segmented toggle; active is solid blue |
.sw-plans, .sw-plan, --featured, __label/__name/__desc/__price/__list |
Three plan cards that overlap the sea at the bottom of the pricing header |
.sw-table-wrap, .sw-table, __yes/__no |
Comparison table, scrolls sideways on small screens |
.sw-faq |
FAQ cards from <details>, blue plus that turns into a cross |
.sw-article-head, .sw-meta, .sw-cover, __credit |
Article header and a drawn cover with a slate credit tag |
.sw-prose, .sw-callout |
Article text: thin h2, blue uppercase h3, pink bullets, blue-edged quote; callout has a pink edge |
.sw-author, --card |
Author line and closing author card |
.sw-form, .sw-field, .sw-label, .sw-input, .sw-select, .sw-input-wrap, .sw-input-toggle, .sw-help, .sw-error, .sw-field--error, .sw-check |
Forms with uppercase labels and pink errors |
.sw-btn--social, .sw-btn__letter, .sw-divider-text, .sw-steps |
Sign-up helpers: letter-tile social buttons (no brand logos), "or" divider and step bars |
.sw-footer, __cols, __bottom |
Slate four-column footer |
.sw-rise, .sw-drift |
Motion |
Pages in this kit
demo.html: landing page (scene hero with floating card, slate strip, route cards with drawn tiles, a split feature with a boarding pass, icon tiles, slate quote and stats, a scene call to action, footer).pricing.html: a scene header with a toggle, plan cards overlapping the sea, a comparison table, an FAQ and a strip.blog.html: an article with a drawn cover, prose, a callout, an author card and related posts.signup.html: a full scene with the intro on the left and the form in a floating card.
Page recipe
- White nav with blue links, an outline "Log in" and one pink heart button.
- Scene hero: white thin headline top left, the floating white card bottom right with 2 or 3 sentences and the blue primary button.
- Slate strip with 3 bold numbers and one live status.
- On mist: a section heading with an outline "See all", then 3 or 4 cards, each topped with a small drawn tile.
- White section: a split with ticks on one side and a piece of product UI on the other.
- Slate section for a quote and big numbers.
- Scene call to action, then the slate footer.
Pricing recipe: a scene header with eyebrow, h1, lead and toggle; plan cards pulled up with a negative top margin so they sit on the sea; table on mist; FAQ on white; a slate strip with one heart button.
Article recipe: white page, badge, h1, lead and author meta in the 740px column, a full-width drawn cover with a slate credit, 18px prose, author card, related cards on mist.
Sign-up recipe: one big scene behind everything, intro text in white on the sky, the form in .sw-float with step bars, letter-tile social buttons, an "or" divider and a full-width primary button.
Don'ts
- Don't use photos or stock illustrations. Draw the scene with the scene classes.
- Don't make headlines bold. Jost stays at 300; weight goes into the uppercase labels.
- Don't round corners past 8px or use pill buttons.
- Don't use more than one pink button per screen.
- Don't put white text on the white clouds: keep clouds and gulls clear of headlines.
- Don't add a dark mode. This style is daylight.
The reference
The site this style was studied from. The kit uses its own colors, content and code.
Similar styles
A ruled white page with a left rail, rose pills and one hand-drawn magenta asterisk.
A bright shared whiteboard where everyone's cursor is already on the page.
Warm charcoal, huge heavy headlines and one flame-orange accent, with the week drawn as a glowing time grid.
Light headlines that land on one heavy word, with a dark workbench full of bright cards.