Design system stripe.com

Stripe | Financial Infrastructure to Grow Your Revenue

stripe.commode clair3 917 éléments mesurésmesuré il y a 4 heures
Visiter stripe.com

stripe.com utilise sohne-var pour la typographie et #533afd comme couleur d’accent. Mesuré le 28 septembre 2026.

Utilisez-le avec votre IAaussi dans le zip sous README.md et PROMPT.md

  1. .
  2. Décompressez le pack dans votre projet pour que le dossier se trouve dans design/stripe.com-design-pack/.
  3. Facultatif : copiez aussi le dossier dans .claude/skills/stripe-com-design/. Le SKILL.md qu’il contient fait charger le pack automatiquement à Claude Code chaque fois qu’il construit une interface.
  4. Collez le prompt ci-dessous dans Claude Code et précisez ce que vous voulez construire.
Prompt

Le prompt reste en anglais : il nomme les fichiers du pack, et votre IA le lit dans n’importe quelle langue.

Use the design pack in `design/stripe.com-design-pack/` as the source of truth for how the UI looks and behaves. It was measured from https://stripe.com/.

1. Read DESIGN.md (colours, type, spacing, radii, shadows, components) and BEHAVIOR.md (hover, focus, tooltips, menus, motion, scrolling, forms, responsive rules) before writing any code.
2. Look at every image in `design/stripe.com-design-pack/screenshots/` and match the composition, density, whitespace and image treatment. Tokens do not carry those; the screenshots do.
3. Style everything with `design/stripe.com-design-pack/tokens.css` (or `tailwind.css` if this project uses Tailwind v4). Do not invent colours, radii, shadows or font sizes that are not in the pack.
4. Load the fonts named in DESIGN.md. Where a font is not freely available, use the stand-in it names at the same sizes and weights.
5. Match the breakpoints and hover, focus and motion rules in BEHAVIOR.md. The site has no dark mode, so do not add one.

Now build: [describe the page or app you want]

When you are done, compare the result with the screenshots at desktop and phone widths, fix the biggest visual difference first, and repeat.

Couleurs10 tokens

background
#ffffff
surface
#e5edf5
surface-2
#d4dee9
surface-3
#ffe0ef
foreground
#061b31
muted-foreground
#50617a
primary
#533afd
on-primary
#ffffff
secondary
#5d0252
border
#e5edf5

Espacementsunité de 4 px

48121620243240
Largeur du contenu
1232px
Points de rupture
600, 639, 640, 939, 940px

Arrondis

bouton 4pxchamp 0pxcarte 6pximage 0px

Ombres4

1
2
3
4

Typographie1 famille

sohne-varauto-hébergée, substitut Inter
headline-displayQuick brown fox48px / 300 / lh 1.15 / -0.96px
headline-lgQuick brown fox32px / 300 / lh 1.1 / -0.64px
headline-mdQuick brown fox22px / 300 / lh 1.1 / -0.22px
body-mdThe quick brown fox jumps over the lazy dog16px / 300 / lh 1.4
label-mdThe quick brown fox jumps over the lazy dog11px / 300 / lh 1.45
buttonThe quick brown fox jumps over the lazy dog16px / 400 / lh 1
Tailles utilisées
1011121415162226324856

Composants

ProductsSign inContact sales
bouton ghost
texte #061b31 sur transparent, r 4px, h 40px, 14px/400
bouton secondary
texte #533afd sur transparent, r 4px, h 40px, 14px/400
bouton primary
texte #ffffff sur #533afd, r 4px, h 40px, 14px/400
carte
#ffffff, none, r 6px, ombre
lien
#061b31, sans soulignement, 400
en-tête
76px, relative, 5 liens à 16 px
h1
48px / 300, alignement start, max 958 px
badge
"Succeeded": #15be5333 on #108c3d, 10px/300, 16px tall, radius 4px, padding 1px 6px, border 1px #15be5366
badge
"Disputed": #ebeef1 on #50617a, 10px/300, 16px tall, radius 4px, padding 1px 6px, border 1px #d8dee4
avatar
Avatar 60px, radius 0px, border 0px rgb(90, 102, 119)
code
pre: monospace 12px, transparent bg, #ffffff text, radius 0px, padding 16px 16px
formulaires
1 forms, 1 inputs. Required markers: 0. Help texts: 4. Submit button is content-width. Label placement: other (1).
icônes
Icons: 256 inline SVGs, filled, sizes 9px/16px/20px/14px, stroke 0.536606/1.75/1.12753; icon font classes icon-.

