Stripe DESIGN.md
Stripe's design system as a file your coding agent can follow, read from stripe.com's own CSS on November 18, 2026.
Colors
- Page background
#ffffff - Text
#061b31 - Muted text
#64748d - Surface
#f8fafd - Surface 2
#e5edf5 - Primary
#5452fb - Focus ring
#5452fb 75%
Typefaces
- sohne-var
DESIGN.md · stripe.com
# DESIGN.md: Stripe
> Design reference saved with PocketUI from stripe.com.
> Build new UI in this style. Values and colour roles are read from the source's own CSS; adjust any that look wrong.
## Colors
| Role | Value |
| --- | --- |
| Page background | `#ffffff` |
| Text | `#061b31` |
| Muted text (secondary copy, captions) | `#64748d` |
| Surface (cards, panels, inputs) | `#f8fafd` |
| Surface 2 | `#e5edf5` |
| Border | `#e5edf5` |
| Primary (buttons, links, key actions) | `#5452fb` |
| Focus ring | `rgba(84, 82, 251, 0.75)` |
Also used: `#533afd`, `#32325d`, `#0d1738`, `#635bff`, `#003770`, `#ffd601`, `#ee30fb`, `#003b89`, `#9966ff`, `#ff6118`, `#171717`, `#2863b1`
## Typography
- **Body:** sohne-var
- **Sizes in use:** 8px, 9px, 10px, 11px, 12px, 13px, 14px, 16px, 18px, 20px
- **Weights in use:** 300, 400, 500, 600, 700
## Shape & spacing
- **Corner radius:** 2px, 3px, 4px, 5px, 6px, 8px, 10px, 16px, 20px
- **Shadows:** `0px 16px 32px rgba(50,50,93,.12)` · `0px 2px 10px 0px #0037700f,0px 1px 4px 0px #003b890a` · `0px 6px 22px 0px #0037701a,0px 4px 8px 0px #003b8905` · `0 27px 40.5px -27px rgba(50,50,93,.25),0 16.2px 32.4px -16.2px rgba(0,0,0,.1)`
- **Spacing scale:** 2px, 4px, 6px, 8px, 10px, 12px, 16px, 20px, 24px, 32px
## Motion
- **Durations:** 150ms, 250ms, 300ms
- **Easing:** `cubic-bezier(.25,1,.5,1)`, `ease`, `cubic-bezier(0.45,0.05,0.55,0.95)`
## Rules
- Use these values as the design tokens for new UI; don't introduce new colours or fonts without a reason.
- Keep the primary colour for actions and highlights; let neutrals carry the layout.
- Animate colour, opacity and shadow on hover and focus, at these durations; don't animate layout.
- Text on the background is 17.4:1. Keep new text at 4.5:1 or more (WCAG AA).
- Keyboard focus shows as `rgba(84, 82, 251, 0.75)`: give every link, button and field that visible focus, plus hover, pressed and disabled states.
- Take the feel, not the content: no text, logos or images from the source.
How to use it
- 1
Download it, or copy it into a file named
DESIGN.mdin your project root. - 2
Add one line to CLAUDE.md, AGENTS.md or your Cursor rules: "Follow DESIGN.md for all UI work."
- 3
Ask for UI as usual. Your agent uses these colors, sizes and spacing instead of its defaults.
About this file
PocketUI read it from stripe.com's public stylesheets on November 18, 2026. No AI wrote it: the values are measured, and the roles (primary, background, text) come from where the CSS uses each color, so check them before you build. Stripe is a trademark of its owner, and this file isn't made or endorsed by Stripe. Use it for the feel, not to copy their brand.
Get one for another site
DESIGN.md generator
Paste any URL and get its DESIGN.md in a few seconds. Free, no sign-up.
More DESIGN.md files
Vercel DESIGN.md
GeistSans, Geist Mono, GeistPixelSquare
Linear DESIGN.md
Colors, sizes and spacing
Apple DESIGN.md
SF Pro Text, SF Pro Display
Claude DESIGN.md
anthropicSans, anthropicSerif, anthropicMono
Cursor DESIGN.md
CursorGothic, berkeleyMono, cursorMono
GitHub DESIGN.md
Mona Sans VF

Stop recreating designs you've already seen
30% off your first year as an early supporter. One email on launch day.