# Stripe Dashboard DESIGN.md

> Public preview. The complete DESIGN.md source (all 81 design tokens, spacing, components and frontmatter) requires DesignMD Pro: https://www.designmdpro.app/pricing

Stripe's public entry surface: one type family (Söhne variable) across a 300-to-600 range, blurple as the single accent, hairline rings instead of borders, 4-6px radii, and the signature gradient reserved for the sign-in backdrop.

- Website: https://dashboard.stripe.com
- Primary color: Indigo `#635BFF`
- Fonts: sohne-var
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/stripe-dashboard

## Palette preview

- `outline`: `#e3e8ee`
- `primary`: `#635bff`
- `surface`: `#e3e8ee`
- `tertiary`: `#e46602`
- `secondary`: `#0072e9`
- `background`: `#ffffff`
- `on-primary`: `#ffffff`
- `on-surface`: `#1a2c44`

## Typography preview

- `body-lg`: sohne-var
- `body-md`: sohne-var

---

## Overview

This documents **Stripe Dashboard's public entry surface**. The authenticated product behind `dashboard.stripe.com` is login-walled and not publicly capturable, so what follows is the two screens anyone can reach — `/login` and `/register` — plus the dashboard shell that shows through, deliberately blurred, behind the registration modal. That preview is the only public glimpse of the product's interior, and it is captured here as such.

The mood is **restrained and instrument-panel calm**. One type family (Söhne, as a variable font) carries everything from a 13px footer link to a 16px button label; one accent — Stripe's blurple — marks every interactive thing; and the single most Stripe-like gesture, the swirling blue-orange-pink gradient, is confined to the sign-in page's backdrop and never touches a control. Both auth screens are a single centered card floating on a white field, with the form's own structure — label above field, primary action below, alternatives separated by a hairline rule — doing all the organizing.

## Colors

The palette is **achromatic plus one accent, with two chart hues borrowed from the dashboard preview**.