Interactions et animations

  • button primary "Contact sales": background #533afd → #4032c8
  • button secondary "Sign in": background transparent → #ffffff, text #533afd → #2e2b8c, border #ffffff → #4032c8, icon/inner colour → #2e2b8c
  • nav link "Pricing": aucun changement au survol
  • focus button primary: outline 3px solid rgba(84, 82, 251, 0.75), offset 1px
  • infobulles: Tooltip triggers exist (5 × aria-describedby, 1 × title) but none opened on hover in the first viewport; title attributes fall back to the browser's native tooltip.
  • menus: Hover/click menus: below the trigger, 12px gap, shifted right; #ffffff, radius 0px, padding 0px 0px, shadow yes; 67 items, 42px tall, 14px, padding 0px 0px, with icons, with descriptions, 2 columns; appears after a delay; hides within 400ms of leaving (transition or unmount).
  • animations: 550 elements carry transitions; typical 0.3s with cubic-bezier(0.25, 1, 0.5, 1), mostly on color, opacity, transform. 5 running keyframe animations (book-of-the-week-fade-in 0.5s 1; detect-scroll auto 1; gradient-border-input-shimmer 1s 1). 39 sizable elements sit at opacity 0 before scrolling: scroll-reveal animations are in use (reveal on enter, fade + rise is the usual recipe).

Thème

No dark mode responded to prefers-color-scheme, a theme toggle, or a root class/attribute.

Responsive1440 / 1024 / 768 / 390 px

stripe.com à 1440 pixels
1440px
stripe.com à 1024 pixels
1024px
stripe.com à 768 pixels
768px
stripe.com à 390 pixels
390px
ViewportContenuGouttièreTexteH1En-têteHeroGrillesBoutons
desktop 14401232px208px16px48px, 4 lines, start76px, 4 links, 1 CTAmedia below text2→1 col; 6→2 col; 2→2 col1 full-width
laptop 1024958px114px16px46.1px, 5 lines, start76px, 3 links, 1 CTAmedia below text2→1 col; 6→2 col; 2→2 col1 full-width
tablet 768702px33px16px40px, 5 lines, start66px, hamburger (Toggle navigation menu), 1 CTAmedia below text6→2 col; 2→2 col; 4→4 col2 full-width
phone 390358px16px16px34px, 2 lines, start66px, hamburger (Toggle navigation menu), 1 CTAmedia below text2→2 col; 4→4 col; 2→2 col13 full-width
  • H1 goes 48px → 34px (71%), 4 → 2 lines.
  • Nav collapses to a hamburger by 390px (first seen at 768px); header 76px → 66px.
  • Body text stays 16px at every width.
  • Phone side gutter 16px.
  • 13 buttons stretch full-width on phones.

Fichiers du pack14 fichiers

DESIGN.md
Format DESIGN.md de Google ; Stitch, Claude Code et Cursor le lisent
10 ko
tokens.json
Design tokens W3C (DTCG) pour Style Dictionary et les plugins Figma
10 ko
tokens.css
Les mêmes valeurs en propriétés personnalisées CSS
1,7 ko
tailwind.css
Bloc @theme Tailwind v4
1 ko
SKILL.md
Skill Claude Code / Cursor qui ordonne la lecture du pack pour l’agent
2,2 ko
BEHAVIOR.md
Survol, focus, infobulles, menus, animations, défilement, tableaux, formulaires, texte, responsive, mode sombre, stack
12 ko
evidence.json
Mesures brutes derrière les deux documents (chaque viewport, sonde et règle)
81 ko
screenshots/
desktop-1440-fold.png, desktop-1440-full.jpg, laptop-1024-fold.png, tablet-768-fold.png, phone-390-fold.png, phone-390-full.jpg
6 images
DESIGN.md237 lignes
---
version: alpha
name: "stripe.com"
description: "Design system extracted from https://stripe.com/ on 2026-09-28"
colors:
  background: "#ffffff"
  surface: "#e5edf5"
  surface-2: "#d4dee9"
  surface-3: "#ffe0ef"
  foreground: "#061b31"
  muted-foreground: "#50617a"
  primary: "#533afd"
  on-primary: "#ffffff"
  secondary: "#5d0252"
  border: "#e5edf5"
