Stripe — decoded design system
Stripe's design system, decoded live by Mozaika: measured color roles, type scale, buttons with real hover/focus states, motion and the brand's own tokens.
This is a static, crawlable rendering for search & AI engines. The interactive version — filters, live decode console, copy & export — is at https://mozaika.design/decode/stripe.com.
Decoded design system
Stripe's decoded design system: background #FFFFFF, text #000000, accent #533AFD, link #533AFD, primary #061B31; type scale h1 56px / h2 48px / body 16px; 4px spacing base; 0px base radius. The single interactive/action color is #533AFD — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.
Color roles
| Role | Value |
|---|---|
| bg | #FFFFFF |
| surface | #EFEFEF |
| border | #D8D8D8 |
| text | #000000 |
| text_muted | #606060 |
| primary | #061B31 |
| accent | #533AFD |
| link | #533AFD |
| secondary | #FFE0D1 |
| button_bg | #533AFD |
| button_text | #FFFFFF |
Using these colors
- Action color
#533AFD— the single interactive color; only on things you click or must notice, never large fills. accent,link,button_bgare all#533AFD— one role, not several (the action color).- accent
#533AFD— THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. - primary
#061B31— a brand color — but the call-to-action uses #533AFD, not this. - secondary
#FFE0D1— optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two.
Typography
- Heading: Söhne
- Body: Söhne
- h1: 56px
- h2: 48px
- body: 16px
Spacing
- base unit: 4px
- scale: 2px, 4px, 6px, 8px, 10px, 11px, 12px, 14px, 16px, 20px
Radii
- base: 0px
- button: 4px
Shadows (elevation)
- card:
rgba(0, 0, 0, 0.1) 0px 2px 5px 0px - overlay:
rgba(0, 0, 0, 0.1) 0px 30px 60px -50px, rgba(50, 50, 93, 0.25) 0px 30px 60px -10px
Motion
Micro-interactions run at 300ms (dominant) with cubic-bezier(0.25, 1, 0.5, 1).
- durations: 300ms · 800ms · 150ms
- easings:
cubic-bezier(0.25, 1, 0.5, 1)·cubic-bezier(0.165, 0.84, 0.44, 1) - animated properties: fill, opacity, color, transform
Native design tokens
| Token | Value |
|---|---|
--hds-color-core-neutral-975 | #0d253d |
--hds-color-accent-border-solid | #533afd |
--hds-color-accentColorMode-ruby-icon-solid | #ea2261 |
--hds-color-util-brand-900 | #1c1e54 |
--hds-color-action-bg-subduedHover | #b9b9f9 |
--hds-color-accentColorMode-magenta-surface-subduedAlt | #ffe6f5 |
--hds-color-input-text-label | #273951 |
--hds-color-input-text-selected | #273951 |
--hds-color-input-text-popover | #273951 |
--hds-color-shadow-sm-top | #00377014 |
…and 110 more measured on the page.
Button states (measured)
- primary hover: background
#4032C8 - primary focus: outline
3px solid rgba(84, 82, 251, 0.75)
Layout (measured)
- container max-width:
1230px - nav: 76px relative
- common grid: 12 columns
Motion choreography (measured)
Load order: div.book-of-the-week__pictur → div.book-of-the-week__conten → h2.hds-heading → p.hds-text×4 → span.hds-text×4 → a.hds-link
Scroll reveal: 19 elements rest at opacity 0, translateY(-65px), animate in over 0.25s linear.
Responsive (measured)
- breakpoints: 480px · 600px · 640px · 939px · 1264px · 1300px
- mobile (390px): hero 34px · nav hamburger
Install it
Drop this measured system into any shadcn/Tailwind project in one command:
npx shadcn add mozaika.design/r/decode/stripe.com
registry item · or query it over MCP: get_design_system("Stripe")
Export: DESIGN.md
# Stripe — Design System > light, professional, medium, custom — deep decode (measured live) ## Colors | Role | Value | |------|-------| | bg | `#FFFFFF` | | surface | `#EFEFEF` | | border | `#D8D8D8` | | text | `#000000` | | text_muted | `#606060` | | primary | `#061B31` | | accent | `#533AFD` | | link | `#533AFD` | | secondary | `#FFE0D1` | | button_bg | `#533AFD` | | button_text | `#FFFFFF` | **Using these colors** - **Action color** `#533AFD` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds. - `accent`, `link`, `button_bg` are all `#533AFD` — one role, not several (your action color). - **accent** `#533AFD` — THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. - **primary** `#061B31` — a brand color — but the call-to-action uses #533AFD, not this. - **secondary** `#FFE0D1` — optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two. - **Page coverage** (full-page screenshot pixels): `#FFFFFF` 66.5% · `#FE8E6B` 7.9% · `#B3B5DE` 6.4% · `#D48FA7` 6.3% ## Typography - Heading: **Söhne** _(free fallback: Inter)_ - Body: **Söhne** _(free fallback: Inter)_ | Role | Size / weight · line-height · tracking | |------|------------------------------------------| | hero | 56px / 300 · lh 58px · tracking -1.4px | | h2 | 48px / 300 · lh 48px · tracking -0.96px | | h3 | 44px / 300 · lh 51px · tracking -0.88px | | body | 16px / 400 · lh 22px | | small | 15px / 400 · lh 21px | - Weight ladder: 300 · 400 · 500 — use these exact measured weights, not the 400/600 defaults. > **Fonts —** Söhne is proprietary — closest free match: Inter (Google). Load Inter; keep Söhne first so licensed users still get it. ## Spacing - base unit: 4px (inferred from the measured scale) - measured scale: 2px, 4px, 6px, 8px, 10px, 11px, 12px, 14px, 16px, 20px — snap all gaps/padding to these - section rhythm: 96px top/bottom padding per section (measured) ## Radius - base: 0px - button: 4px - card: 4px - sharp: 1px ## Buttons | Button | Fill / text | Border | Radius | Padding | Font | Shadow | |--------|-------------|--------|--------|---------|------|--------| | primary | `#533AFD` / `#FFFFFF` | none | 4px | 15.5px 24px 16.5px 24px | 400 16px | none | | secondary | `rgba(0, 0, 0, 0)` / `#533AFD` | 1px solid rgb(255, 255, 255) | 4px | 10.5px 20px 13.5px 20px | 400 14px | none | **States (measured, not guessed)** - primary hover: background `#4032C8` - primary focus: outline `3px solid rgba(84, 82, 251, 0.75)` - secondary hover: border `1px solid rgb(76, 63, 204)` · background `rgba(255, 255, 255, 0.937)` · color `#302C93` - transition: `background-color 0.3s cubic-bezier(0.25, 1, 0.5, 1)` ## Shadows (elevation) - card: `rgba(0, 0, 0, 0.1) 0px 2px 5px 0px` - overlay: `rgba(0, 0, 0, 0.1) 0px 30px 60px -50px, rgba(50, 50, 93, 0.25) 0px 30px 60px -10px` ## Motion - durations: 300ms (dominant) · 800ms · 150ms - easings: `cubic-bezier(0.25, 1, 0.5, 1)` (dominant) · `cubic-bezier(0.165, 0.84, 0.44, 1)` - animated properties: fill, opacity, color, transform Micro-interactions use the dominant duration + easing; nothing on the page animates slower than the longest duration above — don't invent springier motion. ## Their own tokens (verbatim from :root) | Token | Value | |-------|-------| | `--hds-color-core-neutral-975` | `#0d253d` | | `--hds-color-accent-border-solid` | `#533afd` | | `--hds-color-accentColorMode-ruby-icon-solid` | `#ea2261` | | `--hds-color-util-brand-900` | `#1c1e54` | | `--hds-color-action-bg-subduedHover` | `#b9b9f9` | | `--hds-color-accentColorMode-magenta-surface-subduedAlt` | `#ffe6f5` | | `--hds-color-input-text-label` | `#273951` | | `--hds-color-input-text-selected` | `#273951` | | `--hds-color-input-text-popover` | `#273951` | | `--hds-color-shadow-sm-top` | `#00377014` | | `--hds-color-button-ui-iconHover` | `#2e2b8c` | | `--hds-color-core-brandDark-800A` | `#4b31d080` | _…and 108 more measured on the page._ Prefer these names when extending their system — it's the brand's actual vocabulary. ## Layout (measured) - container max 1230px · common grid: 12-col - nav: 76px relative | Section (y) | Height | Cols | Gap | Pad y | Split | |---|---|---|---|---|---| | 0 | 761 | — | — | 0/0 | — | | 76 | 685 | 12 | 16 | 0/0 | — | | 206 | 351 | 12 | 16 | 0/0 | — | | 761 | 2196 | — | — | 0/0 | — | | 2957 | 560 | — | — | 0/0 | — | | 3517 | 977 | — | — | 0/0 | — | | 3597 | 378 | — | — | 0/0 | — | | 3792 | 183 | 12 | 16 | 0/0 | — | ## Motion choreography (measured) Load order: `div.book-of-the-week__pictur` @0ms → `div.book-of-the-week__conten` @0ms → `h2.hds-heading` @571ms → `p.hds-text`×4 @571ms → `span.hds-text`×4 @571ms → `a.hds-link` @571ms - `button.UniversalChatCtaButtonLa` — transform none→rotate(360deg) — 3000ms · loops - scroll reveal: 19 elements rest at opacity 0, translateY(-65px), animate in over 0.25s linear (5 revealed during the drive). Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography. ## Components (measured) - card ×4: pad 40px 0px 40px 0px · r 8px · bg rgba(0, 0, 0, 0) - hover: font-weight `400` · letter-spacing `normal` - link: #7D8BA4 · no underline — hover #061B31 ## Responsive (measured) - breakpoints: 480px · 600px · 640px · 939px · 1264px · 1300px - mobile (390px): hero 34px · body 16px · nav: hamburger ## How to apply Paste the Tailwind `@theme` (or CSS variables) as your base, then build each section to its spec — verify every color, radius, and font against these tokens. Hover/focus states, shadows and motion timings above are measured from the live page — match them exactly, don't re-guess them.
An automated reading of Stripe's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with stripe.com. No screenshots stored. Removal requests: hello@mozaika.design.