Stripe Docs DESIGN.md 디자인 시스템 및 스타일 가이드
Developer ToolsProv1.0.0 (최신)A documentation system that loads no webfonts at all: system sans for interface, Menlo for the 182 code spans, one indigo for links, and elevation built from Stripe's signature layered zero-blur ring shadows over a 14px white dot grid.
Stripe Docs의 전체 디자인 설명과 최대 8개 기본 색상은 무료로 볼 수 있습니다. Pro로 업그레이드하면 전체 146 개 디자인 토큰, 전체 DESIGN.md 다운로드 및 1개 리비전을 이용할 수 있습니다.
DesignMD Pro로 업그레이드해 모든 색상을 :root CSS variables로 복사하고, 컴포넌트 토큰 참조를 확인하며 전체 소스 파일을 다운로드하세요.
디자인 가이드라인
Overview
Stripe's documentation is the reference implementation of a docs site that
treats code as the primary content and chrome as the secondary. The page
opens with a hero, three columns of product links and a "Try it out" panel
containing a live stripe payment_intents create command beside its JSON
response — and the JSON panel is the largest, darkest, most visually dominant
object on the screen.
The system's most unusual property is that it loads no webfonts whatsoever.
loadedFontFaces came back empty. The interface is set in the system sans
stack (-apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial) and
every code sample in Menlo — which, at 182 measured uses against 105 for the
UI sans, is the most-repeated family on the page. For a documentation site this
is the correct call: the text is code, the code must render in a monospace the
reader already trusts, and shipping a webfont to do it would be pure cost.
The visual idea is one indigo, a long navy-to-grey text ramp, and a dot grid
that fades from warm to cool across the hero. Stripe's indigo #5469d4 appears
49 times and is used for exactly one thing: links. Everything structural is
navy #1a2b44 fading through #414552, #50617a and #697386 to #a3acb9.
Colors
- Primary / Stripe indigo (#5469d4): Links, and only links — 49 measured uses, plus one button fill. It is never used for a heading, a border or a surface. This restraint is the single clearest rule in the system.
- Ink (#1a2c44): Headings, nav labels and the strongest text. A deep navy,
not a neutral black — the whole palette is cool. The inner pages use a
second, slightly cooler navy
#1a1f36alongside it (37 uses on/payments, 175 on/changelog), close enough to pass for the same colour at a glance and one step deeper in practice. Two navys this similar is a genuine trap. - Text ramp — five steps, and it carries all the hierarchy:
#414552(body copy, 19 uses) →#50617a(secondary copy, 15) →#697386(muted, 7) →#a3acb9(faint, and also the default border colour, 6). Nothing in the system is coloured; hierarchy is entirely this ramp plus size and weight. The inner pages add a sixth step,#4e566d, sitting between#414552and#50617aand used heavily for secondary copy on/changelog(347 uses) — so the ramp is really six values deep on the pages that carry the most prose. - Changelog accent (#b13600): A dark rust-orange that appears only on
/changelog, 50 times, and is the single most-saturated non-indigo colour in the whole system. Like#1a1f36and#4e566dit is not present in any shipped stylesheet — the three are applied inline or by a runtime style injection, which means a copy of the CSS alone will not reproduce them. - Surfaces:
#ffffff(cards and the page),#f7fafc(the subdued ground, 8 uses),#f4f7fa(a sunken variant, 4) and#d4dee9(the fill, 8). Four steps of near-white, cool-tinted, and the differences between them are deliberately tiny. - Code panel (#273951, #2a2f45, #3c4257): Three dark navies. The response
panel is
#273951, the command strip above it is darker, and the code's own text sits at#3c4257on light grounds. This is the only dark surface in the system and it is where the eye goes first. - Syntax colours — three, and only three:
#85d996green (51 uses — object keys and strings),#e4ab80orange (5) and#7fd3edcyan (1). A documentation syntax theme this restrained is rare; most use six or eight. - Borders:
#a3acb9(7),#c1c9d2and#ecf1f6. Used sparingly, because most boundaries are drawn as ring shadows instead (see Elevation).
The hero's dot grid is white dots on a coloured base that is not in the stylesheet — the gradient beneath it is applied inline or as an image asset, so its exact stops cannot be cited from the CSS. What is visible in the render is a warm-to-cool sweep: orange-ish dots at the left edge cooling to blue at the right, with the 14px white dot matrix laid uniformly over the top.
Typography
Two families, both system, and the split is the whole idea. The UI is the system sans stack; every code sample is Menlo, Consolas, monospace. Menlo is used 182 times against the sans's 105 — on this page, monospace outranks sans-serif. Source Code Pro appears twice, presumably as an explicit override.
Because nothing is loaded, there is no FOUT, no font-display strategy and no webfont cost at all. The page is fully readable on the first paint.
| Role | Face | Size / weight |
|---|---|---|
| Page h1 ("Documentation") | system sans | 32px / 700 |
| Column headings | system sans | 20px / 600 |
| Nav / labels | system sans | 15–16px / 600 |
| Body | system sans | 15–16px / 400 |
| Code panel | Menlo | 14px / 400 |
| Inline code | Menlo | 12px / 400 |
Three details define the typographic voice:
- The hero heading is the only 700 on the page. Everything else is 400 or 600. One bold line, then calm.
- Body copy is 15–16px on a 1.5 line, and secondary copy drops to 15px in the mid-ramp grey. The docs never go below 12px except for inline code.
- Code is set at 14px against a 16px body, so code is smaller than the prose around it. Most docs sites make code larger; Stripe makes it quieter and lets the dark panel do the emphasising instead.
Layout
A 1200px container (with a 1175px variant) and a 12px gutter, on a strict 4px spacing base: 12px is the single most-repeated measurement at 62 uses, followed by 8px (34), 4px (33) and 16px (26). The page is only 900px tall — the docs home is a landing page, not a document.
The structure is:
- Header — the Stripe wordmark with "DOCS" beside it, a centred search
field with a
/shortcut hint and an "Ask AI" button, then "Create account" and "Sign in" on the right. - Primary nav — Get started, Payments, Revenue, Risk, Data, Money management, Stablecoins, Embedded finance, Developer resources, with "APIs & SDKs" and "Help" pushed right.
- Hero — "Documentation", one line of dek, a filled "Get started with Stripe" button and an "Explore all products" link, over the dot grid. A floating sign-in card and a "Test cards 4242 4242 4242 4242" chip sit to the right.
- Three columns — Payments, Revenue and Developers, each a heading and three or four indigo links.
- "Try it out" — a tab strip of eight tasks (Start a payment, Start a checkout session, Create a customer, Sell a product, Issue coupons, Get your balance, Manage taxes) beside a dark code panel showing the command and its JSON response.
There is no sidebar on this page — the docs proper have one, but the landing page is a single centred column. The three product columns are the only multi-column element, and they are separated by whitespace alone.
Elevation & Depth
Stripe's signature: elevation is a stack of zero-blur rings, not a soft
shadow. The measured shadows are all multi-layer, and almost every layer is a
0 0 0 Npx spread with no blur at all:
- Ring only —
rgba(0,0,0,0) 0 0 0 0, rgba(0,0,0,0) 0 0 0 1px, rgba(0,0,0,0) 0 0 0 0, rgba(0,0,0,0) 0 0 0 0— 32 uses. This is a 1px border drawn as a box-shadow, which is why the page has so few realborderdeclarations. The three transparent layers are Tailwind's placeholder slots, kept so the ring can be swapped without rewriting the declaration. - Card —
rgba(16, 17, 26, 0.16) 0 1px 1px 0, rgb(212, 222, 233) 0 0 0 1px— the grey ring plus a barely-there dark contact shadow. - Elevated —
rgba(60, 66, 87, 0.08) 0 7px 14px 0, rgba(0, 0, 0, 0.12) 0 3px 6px 0— the dropdown and popover shadow, in navy#3c4257at 8% rather than black. - Inset hairline —
rgb(227, 232, 238) 0 -1px 0 0 inset— a single inset top line, used to separate a header from its body without a border. - White glow —
rgba(255, 255, 255, 0.75) 0 0 64px 64px— a very wide, very soft white bloom used to fade one section into the next.
Two things are worth copying. First, the ring shadows are navy-tinted, not
black — rgba(60, 66, 87, …) rather than rgba(0, 0, 0, …), which keeps the
elevation in the same cool key as the text. Second, a border and a shadow are
the same tool here: swapping rgba(0,0,0,0) 0 0 0 1px for
rgb(212,222,233) 0 0 0 1px is how a control goes from invisible to bounded.
Shapes
Small, consistent, and mostly 4px. The measured radii are 4px (22 uses),
8px (10), 6px (3), 14px (2), then 7px, 2px and one elliptical
100% / 85%.
- 4px — the default: buttons, inputs, the code panel's inner elements.
- 8px — the code panel and the larger cards.
- 6px — mid-size controls. On
/changelogthis jumps to 90 uses, making it the second radius on that page. - 14px — the two largest containers, including the hero's floating sign-in card.
- 12px — ten uses on
/changelog, a step below 14px. 100% / 85%— one element, an ellipse wider than it is tall. A pill that has been squashed, almost certainly a search field or a chip.9999px— the search field's full pill radius.
So the shape rule is: 4px by default, 8px for panels, 14px for the largest containers, and a full pill only on the search field. Nothing is dramatic, and the tight range is what makes a page this dense feel calm.
Motion & Micro-interaction
Fast, and built on one curve. The house transition is
color 0.1s cubic-bezier(0, 0, 0.4, 1) — nine declarations. That curve
decelerates hard at the end, so a 100ms colour change still reads as a
deliberate fade rather than a snap.
The rest of the vocabulary:
color 0.24s ease— three uses, the slower link hover.background-color, box-shadow 0.15s cubic-bezier(0, 0.09, 0.4, 1)— two uses, on controls whose ring shadow also changes.transform 0.12s cubic-bezier(0, 0.09, 0.4, 1)— one use, a small nudge.all 0.15s ease-in-out,box-shadow 0.15s ease,width 0.15s ease-in-out— one each, for the accordion, the focus ring and the search field's expansion.
There is one keyframe animation: a skeleton shimmer,
linear-gradient(to right, #f7fafc 50%, #f0f3f7 80%, #f7fafc 100%) at
background-size: 200% 100% on an ease-in-out loop — the standard loading
placeholder, using the two subdued surface tones.
Nothing scrolls, nothing parallaxes, and the hero's dot grid is completely static.
Voice & Content Strategy
- Tone of voice: Flat and instructional. The dek is one sentence — "Explore our guides and examples to integrate Stripe." — with no adjective and no exclamation. The page never sells; it routes.
- The search field is the primary control, with its
/keyboard shortcut printed inside it and an "Ask AI" button beside it. For a docs site this is the correct hierarchy: most visitors arrive with a question, not a browse. - Products are named as Stripe names them: Payments, Revenue, Risk, Data, Money management, Stablecoins, Embedded finance, Developer resources. The sub-links are verb phrases — "Accept payments online", "Sell subscriptions", "Set up the customer portal", "Build on Stripe with AI".
- The code is the argument. "Try it out" shows a real command
(
$ stripe payment_intents create --amount 1099 --currency "usd") beside its real JSON response, with the test card4242 4242 4242 4242named in the hero. Nothing is described that can be shown. - Machine-readable docs are a first-class link. The footer carries a plain "Read llms.txt" link, and the docs are built with Markdoc — Stripe's own documentation toolchain — which is credited by name.
- Support is tiered and specific: Contact Support (support.stripe.com), Discord (a developer chat invite), the changelog, and Contact Sales. Four distinct destinations rather than one form.
- Authentication is framed as a benefit, not a wall: "Sign in or create an account to load your test API keys." The gate is stated as what it unlocks.
- API versions are named after plants. The changelog's version rail reads Endive, Dahlia, Clover, Basil, Acacia — no numbers, no years, no semantic versioning in the navigation at all. The names are ordered newest-first and are the entire versioning vocabulary a reader sees.
- The docs treat AI agents as a first-class audience. The sidebar carries
"AI TOOLS" — Agent plugins, Model Context Protocol, Agent skills, Stripe
Directory — as a peer of Payments and Security, and the header offers "Ask AI"
beside search. The machine-readable
llms.txtis linked from the footer as plain text, not buried. - The sidebar is the real navigation. Ten top-level groups (Overview, Versioning, Essentials, Tools, Features, AI Tools, Extend Stripe, Security and Privacy, Partners) with sentence-case titles, and the changelog lives inside Versioning rather than in a footer.
- Capitalization: Sentence case throughout, with Title Case only for proper nouns ("Stripe", "Markdoc", "Ask AI"). Button labels are sentence case ("Get started with Stripe", "Explore all products").
Components
- header — White, full width, with the wordmark and "DOCS" lockup left, a centred search field, and "Create account" / "Sign in" right. Bounded below by an inset hairline rather than a border.
- search-field — A full-pill field with a magnifier, a
/shortcut hint inside it, and an "Ask AI" button immediately beside it. The only pill on the page. - nav-link — 15px in ink, with chevrons on the items that have dropdowns ("APIs & SDKs", "Help").
- display-heading — "Documentation" at 32px/700, the only bold weight on the page, set over the dot grid.
- link —
#5469d4at 15–16px, the default inline and standalone link. This is the only thing the indigo is used for. - button-primary — "Get started with Stripe": indigo fill, white 16px/600
label, 4px radius,
8px 12pxpadding, with a trailing chevron. - button-quiet — "Explore all products": no fill, just an underlined ink link at the same metrics.
- link-list — The three product columns: a 20px/600 heading over three or four indigo links, separated from the next column by whitespace alone.
- card — White, 8px radius, bounded by the grey ring shadow
(
rgb(212,222,233) 0 0 0 1px) plus thergba(16,17,26,0.16) 0 1px 1pxcontact shadow. - dot-grid — The hero's background:
radial-gradient(rgba(0,0,0,0) 1.5px, #fff 1px)tiled at14px 14pxacross the full viewport height, laid over a warm-to-cool coloured base applied inline. White dots, 1px, on a 14px pitch. - code-panel —
#273951, 8px radius, 16px padding, Menlo 14px, holding the JSON response. The command line above it sits on a darker#2a2f45strip with a$prompt. This is the darkest and visually heaviest object on the page. - code-green / code-orange / code-cyan — The three syntax colours, at 51, 5 and 1 uses. Green carries object keys and string values; orange and cyan are occasional accents.
- dashed-connector — Flow-diagram rules drawn as
linear-gradient(to top, #c1c9d2 0%, #c1c9d2 20%, transparent 20%)tiled at2px 10px— a 2px dash on a 10px pitch, made from a gradient rather than a border style. - inset-hairline —
rgb(227,232,238) 0 -1px 0 0 inset, the single-line separator between a panel's header and its body. - border-strong — A real
1px solid #a3acb9border, used where a ring shadow would be too subtle: inputs, selects and table cells. Seven uses. - fill —
#d4dee9at 4px, the page's one step of genuine tint. Used for disabled controls, progress tracks and the shaded half of a split row. - inline-code —
#3c4257in Menlo at 12px, set inline in prose rather than in a panel. The light-ground counterpart to the code panel. - meta-quiet / heading-navy — The inner pages' two extra ramp values:
#4e566dfor secondary copy and#1a1f36for headings, both one step off their marketing-page counterparts. - changelog-label —
#b13600at 16px/600, the changelog's accent. Used 50 times on that one page and nowhere else in the system. - skeleton — The loading shimmer:
#f7fafc → #f0f3f7 → #f7fafcat 200% width on anease-in-outloop.
Do's and Don'ts
- Do use the indigo for links and nothing else.
#5469d4is 49 link uses and one button; it never touches a heading, a border or a surface. That restraint is what makes the colour mean something. - Do carry hierarchy in the five-step grey ramp —
#414552,#50617a,#697386,#a3acb9— rather than in colour. Nothing on the page is decorated. - Do ship no webfonts. The system sans for UI and Menlo for code, with
loadedFontFacesempty. For a docs site the monospace is the brand. - Do set code smaller than the prose around it. Menlo at 14px against a 16px body, and let the dark panel do the emphasising.
- Do draw borders as zero-blur ring shadows.
rgba(0,0,0,0) 0 0 0 1pxis a free slot; swapping inrgb(212,222,233)bounds the element without touching the layout. - Do tint the elevation navy, not black.
rgba(60, 66, 87, 0.08) 0 7px 14pxkeeps the shadow in the same cool key as#1a2c44text. - Do keep the radius tight — 4px by default, 8px for panels, 14px for the largest containers, and a full pill only on the search field.
- Do hold the house curve at
cubic-bezier(0, 0, 0.4, 1)and keep it fast: 100ms for colour, 150ms for controls, 240ms for the slow link hover. - Do tile the dot grid at 14px with 1px dots.
radial-gradient(rgba(0,0,0,0) 1.5px, #fff 1px)atbackground-size: 14px 14pxis the whole effect, and it costs one declaration. - Do draw dashed connectors as gradients.
#c1c9d2 0%, #c1c9d2 20%, transparent 20%at2px 10pxgives a 2px dash on a 10px pitch with no border-style hackery. - Do link the machine-readable docs. A plain "Read llms.txt" in the footer, and credit the toolchain (Markdoc) by name.
- Don't reach for a second accent colour. There is one indigo and three syntax colours, and the syntax colours never appear outside the code panel.
- Don't ship a webfont for the UI. The system stack renders identically to what Stripe ships, at zero network cost.
- Don't make the code bigger than the body copy. 14px Menlo under 16px sans is deliberate; enlarging it breaks the hierarchy the dark panel already establishes.
- Don't confuse the three dark navies.
#273951is the response panel,#2a2f45the command strip above it,#3c4257the elevated shadow's tint. They are not interchangeable. - Don't use black for text or shadows. Ink is
#1a2c44and the shadow tint is#3c4257;#000appears only inside the transparent placeholder layers of the ring shadows. - Don't assume the hero's coloured base is in the stylesheet. The dot overlay is, but the warm-to-cool gradient beneath it is applied inline or as an image asset — inspect the rendered element, not the CSS, if you need its stops.
- Don't trust the shipped CSS as the full palette.
#1a1f36,#4e566dand#b13600are all heavily rendered and appear in no stylesheet; they arrive inline or at runtime. Measure the rendered page, not just the CSS. - Don't confuse the two navys.
#1a2c44is the marketing-page ink and#1a1f36the inner-page heading colour; they differ by a single hex digit in the blue channel and read identically at a glance.
AI 에이전트에서 Stripe Docs의 DESIGN.md 사용하기
Stripe Docs의 DESIGN.md 가져오기
https://www.designmdpro.app/websites/stripe-docs.md에서 가져오거나 DesignMD Pro MCP 서버에서 slug "stripe-docs"로 get_design_md 도구를 호출해 공개 버전을 받을 수 있습니다. 전체 토큰 세트는 Pro가 필요합니다.
프로젝트 루트에 DESIGN.md로 저장
Claude Code, Cursor, Codex 등 코딩 에이전트가 찾을 수 있도록 AGENTS.md 또는 CLAUDE.md 옆에 파일을 배치하세요.
에이전트에게 명세를 따르도록 지시
예시: "DESIGN.md에 있는 Stripe Docs 디자인 시스템의 색상, 타이포그래피, 간격 토큰을 사용해 설정 페이지를 만들어 줘."
Stripe Docs 스타일 AI 프롬프트
Stripe Docs (docs.stripe.com)의 DESIGN.md 디자인 시스템을 따라 동일한 시각 스타일의 반응형 랜딩 페이지를 구축해 주세요.
## 색상
- ink: #1A2C44
- ring: #D4DEE9
- outline: #A3ACB9
- primary: #5469D4
- surface: #FFFFFF
- ink-navy: #1A1F36
- code-cyan: #7FD3ED
- code-text: #3C4257
## 타이포그래피
- nav: "-apple-system", 15px, weight 400, line-height 1.33
- code: "Menlo", 14px, weight 400, line-height 1.6
## 모서리 반경
- lg: 8px
- md: 6px
- sm: 4px
## 규칙
- 배경, 텍스트, 테두리, 강조 요소에는 위에 명시된 색상만 사용하고 임의로 새 색상을 만들지 마세요.
- 모든 텍스트에 위 타이포그래피 스타일을 적용하고 크기 및 굵기 계층을 유지하세요.
- 컴포넌트의 일관성을 유지하기 위해 위 스케일에서 모서리 반경과 간격 값을 선택해 사용하세요.
전체 DESIGN.md: https://www.designmdpro.app/websites/stripe-docs.mdV0 프롬프트 생성기에서 커스터마이즈 →자주 묻는 질문
Stripe Docs의 기본 색상은 무엇인가요?
Stripe Docs의 기본 브랜드 색상은 인디고(#5469D4)입니다. DESIGN.md에는 총 24개의 색상 토큰이 정의되어 있습니다.
Stripe Docs는 어떤 폰트를 사용하나요?
Stripe Docs는 기본 서체로 Menlo를 사용합니다.
Menlo의 무료 대안 폰트는 무엇인가요?
Menlo는 상용 서체입니다. Google Fonts에서 가장 유사한 무료 대안은 JetBrains Mono입니다.
Stripe Docs의 design tokens를 Tailwind CSS나 shadcn/ui에서 어떻게 사용하나요?
Stripe Docs의 기본 색상(#5469D4)은 이 페이지에 공개되어 있습니다. 완전한 Tailwind 또는 shadcn 테마를 생성하려면 DesignMD Pro에서 제공하는 전체 DESIGN.md가 필요합니다.
이 Stripe Docs DESIGN.md는 공식 문서인가요?
아니요. DesignMD Pro가 공개된 docs.stripe.com 웹사이트에서 추출한 자료이며, Stripe Docs와 제휴하거나 승인을 받은 공식 문서가 아닙니다.
Stripe Docs의 DESIGN.md는 언제 마지막으로 업데이트되었나요?
버전 1.0.0은(는) 2026년 12월 1일에 캡처되었습니다.
Stripe Docs 및 관련 상표는 해당 권리 소유자에게 귀속됩니다. DesignMD Pro는 Stripe Docs와 제휴하거나 승인을 받지 않은 독립 프로젝트이며, 이 DESIGN.md는 참고 목적으로 공개 웹사이트에서 추출되었습니다.