typography:
  headline-display:
    fontFamily: "sohne-var"
    fontSize: "48px"
    fontWeight: 300
    lineHeight: "1.15"
    letterSpacing: "-0.96px"
  headline-lg:
    fontFamily: "sohne-var"
    fontSize: "32px"
    fontWeight: 300
    lineHeight: "1.1"
    letterSpacing: "-0.64px"
  headline-md:
    fontFamily: "sohne-var"
    fontSize: "22px"
    fontWeight: 300
    lineHeight: "1.1"
    letterSpacing: "-0.22px"
  body-md:
    fontFamily: "sohne-var"
    fontSize: "16px"
    fontWeight: 300
    lineHeight: "1.4"
  label-md:
    fontFamily: "sohne-var"
    fontSize: "11px"
    fontWeight: 300
    lineHeight: "1.45"
  button:
    fontFamily: "sohne-var"
    fontSize: "16px"
    fontWeight: 400
    lineHeight: "1"
rounded:
  none: "0px"
  sm: "4px"
  md: "6px"
  full: "9999px"
spacing:
  unit: "4px"
  1: "4px"
  2: "8px"
  3: "12px"
  4: "16px"
  5: "20px"
  6: "24px"
  7: "32px"
  8: "40px"
components:
  button-ghost:
    backgroundColor: "{colors.background}"
    textColor: "#061b31"
    typography: "{typography.button}"
    rounded: "4px"
    height: "40px"
    padding: "12px 0px"
  button-secondary:
    backgroundColor: "{colors.background}"
    textColor: "#533afd"
    typography: "{typography.button}"
    rounded: "4px"
    height: "40px"
    padding: "10.5px 20px"
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.button}"
    rounded: "4px"
    height: "40px"
    padding: "11.5px 20px"
  card:
    backgroundColor: "#ffffff"
    rounded: "6px"
    padding: "0px"
---

# stripe.com

## Overview

Stripe | Financial Infrastructure to Grow Your Revenue: Stripe is a financial services platform that helps all types of businesses accept payments, build flexible billing models, and manage money movement.

Sharp, squared-off controls, layered shadows for depth, confident display type at 48px / 300, a single blue accent on neutrals. The site ships in light mode by default. Measured from 3917 rendered elements at 1440px wide on 2026-09-28.

Reference screenshots live beside this file; look at them before writing any layout, they carry the composition, density and image treatment that tokens cannot:

- `screenshots/desktop-1440-fold.png`: Desktop 1440, above the fold
- `screenshots/desktop-1440-full.jpg`: Desktop 1440, full page
- `screenshots/laptop-1024-fold.png`: Laptop 1024, above the fold
- `screenshots/tablet-768-fold.png`: Tablet 768, above the fold
- `screenshots/phone-390-fold.png`: Phone 390, above the fold
- `screenshots/phone-390-full.jpg`: Phone 390, full page

## Colors

| Token | Value | Use |
| --- | --- | --- |
| background | `#ffffff` | Page background |
| surface | `#e5edf5` | Cards, panels, raised or recessed surfaces |
| surface-2 | `#d4dee9` | Secondary surface |
| surface-3 | `#ffe0ef` | Secondary surface |
| foreground | `#061b31` | Primary text |
| muted-foreground | `#50617a` | Secondary text, captions |
| primary | `#533afd` | Accent: primary buttons, links, focus |
| on-primary | `#ffffff` | Text on the accent |
| secondary | `#5d0252` | Secondary accent (pink) |
| border | `#e5edf5` | Hairlines, dividers, input borders |

Full painted palette by area (largest first): `#ffffff`, `#e5edf5`, `#0d1738`, `#122054`, `#79573e`, `#d4dee9`, `#5d0252`, `#533afd`.

