Design system mercury.com

Online Business Banking For Startups, Small Businesses & Scaling Companies

mercury.commode sombre2 162 éléments mesurésmesuré il y a 68 minutes
Visiter mercury.com

mercury.com utilise arcadiaDisplay, arcadia pour la typographie et #5266eb 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/mercury.com-design-pack/.
  3. Facultatif : copiez aussi le dossier dans .claude/skills/mercury-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/mercury.com-design-pack/` as the source of truth for how the UI looks and behaves. It was measured from https://mercury.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/mercury.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/mercury.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.

Couleurs7 tokens

background
#171721
surface
#272735
foreground
#ededf3
muted-foreground
#c3c3cc
primary
#5266eb
on-primary
#ffffff
border
#e2e3ed

Espacementsunité de 4 px

4812162024324072128
Largeur du contenu
1024px
Points de rupture
640, 768, 1024, 1536, 1952px

Arrondis

bouton 32pxchamp 32pxcarte 0pximage 0px

Ombres1

1

Typographie2 familles

arcadiaDisplayauto-hébergée, substitut Interarcadiaauto-hébergée, substitut Inter
headline-displayQuick brown fox49px / 480 / lh 1.11
headline-lgQuick brown fox42px / 480 / lh 1.15 / 0.42px
headline-mdQuick brown fox24px / 600 / lh 1.4
body-mdThe quick brown fox jumps over the lazy dog12px / 400 / lh 1.4 / 0.24px
label-mdThe quick brown fox jumps over the lazy dog12px / 400 / lh 1.4 / 0.24px
buttonThe quick brown fox jumps over the lazy dog16px / 420 / lh 1
Tailles utilisées
121618284249

Composants

ProductsOpen accountLaunch demoAdresse e-mail
bouton ghost
texte #ededf3 sur transparent sur #171721, r 40px, h 40px, 16px/420
bouton primary
texte #ffffff sur #5266eb, r 32px, h 40px, 16px/420
bouton secondary
texte #ededf3 sur #afb2ce33, r 40px, h 40px, 16px/420
champ
h 46px, 0px solid #ededf3, r 32px
lien
#ededf3, sans soulignement, 400
en-tête
72px, relative, 4 liens à 16 px
h1
49.3472px / 480, alignement center, max 672 px
formulaires
1 forms, 2 inputs. Required markers: 0. Help texts: 0. Submit button is content-width. Label placement: floating (1).
icônes
Icons: 41 inline SVGs, filled, sizes 12px/14px/40px/9px, stroke 1; icon font classes icon-, feather.

Interactions et animations

  • button primary "Open account": aucun changement au survol
  • button secondary "Open account": aucun changement au survol
  • nav link "Pricing": background transparent → #9cb4e847
  • input: aucun changement au survol
  • focus button primary: outline 2px solid rgb(156, 180, 232), offset 4px
  • focus input: no visible focus style measured (may rely on :focus-visible with keyboard only)
  • infobulles: Tooltip triggers exist (16 × aria-describedby, 20 × title) but none opened on hover in the first viewport; title attributes fall back to the browser's native tooltip.
  • menus: No dropdown menus found in the header.
  • animations: 130 elements carry transitions; typical 0.3s with cubic-bezier(0, 0, 0.2, 1), mostly on color, background-color, border-color. 7 running keyframe animations (translateUp 0.67s 1; fadeIn 0.67s 1; fadeOutBlur 0.5s 1). 18 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

The site is dark by default and no light mode responded to prefers-color-scheme, a theme toggle, or a root class/attribute.

Responsive1440 / 1024 / 768 / 390 px

mercury.com à 1440 pixels
1440px
mercury.com à 1024 pixels
1024px
mercury.com à 768 pixels
768px
mercury.com à 390 pixels
390px
ViewportContenuGouttièreTexteH1En-têteHeroGrillesBoutons
desktop 14401024px384px16px49.3px, 1 line, center72px, 4 links, 1 CTAmedia behind/overlapping text2→1 col; 3→1 col; 2→1 colcontent-width
laptop 1024712px280px16px38.2px, 1 line, center72px, 4 links, 1 CTAmedia behind/overlapping text2→1 col; 3→1 col; 2→1 colcontent-width
tablet 768720px147px16px31.4px, 1 line, center0px, 0 linksmedia behind/overlapping text2→1 col; 2→2 col; 3→3 col4 full-width
phone 390342px24px16px28px, 1 line, center0px, 0 linksmedia behind/overlapping text2→1 col; 3→1 col; 2→2 col15 full-width
  • H1 goes 49.3px → 28px (57%), 1 → 1 lines.
  • Nav never collapses to a hamburger (0 links still visible at 390px).
  • Body text stays 16px at every width.
  • Phone side gutter 24px.
  • 15 buttons stretch full-width on phones.
  • Horizontal overflow at 1440, 1024px (the source has a responsive bug; do not copy it).

Fichiers du pack14 fichiers

DESIGN.md
Format DESIGN.md de Google ; Stitch, Claude Code et Cursor le lisent
9,6 ko
tokens.json
Design tokens W3C (DTCG) pour Style Dictionary et les plugins Figma
5,9 ko
tokens.css
Les mêmes valeurs en propriétés personnalisées CSS
1,5 ko
tailwind.css
Bloc @theme Tailwind v4
840 o
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
9,8 ko
evidence.json
Mesures brutes derrière les deux documents (chaque viewport, sonde et règle)
50 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.md236 lignes
---
version: alpha
name: "mercury.com"
description: "Design system extracted from https://mercury.com/ on 2026-09-28"
colors:
  background: "#171721"
  surface: "#272735"
  foreground: "#ededf3"
  muted-foreground: "#c3c3cc"
  primary: "#5266eb"
  on-primary: "#ffffff"
  border: "#e2e3ed"
typography:
  headline-display:
    fontFamily: "arcadiaDisplay"
    fontSize: "49px"
    fontWeight: 480
    lineHeight: "1.11"
  headline-lg:
    fontFamily: "arcadiaDisplay"
    fontSize: "42px"
    fontWeight: 480
    lineHeight: "1.15"
    letterSpacing: "0.42px"
  headline-md:
    fontFamily: "arcadia"
    fontSize: "24px"
    fontWeight: 600
    lineHeight: "1.4"
  body-md:
    fontFamily: "arcadia"
    fontSize: "12px"
    fontWeight: 400
    lineHeight: "1.4"
    letterSpacing: "0.24px"
  label-md:
    fontFamily: "arcadia"
    fontSize: "12px"
    fontWeight: 400
    lineHeight: "1.4"
    letterSpacing: "0.24px"
  button:
    fontFamily: "arcadia"
    fontSize: "16px"
    fontWeight: 420
    lineHeight: "1"
rounded:
  none: "0px"
  2xl: "32px"
  sm: "4px"
  lg: "12px"
  md: "8px"
  full: "9999px"
spacing:
  unit: "4px"
  1: "4px"
  2: "8px"
  3: "12px"
  4: "16px"
  5: "20px"
  6: "24px"
  7: "32px"
  8: "40px"
  9: "72px"
  10: "128px"
components:
  button-ghost:
    backgroundColor: "#171721"
    textColor: "#ededf3"
    typography: "{typography.button}"
    rounded: "40px"
    height: "40px"
    padding: "0px 20px"
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.button}"
    rounded: "32px"
    height: "40px"
    padding: "0px 20px"
  button-secondary:
    backgroundColor: "#afb2ce33"
    textColor: "#ededf3"
    typography: "{typography.button}"
    rounded: "40px"
    height: "40px"
    padding: "0px 20px"
  input:
    backgroundColor: "transparent"
    rounded: "32px"
    height: "46px"
---

# mercury.com

## Overview

Online Business Banking For Startups, Small Businesses & Scaling Companies: Everything you do with money. All in one place. Apply in 10 minutes for business banking that transforms how you operate.

Soft, well-rounded controls, one soft shadow for depth, confident display type at 49px / 480, a single blue accent on neutrals. The site ships in dark mode by default (dark surfaces, light type). Measured from 2162 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 | `#171721` | Page background |
| surface | `#272735` | Cards, panels, raised or recessed surfaces |
| foreground | `#ededf3` | Primary text |
| muted-foreground | `#c3c3cc` | Secondary text, captions |
| primary | `#5266eb` | Accent: primary buttons, links, focus |
| on-primary | `#ffffff` | Text on the accent |
| border | `#e2e3ed` | Hairlines, dividers, input borders |

