mercury.com design system

Online Business Banking For Startups, Small Businesses & Scaling Companies

mercury.comtryb ciemnyZmierzono elementów: 2162zmierzono 68 minut temu
Odwiedź mercury.com

mercury.com używa czcionek arcadiaDisplay, arcadia, a kolorem akcentu jest #5266eb. Zmierzono 28 września 2026.

Użyj z Twoją AItakże w zipie jako README.md i PROMPT.md

  1. .
  2. Rozpakuj pakiet w projekcie tak, aby folder znalazł się w design/mercury.com-design-pack/.
  3. Opcjonalnie: skopiuj folder także do .claude/skills/mercury-com-design/. SKILL.md w środku sprawia, że Claude Code sam wczytuje pakiet za każdym razem, gdy buduje UI.
  4. Wklej poniższy prompt do Claude Code i uzupełnij, co ma zostać zbudowane.
Prompt

Prompt zostaje po angielsku: wymienia pliki z pakietu, a Twoja AI czyta go w każdym języku.

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.

KoloryTokeny: 7

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

Odstępyjednostka 4px

4812162024324072128
Szerokość treści
1024px
Breakpointy
640, 768, 1024, 1536, 1952px

Zaokrąglenia

przycisk 32pxpole 32pxkarta 0pxobraz 0px

Cienie1

1

TypografiaCzcionki: 2

arcadiaDisplaywłasny hosting, zamiennik Interarcadiawłasny hosting, zamiennik 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
Używane rozmiary
121618284249

Komponenty

ProductsOpen accountLaunch demoAdres e-mail
przycisk ghost
tekst #ededf3 na przezroczysty na #171721, r 40px, h 40px, 16px/420
przycisk primary
tekst #ffffff na #5266eb, r 32px, h 40px, 16px/420
przycisk secondary
tekst #ededf3 na #afb2ce33, r 40px, h 40px, 16px/420
pole
h 46px, 0px solid #ededf3, r 32px
link
#ededf3, bez podkreślenia, 400
nagłówek
72px, relative, linki: 4 po 16px
h1
49.3472px / 480, wyrównanie: center, maks. 672px
formularze
1 forms, 2 inputs. Required markers: 0. Help texts: 0. Submit button is content-width. Label placement: floating (1).
ikony
Icons: 41 inline SVGs, filled, sizes 12px/14px/40px/9px, stroke 1; icon font classes icon-, feather.

Interakcje i animacje

  • button primary "Open account": bez zmiany po hover
  • button secondary "Open account": bez zmiany po hover
  • nav link "Pricing": background transparent → #9cb4e847
  • input: bez zmiany po hover
  • 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)
  • tooltipy: 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.
  • menu: No dropdown menus found in the header.
  • animacje: 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).

Motyw

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

Responsywność1440 / 1024 / 768 / 390 px

mercury.com w 1440 pikselach
1440px
mercury.com w 1024 pikselach
1024px
mercury.com w 768 pikselach
768px
mercury.com w 390 pikselach
390px
ViewportTreśćMarginesyTekstH1NagłówekHeroSiatkiPrzyciski
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).

Pliki w pakieciePliki: 14

DESIGN.md
Format DESIGN.md od Google; czytają go Stitch, Claude Code i Cursor
9,6 kB
tokens.json
Tokeny designu W3C (DTCG) dla Style Dictionary i wtyczek Figma
5,9 kB
tokens.css
Te same wartości jako zmienne CSS
1,5 kB
tailwind.css
Blok @theme z Tailwind v4
840 B
SKILL.md
Skill dla Claude Code / Cursor, który układa pakiet w kolejności dla agenta
2,2 kB
BEHAVIOR.md
Hover, focus, tooltipy, menu, animacje, przewijanie, tabele, formularze, tekst, responsywność, tryb ciemny, stack
9,8 kB
evidence.json
Surowe pomiary stojące za oboma dokumentami (każdy viewport, sonda i reguła)
50 kB
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
Obrazy: 6
DESIGN.mdWiersze: 236
---
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.