Gradients in use: `radial-gradient(circle, rgb(127, 125, 252), rgb(244, 75, 204) 33%, rgb(229, 237, 245) 66%)`; `radial-gradient(102.83% 103.24% at 49.98% 104.51%, rgb(255, 180, 81) 0px, rgb(239, 198, 128) 16.73%, rgb(180, 216, 255) 33.03%, rgb(210, 232, 255) 43.38%, rgb(2`; `radial-gradient(50% 50% at 50% 50%, rgb(255, 207, 94) 41.35%, rgba(255, 207, 94, 0) 100%)`.

The accent `#533afd` is used sparingly: primary buttons, links and focus rings. Everything else stays neutral.

## Typography

- **sohne-var** for h1, h2, h3, body, label, button: self-hosted webfont, not freely available; use **Inter** from Google Fonts as the stand-in.

| Role | Family | Size | Weight | Line height | Tracking |
| --- | --- | --- | --- | --- | --- |
| headline-display | sohne-var | 48px | 300 | 1.15 | -0.96px |
| headline-lg | sohne-var | 32px | 300 | 1.1 | -0.64px |
| headline-md | sohne-var | 22px | 300 | 1.1 | -0.22px |
| body-md | sohne-var | 16px | 300 | 1.4 | normal |
| label-md | sohne-var | 11px | 300 | 1.45 | normal |
| button | sohne-var | 16px | 400 | 1 | normal |

Type scale in use: 10px, 11px, 12px, 14px, 15px, 16px, 22px, 26px, 32px, 48px, 56px. Base body size 16px.

The H1 renders at 48px / 300, start aligned, up to 958px wide, tracking -0.96px. Sample: "Financial infrastructure to grow your revenue. Accept payments, offer financial ".

## Layout

- Spacing unit: 4px. Scale in use: 4, 8, 12, 16, 20, 24, 32, 40 (px).
- Flex and grid gaps: 4, 8, 12, 16, 24, 28, 32, 40 px.
- Content max width: 1232px, centred.
- Breakpoints: 600px, 639px, 640px, 939px, 940px.
- Header: 76px tall, relative, background `rgba(0, 0, 0, 0)`; 5 nav links at 16px / 400 (Pricing · Guide me · Sign inSign in · Contact sales).

## Elevation & Depth

Shadows in use, most common first:

- shadow-1: `rgba(3, 3, 39, 0.25) 0px 14.088px 21.132px -14.088px, rgba(0, 0, 0, 0.1) 0px 8.453px 16.906px -8.453px`
- shadow-2: `rgba(50, 50, 93, 0.25) 0px 30px 45px -30px, rgba(0, 0, 0, 0.1) 0px 18px 36px -18px`
- shadow-3: `rgba(23, 23, 23, 0.08) 0px 15px 35px 0px`
- shadow-4: `rgba(23, 23, 23, 0.06) 0px 3px 6px 0px`

## Shapes

- Buttons: 4px
- Inputs: 0px
- Cards and panels: 6px
- Images and media: 0px
- Radius scale: none 0px, sm 4px, md 6px, full 9999px

## Components

### Button, ghost

Background transparent, text `#061b31`, border none, radius 4px, height 40px, padding 12px 0px, 14px / 400. Sample label: "Products".

### Button, secondary

Background transparent, text `#533afd`, border 1px solid #ffffff, radius 4px, height 40px, padding 10.5px 20px, 14px / 400. Sample label: "Sign in".

### Button, primary

Background `#533afd`, text `#ffffff`, border none, radius 4px, height 40px, padding 11.5px 20px, 14px / 400. Sample label: "Contact sales".

### Card

Background `#ffffff`, border none, radius 6px, padding 0px, shadow `rgba(23, 23, 23, 0.06) 0px 3px 6px 0px`. Typical size about 618×539px.

### Link

Colour `#061b31`, no underline at rest, weight 400.

## Dark Mode

No dark mode responded to prefers-color-scheme, a theme toggle, or a root class/attribute.

## Responsive Behavior