Full painted palette by area (largest first): `#171721`, `#fcfcfa`, `#eff0f5`, `#5266eb`, `#272735`, `#cdddff`.

Gradients in use: `linear-gradient(rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0) 100%)`.

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

## Typography

- **arcadiaDisplay** for h1, h2: self-hosted webfont, not freely available; use **Inter** from Google Fonts as the stand-in.
- **arcadia** for 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 | arcadiaDisplay | 49px | 480 | 1.11 | normal |
| headline-lg | arcadiaDisplay | 42px | 480 | 1.15 | 0.42px |
| headline-md | arcadia | 24px | 600 | 1.4 | normal |
| body-md | arcadia | 12px | 400 | 1.4 | 0.24px |
| label-md | arcadia | 12px | 400 | 1.4 | 0.24px |
| button | arcadia | 16px | 420 | 1 | normal |

Type scale in use: 12px, 16px, 18px, 28px, 42px, 49px. Base body size 12px.

The H1 renders at 49.3472px / 480, center aligned, up to 672px wide. Sample: "Radically different banking".

## Layout

- Spacing unit: 4px. Scale in use: 4, 8, 12, 16, 20, 24, 32, 40, 72, 128 (px).
- Flex and grid gaps: 4, 12, 32, 40 px.
- Content max width: 1024px, centred.
- Breakpoints: 640px, 768px, 1024px, 1536px, 1952px.
- Header: 72px tall, relative, background `rgba(0, 0, 0, 0)`; 4 nav links at 16px / 400 (Mercury logoThe logo for Mercury, featuring a circular emblem with abstract, int · Pricing · Log in · Open account).