- **Primary (#635bff):** blurple. It fills the `Sign in` and `Create account` buttons, tints the checked "Remember me on this device" checkbox, and colors the `Forgot your password?` link. It is the only saturated color on the auth surface. The button fill renders a hair brighter in practice, at `#675dff` — a two-step difference that is invisible but is what the computed styles report.
- **On-primary (#ffffff):** the button and checkbox labels.
- **Secondary (#0072e9):** the dashboard preview's primary chart blue — the line that climbs through the `Net volume from sales` graph. `#3babfd` is its lighter partner for the second series.
- **Tertiary (#e46602):** the warm chart series in the same preview, and the only orange in the product UI.
- **Background (#ffffff):** the page field and both cards.
- **Surface (#e3e8ee):** the dashboard application ground, glimpsed behind the modal — a cool light gray that is clearly a step below white.
- **Surface-container (#f7fafc):** the near-white panel fill used for inset regions in the dashboard.
- **Surface-container-high (#bac8da):** the deeper blue-gray used for chart gridlines and dividers in the preview.
- **Text ramp:** **#1a2c44** for auth form labels (the darkest ink in the system), **#273951** for button labels and input text, **#414552** for the dashboard's dominant text — 53 separate elements in the register capture — **#3c4257** for dashboard body and select labels, **#4f566b** for secondary dashboard text, and **#697386** for the quietest lines.
- **Outline (#e3e8ee) / outline-variant (#d4dee9):** these are not painted borders. Stripe draws control edges as **1px box-shadow rings** — `0 0 0 1px rgb(212, 222, 233)` on every input and secondary button, `0 0 0 1px rgb(103, 93, 255)` on the primary button and the checked checkbox. A ring costs nothing in layout, which is why the fields never shift a pixel on focus.
- **Success (#09825d):** the green used by the `Succeeded` payment status in the dashboard preview. There is no destructive red on either public screen.

## Typography

**One family: Söhne**, shipped as the variable font `sohne-var` (with a `sohne-woff` fallback and then Helvetica Neue / Arial / sans-serif). The variable axis runs 100–1000, and the public surface uses a deliberately narrow slice of it: **300, 400, 500, and 600**. The range is small on purpose — Stripe's hierarchy on these screens comes from weight and color, not from size. There is no display type at all: the largest text on either page is a 16px button label, and the modal titles sit a clear step above the 14px labels in the same family at a semibold weight.

- **Buttons and inputs:** 16px/500 at a 1.75 line height for the primary CTA (`Sign in`, `Create account`), 16px/300 for the login fields, 14px/500 for the country select and dashboard buttons.
- **Labels:** 14px/600 in `#1a2c44` for `Email`, `Password`, `Full name`, `Country` — the semibold is the only heavy weight on the page.
- **Body:** 14px/300 at a 1.6 line height for the dashboard sidebar and modal copy, 14px/400 at 1.43 for inline text.
- **Small print:** 13px/400 for the `Already have an account? Sign in` line and the `© Stripe` / `Privacy & terms` footer; 14px/400 in blurple for `Forgot your password?` and the `Unsubscribe` / `Privacy Policy` links inside the marketing-consent copy.
- **Letter spacing is `normal` everywhere** — no tracking adjustments at any size.

## Layout

Two different containers, both narrow. The **auth screens** use a 450px modal (540px outer card, 444px inner content) centered in the viewport with 20px of vertical padding around it. The form inside is a single column: label, field, label, field, then a right-aligned `Forgot your password?` link on the password row, then the checkbox, then the full-width primary button, then a hairline rule with `Or sign in with` centered on it, then three stacked secondary buttons (`Google`, `Passkey`, `SSO`), then the footer strip.

The **dashboard preview** behind the register modal reveals the product's own frame: a **240px** fixed left sidebar and a content area inside a **1360px** maximum width. The sidebar stacks a search field at the top, then a `Test mode` toggle, then grouped navigation — `Home`, `Balances`, `Transactions`, `Customers`, `Product catalog` in one group, `Products` (`Payments`, `Billing`, `Reporting`) and `More` as collapsible groups, and `Developers` pinned at the bottom. The content area opens on a `Today` heading, a row of metric cards (`Net Volume`, `USD Balance`, `Payouts`), an `Your overview` section with `Payments` / `Billing` / `Reporting` tabs, and a pair of charts with an `Apr 20 → Today` axis.

## Elevation & Depth

Elevation is expressed almost entirely through **ring-plus-shadow stacks on cards, and nothing at all on controls**.

- The register modal: `rgba(60, 66, 87, 0.08) 0 15px 35px, rgba(0, 0, 0, 0.12) 0 5px 15px` — a wide, very soft ambient shadow paired with a tighter contact shadow.
- The inner `.bs-Modal` panel: `0 0 0 1px #00000012, 0 2px 15px #54606740` — a 1px ring at 7% black plus a 15px diffuse shadow.
- The modal header: `0 0 10px rgba(gray-400, 0.15)`, a barely-there separation from the body.
- Inputs and secondary buttons: a single `0 0 0 1px #d4dee9` ring, no shadow, no blur.
- Primary button and checked checkbox: a single `0 0 0 1px #675dff` ring, plus `rgba(0, 0, 0, 0.12) 0 1px 1px` on press.
- The sign-in page's depth comes from its backdrop instead: the full-bleed Stripe gradient — a soft swirl of periwinkle, gold, orange, and magenta — blurred and washed out so the white card reads as the only sharp thing on screen. The register page shows the dashboard behind it at a heavy blur for the same reason.

## Shapes

A **small, consistent radius scale, and nothing round**. `4px` is the most common value — the country select, the checkbox, and the dashboard's small controls. `6px` covers every input and button on the auth surface. `8px` and `12px` handle larger panels, and `9999px` appears exactly once. Circles (`50%`) show up seven times in the dashboard preview, all of them icon holders. The modal's radius is inherited from a single `--sail-radius` token, so both the 450px panel and its 540px outer card share one value. Nothing is bevelled, nothing is pill-shaped in the product UI, and the only place a full pill appears is a single element in the dashboard chrome.

## Motion & Micro-interaction

Motion is **fast, shadow-driven, and almost entirely on controls**. Inputs transition `background-color` and `box-shadow` over **150ms `cubic-bezier(0, 0.09, 0.4, 1)`**; buttons and links transition `color` and `box-shadow` over **240ms `ease`**. Opacity fades — the modal opening and closing, the sidebar collapsing — run **150ms `cubic-bezier(0.215, 0.61, 0.355, 1)`**, and one slow **500ms `ease-out`** filter transition handles the gradient backdrop's shift. The modal itself has a `300ms ease-in-out` shake animation reserved for invalid submissions (`Modal-panelShakeAnimation`), and it opens with a `perspective: 800` container so the panel can scale in. Nothing loops, nothing parallaxes, and nothing animates on scroll.

## Voice & Content Strategy

- **Tone of voice:** plain, procedural, and unbothered. It asks for exactly what it needs and explains the rest in one clause. There is no persuasion on either screen — the marketing already happened elsewhere.
- **Capitalization:** sentence case throughout (`Sign in to your account`, `Create your Stripe account`, `Remember me on this device`, `Forgot your password?`). Question marks are kept on the questions; nothing else is punctuated.
- **Terminology:** "account" (not "profile"), "Passkey" and "SSO" as proper product names, "device" in `Remember me on this device`, "Country" as a form label with a select that defaults to a real detected value (`Hong Kong SAR China`). The dashboard preview uses Stripe's exact financial vocabulary: `Net Volume`, `USD Balance`, `Available to pay out`, `Payouts`, `Expected today`, `Gross volume`, `Net volume from sales`, `Succeeded` / `Uncaptured` / `Refunded` / `Failed`, `Test mode`.
- **Button and action labels:** two words, verb-first, no punctuation — `Sign in`, `Create account`, `Sign in` (the footer alternative). The separator between the password form and the social options is `Or sign in with` / `Or sign up with`.
- **Empty, loading, and error states:** the register form marks its required fields by position and label alone — `Email`, `Full name`, `Password`, `Country` — and marks the optional one explicitly (`WhatsApp (optional)` on the request form, absent here). The marketing-consent checkbox is unchecked by default and its copy carries the escape hatch inline: `Receive marketing communication from Stripe (including via automated systems) regarding product updates, industry news, and event invitations. Unsubscribe at any time.` with `Privacy Policy` linked from inside the sentence. The `Forgot your password?` link is the only recovery path offered.
- **Numbers, dates, and units:** the dashboard preview shows money with a thousands separator and two decimals (`9,257.51`, `11,633.07`, `852.20`), deltas as signed percentages (`+86.4%`, `+145.6%`), the previous period as a comparison (`$205.00 previous period`), chart axes bucketed by day (`Apr 20`, `Today`), and update timestamps in 12-hour form (`Updated today 7:50 AM`, `2:00 PM`).

Real examples from the page:

> "Sign in to your account"

> "Remember me on this device"

> "Receive marketing communication from Stripe (including via automated systems) regarding product updates, industry news, and event invitations. Unsubscribe at any time."

## Components

- **button-primary** — `Sign in` and `Create account`: `#675dff` fill, white 16px/500 label, 6px radius, `8px 16px` padding, 44px height on the login screen and 36px on the register modal, full measure (444px), with a `0 0 0 1px #675dff` ring.
- **button-ghost** — `Google`, `Passkey`, `SSO`: white fill, `#273951` 16px/500 label, 6px radius, 40px height, a leading provider glyph, and a single `0 0 0 1px #d4dee9` ring in place of a border.
- **input-default** — the email and password fields: white fill, 6px radius, `8px 12px` padding, 44px height, 16px/300 `#273951` text, `0 0 0 1px #d4dee9` ring, 150ms `cubic-bezier(0, 0.09, 0.4, 1)` transition on background and shadow.
- **field-label** — `Email`, `Password`, `Full name`, `Country`: 14px/600 `#1a2c44`, sitting directly above its field with no helper text.
- **checkbox** — `Remember me on this device`: 14px square, 4px radius, `#675dff` fill when checked with a `0 0 0 1px #675dff, rgba(0,0,0,0.12) 0 1px 1px` shadow, and a 14px/300 label.
- **nav** — the dashboard sidebar glimpsed behind the modal: 240px wide, white ground, grouped items at 14px/300 `#414552`, with a search field and `Test mode` toggle at the top and `Developers` at the bottom.
- **modal** — the auth card: 450px inner panel inside a 540px outer card, white ground, `--sail-radius`, shadow `0 0 0 1px #00000012, 0 2px 15px #54606740`, opening on a `perspective: 800` container with a 150ms opacity fade and a 300ms shake on invalid submit.
- **metadata** — the quiet 14px/400 `#697386` line used for dashboard secondary text and supporting notes.
- **link** — `Forgot your password?` and the inline `Privacy Policy` / `Unsubscribe` links: 14px/400 in blurple `#635bff`.

## Do's and Don'ts

- Do set everything in Söhne variable and keep the weight range to 300/400/500/600; the narrow range is what makes the pages feel calm.
- Do draw every control edge as a **1px box-shadow ring** (`0 0 0 1px #d4dee9` on neutral, `0 0 0 1px #675dff` on the accent) rather than as a `border` — it never affects layout.
- Do use blurple `#635bff` for exactly three things: the primary button fill, the checked checkbox, and inline links. Nothing else on the auth surface is colored.
- Do keep the auth card at 450px (540px outer, 444px content) and the form in one column with the label directly above its field.
- Do separate the password form from the social options with a hairline rule carrying centered `Or sign in with` text.
- Do keep the signature gradient on the sign-in backdrop only — blurred, washed, and behind the card. It never touches a control, a chart, or the dashboard.
- Do transition inputs over 150ms `cubic-bezier(0, 0.09, 0.4, 1)` and buttons over 240ms `ease`, on `background-color` and `box-shadow` only.
- Don't use radii above 12px in the product UI, and don't round anything except the four small controls at 4px and the inputs and buttons at 6px.
- Don't add letter-spacing at any size; `normal` is the system value.
- Don't introduce a second type family, a display size, or a fourth text color beyond the five-step ramp.
- Don't put shadows on resting controls — the only shadows belong to the modal card and its header.
- Do note that white on the blurple `#675dff` CTA measures about 4.6:1 and passes AA, `#1a2c44` labels on white are roughly 14:1, and `#697386` quiet text is about 4.7:1; the `#414552` sidebar text on white is around 9:1. The one pair to watch is the 13px footer link in `#697386`, which sits right at the AA boundary — keep it at 13px/400 or larger rather than shrinking it further.
