Stripe DESIGN.md 设计系统与风格规范
Fintech免费开放v1.0.0 (最新)Financial infrastructure platform with engineered slate-navy typography, blurple actions, soft blue-tinted shadows, and a signature rainbow gradient blade.
设计规范
Overview
Stripe sells financial infrastructure to the internet economy, and its site is the canonical "engineered elegance" reference: a crisp white field of slate-navy typography, the famous rainbow gradient blade slicing diagonally through layouts, dark angled bands of deep indigo, and a product-surface discipline (4px radii, hairline borders, soft layered shadows) that reads as precision banking meets developer tooling.
The mood is calm authority — nothing shouts except the gradient, which does all the emotional work. Everything else is quiet: neutral surfaces (#F8FAFD / #E5EDF5), one family (Söhne) run in regular weights with subtle negative tracking, and a fully ramped blurple scale from #F5F5FF to #0F1137. Content density is high but never cramped — long pages alternate white product grids, dark indigo "terminal" bands with glowing code and dashboards, and stat sections lit by gradient numbers.
Colors
The system is the --hds-color-core-* ramp: a 17-step cool neutral scale, a matched blurple brand scale (plus a brighter brandDark twin for dark sections), and a set of saturated "bento" accents that exist almost exclusively inside gradient artwork.
- Primary — Stripe blurple (
#533AFD, brand-600): The main action fill and link-adjacent accent. Sits on a full ramp:#F5F5FF→#E8E9FF/#E2E4FF/#D6D9FC/#B9B9F9/#9A9AFE/#7F7DFC/#665EFD→#533AFD→#4032C8/#2E2B8C/#1C1E54/#161741/#0F1137. - Classic link blue (
#635BFF): The older blurple survives as the inline link/"learn more" color with its trailing chevron. - Neutral ramp:
#FFFFFFsurface,#F8FAFDpage tint,#E5EDF5hairlines and card borders, then#D4DEE9/#BAC8DA/#95A4BA/#7D8BA4→ text grays#64748D/#50617A/#3C4F69/#273951/#1A2C44/#11273E/#0D253D/#061B31— the navy that carries every headline. - Dark bands: Deep indigo-navy sections built from
#0D1738/#122054/#182659/#23356E/#2C2484with#F2F7FEtext and a signature#00D4FFcyan for CTAs and glowing accents inside the band. - Bento accents:
#FF6118orange,#F44BCC/#A51D85magenta,#EA2261ruby,#F9B900lemon,#00B261success,#D8351Eerror — used as gradient stops, icon fills, and product-tag hues rather than UI fills. - Signature gradients: the rainbow blade
linear-gradient(#7500FB → #FF39DB)and stat gradientlinear-gradient(270deg, #FFD601 → #EE30FB → #635BFF)clipped into oversized numerals; dark bands runlinear-gradient(288deg, #0D1738 → #4032C8).
Typography
One family — Söhne (variable, sohne-var, weight axis 1–1000) — covers the entire site; Source Code Pro handles code samples. The style is deliberately unfashionable: mostly weight 400–500, modest sizes, gentle -0.01 to -0.02em tracking — the gradient and layout do the flexing, not the type.
- Display (56px/500): Page headlines in
#0A2540navy, line-height ~1.2. - Headlines (48/32px, weight 400): Hero and section heads; tighter
1.1–1.15leading with -2% tracking. - Titles (26/22/16px): Product and bento-card titles; 16px steps up to weight 500.
- Body (16px/400, 1.4): Long-copy in
#50617Aslate; 22px for lead paragraphs in#64748D. - Labels (15px/500): Button and link text, often with the trailing
>chevron arrow motif. - Code: Source Code Pro 14px/500 inside dark
#0D1738blocks with syntax-tinted text.
Layout
- Grid: 12 columns on a 1264px content max-width with 16px gutters and 16px page margins — tight, but the whitespace around it is expansive.
- Rhythm: A strict 4px core scale (
core-50=4 throughcore-2500=200). Section gaps run 96–128px (core-1200–1600); card interiors 24–48px. - Signature geometry: Layouts are cut by diagonal blades — the rainbow gradient and dark indigo bands enter at ~10–15° angles, so sections are rarely simple horizontal strips. Column guides render as faint vertical hairlines on white sections.
- Patterns: Hero left-aligned under a small metric caption → logo strip → bento product grids with icon tags → dark angled band (code samples, dashboard screenshots, cyan CTA) → stat rows with gradient numbers → pricing cards → dense footer with flag icons and small-type columns.
Elevation & Depth
Stripe's famous soft shadows are a two-layer blue-tinted system: every level pairs a large diffuse top shadow in rgba(0,55,112,*) with a small crisp bottom contact in rgba(0,59,137,*) — the blue cast keeps whites clean. The ramp runs xs (2px/10px) → sm (5px/14px) → md (6px/22px) → lg (15px/40px) → xl (20px/80px, -16px spread for floating modals). Marketing cards add the classic rgba(50,50,93,.25) 0 30px 60px -15px deep lift. On dark bands, depth comes instead from glow — cyan and gradient light bleeding off code blocks and UI mockups.
Shapes
- Buttons & inputs:
4px(radius-sm) — sharp, engineered corners; small icon buttons drop to2px. - Cards:
6px(radius-md) for product/bento cards,16pxfor large feature panels,32pxfor hero media frames. - Pills:
99999pxreserved for nav-adjacent marketing CTAs (the cyan "Contact sales" pill, white "Log in" pill) and tag chips — so squared buttons and pill CTAs coexist: core product UI stays 4px, top-of-funnel marketing pills go fully round. - Icons: geometric, gradient-tinted glyphs on
6pxtinted tiles.
Motion & Micro-interaction
Motion is smooth, slightly elastic, and everywhere — Stripe animates nearly every property change on the page.
- State changes: 300ms
cubic-bezier(0.25, 1, 0.5, 1)— the house curve — on color, fill, stroke, and transform (link hover color slides, chevron nudges, button fills). - Surface moves: 600–800ms
cubic-bezier(0.165, 0.84, 0.44, 1)(ease-out-quart) andcubic-bezier(0.16, 1, 0.3, 1)for panel slides, clip-path reveals, and the gradient blade's slow drift. - Details:
stroke-dashoffsetline-drawing animations at ~1s; opacity micro-fades at 120–150ms linear. - Rule: Prefer
transform/clip-pathfor big moves; the rainbow blade itself is a continuously animated WebGL-style canvas — ambient motion is acceptable at hero scale, not in product UI.
Voice & Content Strategy
- Tone of voice: Precise, confident, infrastructure-speak — "Financial infrastructure to grow your revenue". Benefits framed as capability and scale ("from your first transaction to your billionth"), never hype. Developer-respectful: no dumbing down.
- Capitalization: Sentence case throughout headings and UI; product names are title-cased brands (Payments, Billing, Connect, Atlas, Link, Radar, Sigma).
- Terminology: "Payments" not "checkout" for the product; "financial infrastructure" as the category; stats stated plainly ("1.75% of global GDP").
- Button and action labels: Verb + outcome ("Start now", "Contact sales", "Sign in"); inline links use "Learn more >" with the trailing-chevron convention everywhere.
- Numbers as proof: Live-ticking counters and gradient-styled statistics ("$1T+", "135+ currencies") carry the persuasion.
Components
- Primary button:
#533AFDfill, white text,4pxradius, ~48px height, 15.5–16.5px vertical padding — the HDS core button. - Marketing CTAs: Pill variants (99999px) — cyan
#00D4FFwith navy text inside dark bands, white with#635BFFtext in the light nav. - Arrow links:
#635BFF15px/500 text + trailing>chevron that nudges right on hover — the most-repeated component on the site. - Bento cards: White
6pxcards on#F8FAFD, 1px#E5EDF5hairline, icon tile (gradient-tinted) + 22px title + slate copy; hover lifts with the layered blue shadow. - Dark band modules:
#0D1738→#4032C8diagonal sections holding Source Code Pro blocks, dashboard mockups with cyan glow accents, and cyan pill CTAs. - Nav:
#F8FAFDbar — stripe wordmark, dropdown links with tiny chevrons, "Sign in" arrow link, white pill + indigo pill pair; announcement bar above in darkest navy. - Pricing cards: White/light card for standard pricing vs navy custom-pricing panel with cyan pill — the pair shows the full light/dark language in one view.
- Stat blocks: Oversized numerals filled with the
#FFD601→#EE30FB→#635BFFgradient, small caption beneath. - Announcement bar: Darkest-navy strip with white small text + arrow link.
Do's and Don'ts
- Do keep type in Söhne at weight 400–500; the design earns drama from gradient and geometry, not font weight.
- Do use
#533AFDfor actions and#635BFFfor inline links — they are different roles of the same blurple. (The classic link blue sits at ~4.4:1 on white — inherited brand behavior; for new surfaces prefer#533AFDtext.) - Do give shadows their blue cast (
rgba(0,55,112,*)+rgba(0,59,137,*)pairs) — never plain gray shadows. - Do cut sections with the diagonal blade/band motif rather than flat horizontal strips.
- Do use cyan
#00D4FFonly inside dark indigo bands — never on white. - Don't use the rainbow/bento accent colors as UI fills or text; they live inside gradients, icons, and stat numerals.
- Don't round product buttons past
4px— pills are reserved for marketing CTAs and chips. - Don't write exclamation marks or hype copy; state capability in plain, declarative sentences.
- Do keep code samples in Source Code Pro on
#0D1738— code is a first-class visual element. - Don't crowd the 1264px grid — the design's authority comes from the whitespace outside it.
如何在 AI agent 里使用 Stripe 的 DESIGN.md
获取 Stripe 的 DESIGN.md
在本页下载,或请求 https://www.designmdpro.app/websites/stripe.md,或通过 DesignMD Pro MCP 服务器调用 get_design_md 工具(slug 为 "stripe")。
保存为项目根目录下的 DESIGN.md
把文件放在 AGENTS.md 或 CLAUDE.md 旁边,Claude Code、Cursor、Codex 等编码 agent 就能读到它。
让 agent 按它来写
例如:“按照 DESIGN.md 里的 Stripe 设计系统实现设置页,使用其中的颜色、字体和间距 tokens。”
Stripe 风格 AI Prompt
参照 Stripe(stripe.com)的 DESIGN.md 设计系统,用它的视觉风格构建一个响应式落地页。 ## 配色 - link: #635BFF - error: #D8351E - outline: #D4DEE9 - primary: #533AFD - surface: #FFFFFF - on-primary: #FFFFFF - on-surface: #061B31 - surface-dim: #F8FAFD - primary-hover: #4032C8 - inverse-accent: #00D4FF - inverse-surface: #0D1738 - outline-variant: #E5EDF5 - on-inverse-accent: #0A2540 - primary-container: #E8E9FF - surface-container: #E5EDF5 - inverse-on-surface: #F2F7FE ## 字体 - code: "Source Code Pro", 14px, weight 500, line-height 1.5 - body-lg: "Söhne", 22px, weight 400, line-height 1.1, letter-spacing -0.01em ## 圆角 - lg: 16px - md: 6px - sm: 4px - xl: 32px - xs: 2px - full: 99999px ## 间距 - lg: 24px - md: 16px - sm: 8px - xl: 32px - xs: 4px - 2xl: 48px - 3xl: 64px - 4xl: 96px ## 组件 - code-block: padding 16px, rounded 6px, textColor #F2F7FE, typography Source Code Pro 14px, backgroundColor #0D1738 - link-arrow: textColor #635BFF, typography Söhne 15px, backgroundColor transparent - nav-header: height 76px, padding 16px, textColor #50617A, typography Söhne 16px, backgroundColor #F8FAFD - button-cyan: height 40px, padding 8px, rounded 99999px, textColor #0A2540, typography Söhne 15px, backgroundColor #00D4FF - card-feature: padding 24px, rounded 6px, textColor #061B31, typography Söhne 16px, backgroundColor #FFFFFF - button-primary: height 48px, padding 16px, rounded 4px, textColor #FFFFFF, typography Söhne 15px, backgroundColor #533AFD ## 规则 - 背景、文字、边框和强调色只使用上面列出的颜色,不要自创新颜色。 - 所有文字都使用上面的字体样式,并保持它们的字号与字重层级。 - 圆角和间距取自上面的尺度,让各组件保持一致。 完整 DESIGN.md:https://www.designmdpro.app/websites/stripe.md在 V0 Prompt 生成器中自定义 →
常见问题
Stripe 的主色是什么?
Stripe 的品牌主色是靛蓝(#533AFD),其 DESIGN.md 共定义了 18 个颜色 token。
Stripe 用的是什么字体?
Stripe 的主要字体是 Source Code Pro 和 Söhne。
Source Code Pro 是免费字体吗?
是的。Source Code Pro 是免费开源字体,可在 Google Fonts 获取。
如何在 Tailwind CSS 或 shadcn/ui 中使用 Stripe 的设计 token?
下载这份 DESIGN.md,粘贴到 Tailwind 主题生成器或 shadcn 主题生成器,即可得到包含 Stripe 主色 #533AFD 及其余 token 的可用主题。
这份 Stripe DESIGN.md 是官方的吗?
不是。这份文件由 DesignMD Pro 从 stripe.com 的公开页面提取,与 Stripe 无关联,也未获其认可。
Stripe 的 DESIGN.md 最近一次更新是什么时候?
当前版本 1.0.0 提取于 2026年11月25日。
Stripe 及其商标归各自所有者所有。DesignMD Pro 是独立项目,与 Stripe 无任何关联,亦未获其认可;本 DESIGN.md 提取自其公开网站,仅供参考。