## Elevation & Depth

Shadows in use, most common first:

- shadow-1: `rgba(0, 0, 0, 0.05) 0px 0px 3px 0px, rgba(0, 0, 0, 0.05) 0px 8px 12px 0px, rgba(0, 0, 0, 0.05) 0px 12px 20px 0px`

## Shapes

- Buttons: 32px
- Inputs: 32px
- Cards and panels: 0px
- Images and media: 0px
- Radius scale: none 0px, 2xl 32px, sm 4px, lg 12px, md 8px, full 9999px

## Components

### Button, ghost

Background transparent (it sits on `#171721`, so place it on that colour), text `#ededf3`, border none, radius 40px, height 40px, padding 0px 20px, 16px / 420. Sample label: "Products".

### Button, primary

Background `#5266eb`, text `#ffffff`, border none, radius 32px, height 40px, padding 0px 20px, 16px / 420. Sample label: "Open account".

### Button, secondary

Background `#afb2ce33`, text `#ededf3`, border 1px solid #afb2ce5c, radius 40px, height 40px, padding 0px 20px, 16px / 420. Sample label: "Launch demo".

### Input

Height 46px, background `transparent`, border 0px solid #ededf3, radius 32px, 16px text, padding 0px 0px.

### Link

Colour `#ededf3`, no underline at rest, weight 400.

## Dark Mode

The site is dark by default and no light 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 | 1024px | 384px | 16px | 49.3px, 1 line, center | 72px, 4 links, 1 CTA | media behind/overlapping text | 2→1 col; 3→1 col; 2→1 col | content-width |
| laptop 1024px | 712px | 280px | 16px | 38.2px, 1 line, center | 72px, 4 links, 1 CTA | media behind/overlapping text | 2→1 col; 3→1 col; 2→1 col | content-width |
| tablet 768px | 720px | 147px | 16px | 31.4px, 1 line, center | 0px, 0 links | media behind/overlapping text | 2→1 col; 2→2 col; 3→3 col | 4 full-width |
| phone 390px | 342px | 24px | 16px | 28px, 1 line, center | 0px, 0 links | media behind/overlapping text | 2→1 col; 3→1 col; 2→2 col | 15 full-width |

- H1 goes 49.3px → 28px (57%), 1 → 1 lines.
- Nav never collapses to a hamburger (0 links still visible at 390px).
- Body text stays 16px at every width.
- Phone side gutter 24px.
- 15 buttons stretch full-width on phones.
- Horizontal overflow at 1440, 1024px (the source has a responsive bug; do not copy it).

## Interaction & Motion

130 elements carry transitions; typical 0.3s with cubic-bezier(0, 0, 0.2, 1), mostly on color, background-color, border-color. 7 running keyframe animations (translateUp 0.67s 1; fadeIn 0.67s 1; fadeOutBlur 0.5s 1).

- Hover on button-primary ("Open account"): no visible change; cursor pointer; transition color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to | 0.3s | cubic-bezier(0, 0, 0.2, 1).
- Hover on button-secondary ("Open account"): no visible change; cursor pointer; transition color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to | 0.3s | cubic-bezier(0, 0, 0.2, 1).
- Hover on nav-link ("Pricing"): background transparent → #9cb4e847; cursor pointer; transition color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to | 0.3s | cubic-bezier(0, 0, 0.2, 1).
- Hover on input: no visible change; cursor text.
- Focus on button-primary: outline 2px solid rgb(156, 180, 232), offset 4px.
- Focus on input: no visible focus style measured (may rely on :focus-visible with keyboard only).
- Tooltip triggers exist (16 × aria-describedby, 20 × title) but none opened on hover in the first viewport; title attributes fall back to the browser's native tooltip.
- No dropdown menus found in the header.
- 18 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 `#5266eb` for actions and focus; never paint large areas with it.
- Do keep body text at 12px in arcadia and headings in arcadiaDisplay.
- Do match corner radii per element class (buttons 32px, cards 0px); 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.