---
version: "DESIGN.md Pro"
name: Storybook Analysis
analyzedBy: getdesign.md
license: "getdesign.md License — https://getdesign.md/license"
# Third-party analysis, not affiliated with Storybook. Keep the analyzedBy and license lines when copying or sharing this file.
description: "An analysis of Storybook's design language — a developer-tool site that opens on a midnight-navy home page lit by pink, orange and blue glows, then switches to bright white catalog and documentation pages built from thin zinc hairlines, Nunito Sans and a single sky-blue link color, with fully round pill controls throughout."
colors:
primary: "#029cfd"
on-primary: "#ffffff"
action-blue: "#1778e9"
link-deep: "#0d64ca"
brand-pink: "#ff4785"
glow-orange: "#fc511f"
glow-blue: "#4791ff"
showcase-blue: "#1ea7fd"
canvas: "#ffffff"
surface-midnight: "#0d1026"
surface-abyss: "#020617"
surface-soft: "#f8fafc"
surface-callout: "#e3f2ff"
surface-showcase: "#f3faff"
surface-graphite: "#3f3f46"
surface-pebble: "#dddddd"
hairline: "#e4e4e7"
hairline-strong: "#d4d4d8"
hairline-slate: "#e2e8f0"
hairline-midnight: "#252840"
ink: "#000000"
ink-secondary: "#52525b"
ink-muted: "#71717a"
ink-slate: "#475569"
ink-footer: "#1e293b"
ink-charcoal: "#333333"
ink-footer-link: "#94a3b8"
ink-caption: "#a1a1aa"
typography:
display:
fontFamily: Nunito Sans
fontSize: 56px
fontWeight: 700
lineHeight: 70px
letterSpacing: 0
heading-lg:
fontFamily: Nunito Sans
fontSize: 40px
fontWeight: 700
lineHeight: 48px
letterSpacing: -0.4px
heading-xl:
fontFamily: Nunito Sans
fontSize: 36px
fontWeight: 700
lineHeight: 40px
letterSpacing: 0
heading-md:
fontFamily: Nunito Sans
fontSize: 24px
fontWeight: 700
lineHeight: 32px
letterSpacing: 0
heading-sm:
fontFamily: Nunito Sans
fontSize: 20px
fontWeight: 700
lineHeight: 28px
letterSpacing: 0
quote:
fontFamily: Nunito Sans
fontSize: 20px
fontWeight: 400
lineHeight: 32px
letterSpacing: 0
body-lg:
fontFamily: Nunito Sans
fontSize: 16px
fontWeight: 400
lineHeight: 28px
letterSpacing: 0
body:
fontFamily: Nunito Sans
fontSize: 16px
fontWeight: 400
lineHeight: 24px
letterSpacing: 0
body-strong:
fontFamily: Nunito Sans
fontSize: 16px
fontWeight: 700
lineHeight: 24px
letterSpacing: 0
button-lg:
fontFamily: Nunito Sans
fontSize: 16px
fontWeight: 700
lineHeight: 24px
letterSpacing: 0
body-sm:
fontFamily: Nunito Sans
fontSize: 14px
fontWeight: 400
lineHeight: 20px
letterSpacing: 0
label:
fontFamily: Nunito Sans
fontSize: 14px
fontWeight: 700
lineHeight: 20px
letterSpacing: 0
button-legacy:
fontFamily: Nunito Sans
fontSize: 14px
fontWeight: 800
lineHeight: 14px
letterSpacing: 0
caption:
fontFamily: Nunito Sans
fontSize: 12px
fontWeight: 400
lineHeight: 16px
letterSpacing: 0
caption-strong:
fontFamily: Nunito Sans
fontSize: 12px
fontWeight: 700
lineHeight: 16px
letterSpacing: 0
eyebrow:
fontFamily: Nunito Sans
fontSize: 12px
fontWeight: 700
lineHeight: 16px
letterSpacing: 1.2px
code:
fontFamily: ui-monospace
fontSize: 14px
fontWeight: 400
lineHeight: 20px
letterSpacing: 0
rounded:
none: 0px
xs: 4px
sm: 5px
md: 6px
lg: 22px
pill: 42px
full: 9999px
spacing:
xxs: 4px
xs: 8px
sm: 12px
md: 16px
lg: 24px
xl: 32px
xxl: 48px
section: 112px
components:
button-hero-light:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.button-lg}"
rounded: "{rounded.full}"
padding: 0 24px
height: 48px
button-hero-outline:
textColor: "{colors.on-primary}"
typography: "{typography.button-lg}"
rounded: "{rounded.full}"
padding: 0 24px
height: 48px
button-header-light:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.caption-strong}"
rounded: "{rounded.full}"
padding: 0 12px
height: 32px
button-header-graphite:
backgroundColor: "{colors.surface-graphite}"
textColor: "{colors.on-primary}"
typography: "{typography.caption-strong}"
rounded: "{rounded.full}"
padding: 0 12px
height: 32px
button-outline-dark:
textColor: "{colors.on-primary}"
typography: "{typography.label}"
rounded: "{rounded.full}"
padding: 0 16px
height: 40px
button-primary:
backgroundColor: "{colors.primary}"
textColor: "{colors.on-primary}"
typography: "{typography.label}"
rounded: "{rounded.full}"
padding: 0 20px
height: 40px
button-sticky-cta:
backgroundColor: "{colors.action-blue}"
textColor: "{colors.on-primary}"
typography: "{typography.label}"
rounded: "{rounded.full}"
padding: 0 16px
height: 28px
button-subscribe:
backgroundColor: "{colors.action-blue}"
textColor: "{colors.on-primary}"
typography: "{typography.label}"
rounded: "{rounded.md}"
padding: 0 8px
height: 32px
button-copy:
backgroundColor: "{colors.surface-graphite}"
textColor: "{colors.on-primary}"
typography: "{typography.label}"
rounded: "{rounded.md}"
padding: 0 8px
height: 32px
button-copy-markdown:
textColor: "{colors.ink-muted}"
typography: "{typography.label}"
rounded: "{rounded.md}"
padding: 0 8px
height: 28px
button-copy-prompt:
textColor: "{colors.action-blue}"
typography: "{typography.label}"
rounded: "{rounded.md}"
padding: 0 8px
height: 32px
button-showcase-cta:
backgroundColor: "{colors.showcase-blue}"
textColor: "{colors.on-primary}"
typography: "{typography.button-legacy}"
rounded: "{rounded.pill}"
padding: 13px 20px
height: 40px
button-load-more:
backgroundColor: "{colors.surface-pebble}"
textColor: "{colors.ink-charcoal}"
typography: "{typography.button-legacy}"
rounded: "{rounded.pill}"
padding: 13px 20px
height: 40px
button-social-dark:
textColor: "{colors.on-primary}"
rounded: "{rounded.full}"
size: 48px
button-social-light:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink-footer}"
rounded: "{rounded.full}"
size: 48px
feature-card-dark:
textColor: "{colors.on-primary}"
typography: "{typography.body-strong}"
rounded: "{rounded.sm}"
padding: 24px
agent-skill-card:
textColor: "{colors.on-primary}"
typography: "{typography.body-strong}"
rounded: "{rounded.xs}"
padding: 20px
agent-skill-card-active:
textColor: "{colors.on-primary}"
typography: "{typography.body-strong}"
rounded: "{rounded.xs}"
padding: 20px
addon-card:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.body}"
rounded: "{rounded.xs}"
padding: 24px
framework-card:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.body-strong}"
rounded: "{rounded.md}"
padding: 0 0 0 20px
height: 80px
concept-card:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink-slate}"
typography: "{typography.body-sm}"
rounded: "{rounded.md}"
padding: 24px
code-block:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.code}"
rounded: "{rounded.xs}"
padding: 16px
ai-callout:
backgroundColor: "{colors.surface-callout}"
textColor: "{colors.ink}"
typography: "{typography.body}"
rounded: "{rounded.xs}"
padding: 24px
callout-showcase:
backgroundColor: "{colors.surface-showcase}"
textColor: "{colors.ink-charcoal}"
typography: "{typography.body}"
rounded: "{rounded.sm}"
padding: 40px
project-tile:
textColor: "{colors.on-primary}"
typography: "{typography.body-strong}"
rounded: "{rounded.md}"
height: 180px
showcase-tile:
textColor: "{colors.on-primary}"
typography: "{typography.label}"
rounded: "{rounded.sm}"
height: 186px
testimonial-block:
textColor: "{colors.on-primary}"
typography: "{typography.quote}"
community-column:
textColor: "{colors.on-primary}"
typography: "{typography.body}"
rounded: "{rounded.md}"
padding: 24px
feedback-pill:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.body-sm}"
rounded: "{rounded.full}"
padding: 0 12px 0 20px
height: 48px
gradient-badge:
textColor: "{colors.on-primary}"
typography: "{typography.caption}"
rounded: "{rounded.full}"
padding: 6px 12px
height: 30px
new-badge:
textColor: "{colors.on-primary}"
typography: "{typography.caption}"
rounded: "{rounded.full}"
padding: 2px 8px
stat-pair:
textColor: "{colors.on-primary}"
typography: "{typography.body}"
input-subscribe:
backgroundColor: "{colors.canvas}"
typography: "{typography.body}"
rounded: "{rounded.md}"
padding: 0 100px 0 16px
height: 48px
input-search-addons:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.body}"
rounded: "{rounded.full}"
padding: 0 0 0 40px
height: 40px
input-showcase-filter:
textColor: "{colors.ink-charcoal}"
typography: "{typography.body-sm}"
rounded: "{rounded.lg}"
padding: 12px 40px 12px 30px
height: 40px
header-dark:
textColor: "{colors.on-primary}"
typography: "{typography.label}"
height: 73px
header-light:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink-muted}"
typography: "{typography.label}"
height: 73px
nav-link-dark:
textColor: "{colors.on-primary}"
typography: "{typography.label}"
rounded: "{rounded.md}"
padding: 0 8px
height: 32px
nav-link-light:
textColor: "{colors.ink-muted}"
typography: "{typography.label}"
rounded: "{rounded.md}"
padding: 0 8px
height: 32px
nav-link-active:
textColor: "{colors.primary}"
typography: "{typography.label}"
rounded: "{rounded.md}"
padding: 0 8px
height: 32px
nav-search-pill-dark:
textColor: "{colors.on-primary}"
typography: "{typography.body-sm}"
rounded: "{rounded.full}"
padding: 0 12px
height: 32px
nav-search-pill-light:
textColor: "{colors.ink-muted}"
typography: "{typography.body-sm}"
rounded: "{rounded.full}"
padding: 0 12px
height: 32px
nav-sticky-section-bar:
backgroundColor: "{colors.surface-abyss}"
textColor: "{colors.on-primary}"
typography: "{typography.label}"
height: 72px
nav-hero-tabs:
textColor: "{colors.on-primary}"
typography: "{typography.body}"
height: 80px
nav-subnav-tab-active:
textColor: "{colors.link-deep}"
typography: "{typography.label}"
height: 64px
nav-subnav-tab:
textColor: "{colors.ink-secondary}"
typography: "{typography.label}"
height: 64px
nav-category-list:
textColor: "{colors.ink-secondary}"
typography: "{typography.body-sm}"
padding: 5px 8px
nav-docs-sidebar:
textColor: "{colors.ink-secondary}"
typography: "{typography.body-sm}"
padding: 5px 8px
nav-docs-toc:
textColor: "{colors.surface-graphite}"
typography: "{typography.body-sm}"
footer-dark:
backgroundColor: "{colors.surface-midnight}"
textColor: "{colors.ink-footer-link}"
typography: "{typography.body}"
footer-light:
backgroundColor: "{colors.surface-soft}"
textColor: "{colors.ink-secondary}"
typography: "{typography.body}"
---
## Overview
Storybook's site runs on two moods that share one type family and one shape language. The home page is a midnight-navy (`{colors.surface-midnight}`) long-scroll: its hero is lit by three soft radial glows in Storybook pink, orange and blue, and every section below sits on flat navy split by thin zinc rules. Product screenshots of the Storybook UI and editor windows carry most of the color there; the chrome itself stays white, navy and one sky blue.
Every other page (the addon catalog, documentation, showcase) flips to a bright white canvas with a translucent header, zinc hairlines and quiet grey labels. Density rises: addon cards in a three-column grid, docs in a three-column layout of sidebar, article and "On this page" list. Interactive text is `{colors.primary}`, the sky blue that marks links, active categories, the active docs entry and the catalog's one filled button.
Shapes are consistent: controls are fully round pills, cards use small 4–6px corners and 1px borders, and there are no drop shadows on brand chrome. Nunito Sans, rounded and friendly, sets everything from the 56px hero to 12px captions. The showcase gallery keeps an older look (42px-radius buttons, a heavier 800-weight label, a pale-blue callout) that sits beside the newer system.
**Key Characteristics:**
- Dark navy home page with a pink / orange / blue glow behind the hero; white canvas everywhere else.
- One link color, `{colors.primary}`, across both modes; `{colors.action-blue}` for the sticky "Get started" and the footer "Subscribe".
- Pill controls (`{rounded.full}`) in the header, hero and community rows; 4–6px corners on cards and docs controls.
- Hairline-only depth: 1px zinc and slate borders, no card shadows.
- Content-heavy visuals: Storybook UI screenshots, addon icons and project tiles bring their own colors.
- Page rhythm on home: glowing hero, navy feature sections divided by 1px rules, community band, dark footer.
## Colors
### Brand & Accent
- **Sky Blue** (`{colors.primary}` — #029cfd): text links ("Why build UIs in isolation?"), "Add your addon" fill, active addon category, active docs entry and TOC link.
- **On Primary** (`{colors.on-primary}` — #ffffff): labels on blue fills and all text on the navy home page.
- **Action Blue** (`{colors.action-blue}` — #1778e9): the sticky bar "Get started" pill, footer "Subscribe" and the "Copy prompt" label.
- **Deep Link Blue** (`{colors.link-deep}` — #0d64ca): active sub-tab label and its 2px underline on the addons page.
- **Storybook Pink** (`{colors.brand-pink}` — #ff4785): the logo mark, the left hero glow and the gradient badge rim.
- **Glow Orange** (`{colors.glow-orange}` — #fc511f): the upper-right hero glow.
- **Glow Blue** (`{colors.glow-blue}` — #4791ff): the lower hero glow and the gradient badge rim.
- **Showcase Blue** (`{colors.showcase-blue}` — #1ea7fd): "Learn about the showcase" on the showcase page.
### Surface
- **Canvas** (`{colors.canvas}` — #ffffff): page ground of addons, docs and showcase; hero "Get Started" fill.
- **Midnight** (`{colors.surface-midnight}` — #0d1026): the whole home page and its footer.
- **Abyss** (`{colors.surface-abyss}` — #020617): the sticky section bar that appears on home-page scroll.
- **Soft Slate** (`{colors.surface-soft}` — #f8fafc): light footer and the code block header strip.
- **Callout Blue** (`{colors.surface-callout}` — #e3f2ff): the docs "Ask your AI agent" callout.
- **Showcase Tint** (`{colors.surface-showcase}` — #f3faff): the "Add your project" callout.
- **Graphite** (`{colors.surface-graphite}` — #3f3f46): "Get Started" on light headers, docs "Copy", dark footer top rule.
- **Pebble** (`{colors.surface-pebble}` — #dddddd): the "Load more projects" pill.
- **Hairline** (`{colors.hairline}` — #e4e4e7): input, social circle, feedback pill and light footer borders.
- **Hairline Strong** (`{colors.hairline-strong}` — #d4d4d8): addon card, addon search and code block borders.
- **Hairline Slate** (`{colors.hairline-slate}` — #e2e8f0): docs framework and concept card borders.
- **Hairline Midnight** (`{colors.hairline-midnight}` — #252840): the 10%-white border of feature cards on navy.
### Text
- **Ink** (`{colors.ink}` — #000000): headings and body on white pages.
- **Ink Secondary** (`{colors.ink-secondary}` — #52525b): inactive sub-tabs, categories, docs sidebar links, light footer links; also the section rules and skill-card borders on navy.
- **Ink Muted** (`{colors.ink-muted}` — #71717a): light header links, "Search docs" label, "Copy markdown".
- **Ink Slate** (`{colors.ink-slate}` — #475569): docs card descriptions and framework sub-labels.
- **Footer Ink** (`{colors.ink-footer}` — #1e293b): light footer headings and social icons.
- **Charcoal** (`{colors.ink-charcoal}` — #333333): showcase body copy and "Load more projects" label.
- **Footer Link** (`{colors.ink-footer-link}` — #94a3b8): footer links on navy.
- **Caption Grey** (`{colors.ink-caption}` — #a1a1aa): testimonial roles and footer fine print on navy.
### Brand Gradient
- **Hero Glow** (`{colors.brand-pink}` — #ff4785): three closest-side radial gradients (pink at left, `{colors.glow-orange}` top right at 80% opacity, `{colors.glow-blue}` lower centre at 90%) over a fine texture, fading into `{colors.surface-midnight}` within about 1,500px.
## Typography
### Font Family
Nunito Sans (weights 400, 500, 700, 800) carries every role. Code blocks and the hero's terminal command use the platform `ui-monospace` stack.
### Hierarchy
| Token | Size | Weight | Line height | Letter spacing | Use |
|---|---|---|---|---|---|
| `{typography.display}` | 56px | 700 | 70px | 0 | Home hero and section headlines |
| `{typography.heading-lg}` | 40px | 700 | 48px | -0.4px | Showcase page title |
| `{typography.heading-xl}` | 36px | 700 | 40px | 0 | Addons and docs page titles |
| `{typography.heading-md}` | 24px | 700 | 32px | 0 | Feature titles, docs h2, "Categories" |
| `{typography.heading-sm}` | 20px | 700 | 28px | 0 | "Need some help?" |
| `{typography.quote}` | 20px | 400 | 32px | 0 | Testimonials |
| `{typography.body-lg}` | 16px | 400 | 28px | 0 | Hero lead, docs prose |
| `{typography.body}` | 16px | 400 | 24px | 0 | Default text, footer links |
| `{typography.body-strong}` | 16px | 700 | 24px | 0 | Card titles, text links |
| `{typography.button-lg}` | 16px | 700 | 24px | 0 | Hero buttons |
| `{typography.body-sm}` | 14px | 400 | 20px | 0 | Sidebar links, card copy |
| `{typography.label}` | 14px | 700 | 20px | 0 | Nav links, 40px buttons |
| `{typography.button-legacy}` | 14px | 800 | 14px | 0 | Showcase buttons |
| `{typography.caption}` | 12px | 400 | 16px | 0 | Badges, "Downloads" |
| `{typography.caption-strong}` | 12px | 700 | 16px | 0 | Header "Get Started", star count |
| `{typography.eyebrow}` | 12px | 700 | 16px | 1.2px | "MADE FOR", uppercase |
| `{typography.code}` | 14px | 400 | 20px | 0 | Code blocks |
### Principles
Weight does the work: headlines are 700 and only the showcase pushes to 800. Letter spacing stays at zero except the tracked uppercase eyebrows. Body copy on marketing and docs gets a generous 28px line height, while UI labels sit at a tight 20px. On navy, secondary text is white at 60–80% rather than a separate grey.
### Note on Font Substitutes
Nunito Sans is on Google Fonts. For `ui-monospace`, JetBrains Mono or SF Mono are close matches.
## Layout
### Spacing System
An 8px base: `{spacing.xs}` 8px inside pills, `{spacing.md}` 16px and `{spacing.lg}` 24px for card padding, `{spacing.xxl}` 48px between docs blocks, `{spacing.section}` 112px above each home section.
### Grid & Container
Home content spans 1376px with 32px gutters, often split into two 648px halves (headline left, lead right). Addons use a 250px category column beside a three-column card grid. Docs use a 240px sidebar, a 720px article and a 210px "On this page" list. Showcase is a 1080px container with three tile columns.
### Whitespace Philosophy
Home sections breathe with 112px tops and long sticky scroll zones; catalog and docs pages are compact, with 16–24px gaps so many cards fit per screen.
### Responsive Strategy
#### Breakpoints
| Name | Width | Behavior |
|---|---|---|
| 2xl | 1536px | Max content width |
| xl | 1280px | Full desktop grid |
| lg | 1024px | Docs TOC drops |
| md | 768px | Two-column grids |
| sm | 640px | Single column |
| xs | 440px | Compact phone |
#### Touch Targets
Pill buttons are 40–48px tall and social circles 48px; header pills and nav links are 32px.
#### Collapsing Strategy
Header links fold into a menu, two-column home sections stack headline above lead, and card grids go from three to one column.
#### Image Behavior
Storybook UI screenshots scale inside their window frames; project tiles keep fixed aspect cards.
## Elevation & Depth
| Level | Treatment | Use |
|---|---|---|
| 0 | Flat fill | Bands, footers, tiles |
| 1 | 1px hairline border | Cards, inputs, pills |
| 2 | Translucent white header with backdrop blur | Light-page header |
| 3 | Conic gradient rim | Gradient badge, AI callout |
### Decorative Depth
Depth on home comes from the hero glows and the blurred aurora, not shadows. The showcase inputs use a 1px inset shadow instead of a border.
## Shapes
### Border Radius Scale
| Token | Value | Use |
|---|---|---|
| `{rounded.none}` | 0px | Bands, tabs |
| `{rounded.xs}` | 4px | Addon cards, skill cards, code blocks |
| `{rounded.sm}` | 5px | Feature cards, showcase tiles |
| `{rounded.md}` | 6px | Nav links, docs buttons, inputs |
| `{rounded.lg}` | 22px | Showcase filter input |
| `{rounded.pill}` | 42px | Showcase buttons |
| `{rounded.full}` | 9999px | Pills, badges, social circles |
### Photography Geometry
Community photos and video stills sit in 6px-cornered rectangles in a three-up row; product screenshots live inside window frames with traffic-light dots.
## Components
### Buttons
**`button-hero-light`** — "Get Started" in the home hero, the main call to action.
- `{colors.canvas}` fill, `{colors.ink}` label in `{typography.button-lg}`, `{rounded.full}`, padding 0 24px, 48px tall. No border or shadow; it is the only white-filled control in the hero.
**`button-hero-outline`** — "npm create storybook@latest" beside it, a copy-to-clipboard command.
- Transparent with a 1px white border, `{colors.on-primary}` label in `{typography.button-lg}`, `{rounded.full}`, padding 0 24px, 48px tall, with a small copy icon after the command.
**`button-header-light`** — "Get Started" at the right end of the home header.
- `{colors.canvas}` fill, `{colors.ink}` label in `{typography.caption-strong}`, `{rounded.full}`, padding 0 12px, 32px tall, the only filled item in the dark header.
**`button-header-graphite`** — the same "Get Started" on addons and docs headers.
- `{colors.surface-graphite}` fill, `{colors.on-primary}` label in `{typography.caption-strong}`, `{rounded.full}`, padding 0 12px, 32px tall; otherwise identical to `button-header-light`.
**`button-outline-dark`** — "Learn how to set up Storybook in CI", "Get involved", "Star on Github", "Join Discord server".
- Transparent with a 1px white border, `{colors.on-primary}` label in `{typography.label}`, `{rounded.full}`, padding 0 16px, 40px tall. The standard secondary action on navy.
**`button-primary`** — "Add your addon" at the top right of the addons page.
- `{colors.primary}` fill, `{colors.on-primary}` label in `{typography.label}`, `{rounded.full}`, padding 0 20px, 40px tall, with a plus icon before the label.
**`button-sticky-cta`** — "Get started" at the right of the sticky section bar.
- `{colors.action-blue}` fill, `{colors.on-primary}` label in `{typography.label}`, `{rounded.full}`, padding 0 16px, 28px tall, next to a plain "Jump to top" link with an up arrow.
**`button-subscribe`** — "Subscribe" nested inside the footer email field.
- `{colors.action-blue}` fill, `{colors.on-primary}` label in `{typography.label}`, `{rounded.md}`, padding 0 8px, 32px tall, sitting 8px inside the right edge of `input-subscribe`.
**`button-copy`** — "Copy" in the docs code block header.
- `{colors.surface-graphite}` fill, `{colors.on-primary}` label in `{typography.label}`, `{rounded.md}`, padding 0 8px, 32px tall, with a copy icon; an "npm" dropdown sits to its left.
**`button-copy-markdown`** — "Copy markdown" under the docs page title.
- Transparent with a 1px `{colors.hairline-strong}` border, `{colors.ink-muted}` label in `{typography.label}`, `{rounded.md}`, padding 0 8px, 28px tall.
**`button-copy-prompt`** — "Copy prompt" on the right of the AI callout.
- Ghost button: no fill or border, `{colors.action-blue}` label in `{typography.label}`, `{rounded.md}`, padding 0 8px, 32px tall, with a copy icon before the label.
**`button-showcase-cta`** — "Learn about the showcase" inside the showcase callout.
- `{colors.showcase-blue}` fill, `{colors.on-primary}` label in `{typography.button-legacy}`, `{rounded.pill}`, padding 13px 20px, 40px tall. The older showcase button shape.
**`button-load-more`** — "Load more projects" under the showcase grid.
- `{colors.surface-pebble}` fill, `{colors.ink-charcoal}` label in `{typography.button-legacy}`, `{rounded.pill}`, padding 13px 20px, 40px tall; otherwise identical to `button-showcase-cta`.
**`button-social-dark`** — GitHub, Bluesky, X, Discord and YouTube circles in the dark footer.
- 48px circle at `{rounded.full}`, transparent with a 1px `{colors.surface-graphite}` border and a centred `{colors.on-primary}` icon; five stand in a row at the right.
**`button-social-light`** — the same row in the light footer.
- `{colors.canvas}` fill, 1px `{colors.hairline}` border, `{colors.ink-footer}` icon, `{rounded.full}`, 48px; otherwise identical to `button-social-dark`.
### Cards & Containers
**`feature-card-dark`** — the six testing cards ("Track edge cases", "Visual test appearance", "Test in CI").
- Transparent on navy with a 1px `{colors.hairline-midnight}` border, `{rounded.sm}`, padding 24px. A colored icon at left, title in `{typography.body-strong}` `{colors.on-primary}`, description in white at 80%; three per row.
**`agent-skill-card`** — "Write stories", "Test stories", "UI review", "UI workflow" in the agents section.
- Transparent, 1px `{colors.ink-secondary}` border, `{rounded.xs}`, padding 20px, 106px tall. Icon at left, title in `{typography.body-strong}` `{colors.on-primary}`, then two lines of `{typography.body-sm}`; stacked with 14px gaps.
**`agent-skill-card-active`** — the selected "Component docs" card.
- Border switches to 1px `{colors.primary}`; `{colors.on-primary}` text in `{typography.body-strong}`, `{rounded.xs}`, padding 20px; otherwise identical to `agent-skill-card`. It drives the purple panel at right.
**`addon-card`** — each tile in "Popular addons" ("Accessibility", "Themes", "Designs").
- `{colors.canvas}` fill, 1px `{colors.hairline-strong}` border, `{rounded.xs}`, padding 24px. A 48px icon, `{typography.body-strong}` name with a blue verified check, `{typography.body}` description in `{colors.ink}`, then download count and avatar stack.
**`framework-card`** — "Next.js", "React with Vite", "SvelteKit" in the docs framework grid.
- `{colors.canvas}` fill, 1px `{colors.hairline-slate}` border, `{rounded.md}`, 80px tall, padding 0 0 0 20px. Logo, then name in `{typography.body-strong}` `{colors.ink}` over a `{colors.ink-slate}` sub-label; three per row.
**`concept-card`** — "Stories", "Docs", "Testing", "Sharing" under Main concepts.
- `{colors.canvas}` fill, 1px `{colors.hairline-slate}` border, `{rounded.md}`, padding 24px. A small colored icon and bold title, then `{typography.body-sm}` copy at a 24px line height in `{colors.ink-slate}`; two per row.
**`code-block`** — the "npm create storybook@latest" install block in docs.
- 1px `{colors.hairline-strong}` border, `{rounded.xs}`. A 48px `{colors.surface-soft}` header with a terminal icon, "npm" select and `button-copy`, then a `{colors.canvas}` body, padding 16px, `{typography.code}` in `{colors.ink}`.
**`ai-callout`** — "Ask your AI agent to set up Storybook for you."
- `{colors.surface-callout}` fill inside a 1px conic-gradient rim, `{rounded.xs}`, padding 24px, `{typography.body}` `{colors.ink}` text with a blue inline link, a wand icon at left and `button-copy-prompt` at right.
**`callout-showcase`** — "Add your project" box under the showcase grid.
- `{colors.surface-showcase}` fill, `{rounded.sm}`, padding 40px, no border. A pink book icon, `{typography.body-strong}` title, `{typography.body}` copy in `{colors.ink-charcoal}`, and `button-showcase-cta` at right.
**`project-tile`** — "Polaris", "Psammead", "UI React" cards in the home "Who's it for" row.
- Flat fill in each project's own color, `{rounded.md}`, 240×180px, project logo and name centred in `{typography.body-strong}` `{colors.on-primary}`. Five in a horizontally scrolling row.
**`showcase-tile`** — "Chakra UI", "orbit", "Grafana UI" on the showcase page.
- 186px-tall card at `{rounded.sm}` with a 1px 10%-black border, filled with the project color and a centred white logo and `{typography.label}` name in `{colors.on-primary}`; below, owner avatar, owner name and story count.
**`testimonial-block`** — quotes from Brad Frost, Adam Neary, Sarrah Vesselov.
- Centred `{typography.quote}` in `{colors.on-primary}` with curly quotes, 590px wide. Below: name in `{typography.label}`, role in `{colors.ink-caption}`, a vertical divider, then the company logo in white.
**`community-column`** — the four GitHub, Discord, YouTube and Bluesky columns above the footer.
- No fill, `{rounded.md}`, padding 24px. A 48px brand icon, two lines of `{typography.body}` `{colors.on-primary}`, a `button-outline-dark`, then the count ("2282") over a 60%-white caption.
**`feedback-pill`** — "Was this page useful?" with thumbs up and down at the end of docs.
- `{colors.canvas}` fill, 1px `{colors.hairline}` border, `{rounded.full}`, padding 0 12px 0 20px, 48px tall, `{typography.body-sm}` `{colors.ink}`; an "Edit on Github" pill sits opposite.
**`gradient-badge`** — "Storybook 11 adds agent skills" above the hero headline.
- 70% black inside a 1px conic rim of `{colors.glow-blue}` and `{colors.brand-pink}`, `{colors.on-primary}` text in `{typography.caption}`, `{rounded.full}`, padding 6px 12px, 30px tall, with a sparkle icon.
**`new-badge`** — "New" next to the "Agents" hero tab.
- Transparent with a 1px white-at-60% border, `{typography.caption}` text in white at 60% (`{colors.on-primary}` base), `{rounded.full}`, padding 2px 8px.
**`stat-pair`** — "153.3m Installs per month" and "2282 Contributors" beside the hero buttons.
- Number in `{typography.body}` `{colors.on-primary}`, label below in `{typography.body-sm}` at 60% white; two pairs sit 40px apart, with "Version 11" at the far right.
### Inputs & Forms
**`input-subscribe`** — "you@domain.com" under "Join the community" in both footers.
- `{colors.canvas}` fill, 1px `{colors.hairline}` border, `{rounded.md}`, padding 0 100px 0 16px, 48px tall, `{typography.body}`, 360px wide; the right padding makes room for `button-subscribe`.
**`input-search-addons`** — "Search addons" under the addons page title.
- `{colors.canvas}` ground, 1px `{colors.hairline-strong}` border, `{rounded.full}`, padding 0 0 0 40px, 40px tall, 250px wide, `{typography.body}` in `{colors.ink}`, magnifier icon at left.
**`input-showcase-filter`** — "Filter by name" above the showcase grid.
- No fill; a 1px inset 10%-black shadow instead of a border, `{rounded.lg}`, padding 12px 40px 12px 30px, 40px tall, `{typography.body-sm}` in `{colors.ink-charcoal}`, 200px wide.
### Navigation
**`header-dark`** — the home header over the hero glow.
- Transparent, 73px tall, bottom rule in white at 20%. Logo, `nav-link-dark` items "Docs", "Addons", "Showcase", "Blog", then `nav-search-pill-dark` and `button-header-light`; `{typography.label}` in `{colors.on-primary}`.
**`header-light`** — the header on addons and docs.
- `{colors.canvas}` at 60% with backdrop blur, 73px tall, bottom rule in 5% black. Same layout with `nav-link-light` in `{typography.label}` `{colors.ink-muted}` and `button-header-graphite`.
**`nav-link-dark`** — header and sticky-bar links on navy.
- `{colors.on-primary}` text in `{typography.label}`, `{rounded.md}`, padding 0 8px, 32px tall; external links ("Visual Test", "Enterprise") carry a small arrow.
**`nav-link-light`** — the same links on white pages.
- `{colors.ink-muted}` text in `{typography.label}`, `{rounded.md}`, padding 0 8px, 32px tall; otherwise identical to `nav-link-dark`.
**`nav-link-active`** — "Docs" while inside the documentation.
- `{colors.primary}` text in `{typography.label}` on a 4% black tint, `{rounded.md}`, padding 0 8px, 32px tall.
**`nav-search-pill-dark`** — "Search docs ⌘K" and the GitHub star count on the home header.
- Transparent, 1px white-at-30% border, `{colors.on-primary}` `{typography.body-sm}` text, `{rounded.full}`, padding 0 12px, 32px tall; the search pill is 176px wide with a key hint.
**`nav-search-pill-light`** — the same pills on white pages.
- 1px `{colors.hairline}` border, `{colors.ink-muted}` `{typography.body-sm}` text, `{rounded.full}`, padding 0 12px, 32px tall; otherwise identical to the dark version.
**`nav-sticky-section-bar`** — the bar that pins on home scroll: "Context", "Verify", "Agents", "Share", "Automate", "Who's it for".
- `{colors.surface-abyss}` fill, 72px tall, `{typography.label}` links in `{colors.on-primary}`; the section in view turns blue. "Jump to top" and `button-sticky-cta` sit at right.
**`nav-hero-tabs`** — "Development", "Testing", "Documentation", "Agents" above the hero product shot.
- 80px tall, `{typography.body}`; the active tab is `{colors.on-primary}` with a 2px white bar on top, the rest white at 60%, all over a 1px white-at-20% rule.
**`nav-subnav-tab-active`** — "Addons" in the addons sub-navigation.
- `{colors.link-deep}` text in `{typography.label}` with a 2px underline of the same color, 64px tall.
**`nav-subnav-tab`** — "Recipes", "Third-party tools".
- `{colors.ink-secondary}` text in `{typography.label}`, transparent 2px underline, 64px tall; otherwise identical to `nav-subnav-tab-active`.
**`nav-category-list`** — "Popular", "Essential", "Code", "Data & State" in the addons sidebar.
- `{typography.body-sm}` in `{colors.ink-secondary}`, padding 5px 8px, 30px rows; the active category turns `{colors.primary}`. A `{colors.hairline-strong}` rule closes the list before the install links.
**`nav-docs-sidebar`** — the docs left column.
- Product links ("Documentation", "API", "Tutorials") in bold with icons, a "Version 11" select, then `{typography.body-sm}` section links in `{colors.ink-secondary}`, padding 5px 8px; the current page is bold `{colors.primary}`.
**`nav-docs-toc`** — "On this page" at the docs right edge.
- Bold heading, then `{typography.body-sm}` links in `{colors.surface-graphite}`; the active anchor is `{colors.primary}`.
**`footer-dark`** — the home footer.
- `{colors.surface-midnight}` fill with a 1px `{colors.surface-graphite}` top rule. "Join the community" with `input-subscribe` and social circles, four columns ("Why", "Docs", "Community", "Showcase") of `{typography.body}` links in `{colors.ink-footer-link}`, then the Storybook and Chromatic logos.
**`footer-light`** — the same footer on addons and docs.
- `{colors.surface-soft}` fill with a 1px `{colors.hairline}` top rule, headings in `{colors.ink-footer}`, `{typography.body}` links in `{colors.ink-secondary}`, `button-social-light` circles.
### Signature Components
The hero glow, `gradient-badge`, `nav-sticky-section-bar` and `ai-callout` are the parts that read as Storybook: the pink-and-blue conic rim recurs on the badge and the callout, tying the dark home page to the white docs.
## Do's and Don'ts
### Do
- Use `{colors.primary}` for every text link and active state, on navy and on white alike.
- Make header and hero controls pills at `{rounded.full}`; keep cards at `{rounded.xs}` to `{rounded.md}`.
- Separate cards with 1px borders (`{colors.hairline-strong}`, `{colors.hairline-slate}`, `{colors.hairline-midnight}`) instead of shadows.
- Pair a white `button-hero-light` with a white-outlined `button-hero-outline` on the navy hero.
- Switch the header "Get Started" between `button-header-light` on navy and `button-header-graphite` on white.
- Set display headlines in `{typography.display}` at weight 700, with zero tracking.
- Keep product screenshots, addon icons and project colors inside `project-tile`, `addon-card` and window frames.
- Use the conic pink-blue rim only for highlights such as `gradient-badge` and `ai-callout`.
### Don't
- Don't fill large areas with `{colors.brand-pink}`; it lives in the logo and the hero glow.
- Don't put drop shadows under `addon-card`, `framework-card` or `concept-card`.
- Don't mix `{colors.action-blue}` and `{colors.primary}` on one control; action blue is for the sticky CTA, "Subscribe" and "Copy prompt".
- Don't use the showcase `{rounded.pill}` button shape on the new pages, which use `{rounded.full}`.
- Don't add grey text on navy; use white at 60–80% or `{colors.ink-caption}`.
- Don't give inputs pill corners except the search fields; `input-subscribe` keeps `{rounded.md}`.
- Don't tint the docs canvas; content sits on `{colors.canvas}` with `{colors.surface-soft}` only in the footer and code headers.
Usage
1. Connect getdesign.md to your AI tool (once)
claude mcp add --scope user --transport http getdesign https://getdesign.md/api/mcpRun it in your terminal, then start a new session. In the Claude app, add a custom connector with this address:
https://getdesign.md/api/mcpThe first time you ask, your AI opens getdesign.md in your browser to sign in. All tools and help
2. Then ask it
Apply the Storybook design from getdesign.md to this project.Run this command from your project root, then ask your AI assistant to use DESIGN.md for UI work.
The Storybook design reference uses midnight-navy home with pink and blue glows, bright white catalog pages. It works best for component catalogs, ui documentation, and developer tool sites.
Installs
—
Bookmarked
—
Independent analysis of publicly observable patterns, curated as a starting point for inspiration. Not affiliated with or endorsed by Storybook; Storybook and its logo are trademarks of their respective owner.
Preview
Storybook DESIGN.md FAQ
How do I use the Storybook DESIGN.md with Claude Code, Cursor, or Codex?
Run npx getdesign@latest add storybook from your project root, then ask your AI assistant to use DESIGN.md for UI work.
What does the Storybook DESIGN.md cover?
It covers overview, colors, typography, layout, elevation & depth, shapes, components, and do's and don'ts.
Is this an official Storybook file?
No. It is an independent analysis of publicly observable patterns, curated as a starting point for inspiration. It is not affiliated with or endorsed by Storybook.
Similar DESIGN.md files
Svelte
Web framework. Editorial near-white paper, DM Serif Display headlines, manual-like reading pages.
Tailwind CSS
Utility-first CSS framework. White drafting sheet with faint rules, huge tight Inter headlines.
Vite
Frontend build tool. Dark hairline-ruled cells, grainy electric-violet texture.
Netlify
Web deployment platform. Large rounded white stages, tight Systemia headlines, electric-cyan pill.