| Viewport | Content width | Gutter | Body | H1 | Header | Hero | Grids | Buttons |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| desktop 1440px | 1232px | 208px | 16px | 48px, 4 lines, start | 76px, 4 links, 1 CTA | media below text | 2→1 col; 6→2 col; 2→2 col | 1 full-width |
| laptop 1024px | 958px | 114px | 16px | 46.1px, 5 lines, start | 76px, 3 links, 1 CTA | media below text | 2→1 col; 6→2 col; 2→2 col | 1 full-width |
| tablet 768px | 702px | 33px | 16px | 40px, 5 lines, start | 66px, hamburger (Toggle navigation menu), 1 CTA | media below text | 6→2 col; 2→2 col; 4→4 col | 2 full-width |
| phone 390px | 358px | 16px | 16px | 34px, 2 lines, start | 66px, hamburger (Toggle navigation menu), 1 CTA | media below text | 2→2 col; 4→4 col; 2→2 col | 13 full-width |

- H1 goes 48px → 34px (71%), 4 → 2 lines.
- Nav collapses to a hamburger by 390px (first seen at 768px); header 76px → 66px.
- Body text stays 16px at every width.
- Phone side gutter 16px.
- 13 buttons stretch full-width on phones.

## Interaction & Motion

550 elements carry transitions; typical 0.3s with cubic-bezier(0.25, 1, 0.5, 1), mostly on color, opacity, transform. 5 running keyframe animations (book-of-the-week-fade-in 0.5s 1; detect-scroll auto 1; gradient-border-input-shimmer 1s 1).

- Hover on button-primary ("Contact sales"): background #533afd → #4032c8; cursor pointer; transition color, background-color, border-color | 0.24s, 0.24s, 0.24s | cubic-bezier(0.45, 0.05, 0.55, 0.95), cubic-bezier(0.45, 0.05, 0.55, 0.95), cubic-bezier(0.45, 0.05, 0.55, 0.95) | delay 0s, 0s, 0s.
- Hover on button-secondary ("Sign in"): background transparent → #ffffff, text #533afd → #2e2b8c, border #ffffff → #4032c8, icon/inner colour → #2e2b8c; cursor pointer; transition color, background-color, border-color | 0.24s, 0.24s, 0.24s | cubic-bezier(0.45, 0.05, 0.55, 0.95), cubic-bezier(0.45, 0.05, 0.55, 0.95), cubic-bezier(0.45, 0.05, 0.55, 0.95) | delay 0s, 0s, 0s.
- Hover on nav-link ("Pricing"): no visible change; cursor pointer; transition color, background-color, border-color | 0.24s, 0.24s, 0.24s | cubic-bezier(0.45, 0.05, 0.55, 0.95), cubic-bezier(0.45, 0.05, 0.55, 0.95), cubic-bezier(0.45, 0.05, 0.55, 0.95) | delay 0s, 0s, 0s.
- Focus on button-primary: outline 3px solid rgba(84, 82, 251, 0.75), offset 1px.
- Tooltip triggers exist (5 × aria-describedby, 1 × title) but none opened on hover in the first viewport; title attributes fall back to the browser's native tooltip.
- Hover/click menus: below the trigger, 12px gap, shifted right; #ffffff, radius 0px, padding 0px 0px, shadow yes; 67 items, 42px tall, 14px, padding 0px 0px, with icons, with descriptions, 2 columns; appears after a delay; hides within 400ms of leaving (transition or unmount).
- 39 sizable elements sit at opacity 0 before scrolling: scroll-reveal animations are in use (reveal on enter, fade + rise is the usual recipe).

Full detail (every overlay, table, form, scroll and text rule measured) is in `BEHAVIOR.md`; raw evidence in `evidence.json`.

## Do's and Don'ts

- Do use 4px multiples for every padding, margin and gap; the site does not use odd values.
- Do reserve `#533afd` for actions and focus; never paint large areas with it.
- Do keep body text at 16px in sohne-var.
- Do match corner radii per element class (buttons 4px, cards 6px); do not pick one radius for everything.
- Do use the measured shadows above; do not invent heavier ones.
- Don't substitute a different accent hue or introduce gradients that are not listed above.
- Don't rebuild from the tokens alone; open the screenshots for composition, density and image treatment.