mercury.com design system
Online Business Banking For Startups, Small Businesses & Scaling Companies
mercury.com टाइपोग्राफ़ी के लिए arcadiaDisplay, arcadia और एक्सेंट रंग के रूप में #5266eb इस्तेमाल करता है। 28 सितंबर 2026 को मापा गया।
अपने AI के साथ इस्तेमाल करेंzip में README.md और PROMPT.md के रूप में भी
- .
- पैक को अपने प्रोजेक्ट में unzip करें, ताकि फ़ोल्डर
design/mercury.com-design-pack/पर रहे। - वैकल्पिक: फ़ोल्डर को
.claude/skills/mercury-com-design/में भी कॉपी करें। अंदर की SKILL.md की वजह से Claude Code जब भी UI बनाता है, पैक को अपने आप लोड कर लेता है। - नीचे दिया prompt Claude Code में पेस्ट करें और भरें कि आप क्या बनवाना चाहते हैं।
Prompt
Prompt अंग्रेज़ी में ही रहता है: उसमें पैक की फ़ाइलों के नाम हैं, और आपकी भाषा कोई भी हो, आपका AI उसे पढ़ लेता है।
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.रंग7 tokens
background
#171721
surface
#272735
foreground
#ededf3
muted-foreground
#c3c3cc
primary
#5266eb
on-primary
#ffffff
border
#e2e3ed
Spacing4px यूनिट
- कंटेंट की चौड़ाई
- 1024px
- Breakpoints
- 640, 768, 1024, 1536, 1952px
Radius
बटन 32pxइनपुट 32pxकार्ड 0pxइमेज 0px
Shadows1
1
टाइपोग्राफ़ी2 फ़ैमिली
arcadiaDisplayसेल्फ़-होस्टेड, विकल्प Interarcadiaसेल्फ़-होस्टेड, विकल्प 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
इस्तेमाल हो रहे साइज़
121618284249
कंपोनेंट
ProductsOpen accountLaunch demoईमेल पता
- बटन ghost
- #171721 के ऊपर पारदर्शी पर #ededf3 टेक्स्ट, r 40px, h 40px, 16px/420
- बटन primary
- #5266eb पर #ffffff टेक्स्ट, r 32px, h 40px, 16px/420
- बटन secondary
- #afb2ce33 पर #ededf3 टेक्स्ट, r 40px, h 40px, 16px/420
- इनपुट
- h 46px, 0px solid #ededf3, r 32px
- लिंक
- #ededf3, बिना underline, 400
- हेडर
- 72px, relative, 16px पर 4 लिंक
- h1
- 49.3472px / 480, center अलाइन, अधिकतम 672px
- फ़ॉर्म
- 1 forms, 2 inputs. Required markers: 0. Help texts: 0. Submit button is content-width. Label placement: floating (1).
- आइकन
- Icons: 41 inline SVGs, filled, sizes 12px/14px/40px/9px, stroke 1; icon font classes icon-, feather.
स्क्रीनशॉट1440 और 390 चौड़ाई
इंटरैक्शन और मोशन
- button primary "Open account": hover पर कोई बदलाव नहीं
- button secondary "Open account": hover पर कोई बदलाव नहीं
- nav link "Pricing": background transparent → #9cb4e847
- input: 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)
- tooltip: 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.
- मोशन: 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).
थीम
The site is dark by default and no light mode responded to prefers-color-scheme, a theme toggle, or a root class/attribute.
रेस्पॉन्सिव1440 / 1024 / 768 / 390 px




| Viewport | कंटेंट | Gutter | Body | H1 | हेडर | Hero | Grids | बटन |
|---|---|---|---|---|---|---|---|---|
| desktop 1440 | 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 1024 | 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 768 | 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 390 | 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).
पैक की फ़ाइलें14 फ़ाइलें
DESIGN.md
Google का DESIGN.md format; Stitch, Claude Code और Cursor इसे पढ़ते हैं
tokens.json
Style Dictionary और Figma plugins के लिए W3C Design Tokens (DTCG)
tokens.css
वही मान CSS custom properties के रूप में
tailwind.css
Tailwind v4 @theme ब्लॉक
SKILL.md
Claude Code / Cursor skill, जो एजेंट के लिए पैक को क्रम में लगाती है
BEHAVIOR.md
Hover, focus, tooltip, मेन्यू, मोशन, स्क्रॉलिंग, टेबल, फ़ॉर्म, टेक्स्ट, रेस्पॉन्सिव, डार्क मोड, stack
evidence.json
दोनों दस्तावेज़ों के पीछे के कच्चे माप (हर viewport, probe और नियम)
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
DESIGN.md236 लाइनें
---
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.