---
version: "DESIGN.md Pro"
name: Square Inspired
analyzedBy: getdesign.md
license: "getdesign.md License — https://getdesign.md/license"
# Third-party analysis, not affiliated with Square. Keep the analyzedBy and license lines when copying or sharing this file.
description: An inspired interpretation of Square's design language — a humanistic commerce platform that pairs a custom high-contrast display serif with confident geometric sans typography, anchored by Square Blue (#006aff) pill CTAs over alternating photography-led hero canvases and crisp white feature sections.
colors:
primary: "#006aff"
primary-pressed: "#0055cc"
primary-soft: "#4a95ff"
ink: "#1a1a1a"
ink-deep: "#000000"
on-primary: "#ffffff"
canvas: "#ffffff"
surface-inverse: "#000000"
ash: "#333333"
mute: "#707070"
stone: "#999999"
hairline: "#cccccc"
link-muted: "#bbbbbb"
accent-rose: "#c14f70"
accent-plum: "#a1499c"
accent-red: "#df3320"
success: "#00b23b"
success-bright: "#0bb634"
error: "#cc0023"
typography:
hero-serif:
fontFamily: Exact Block
fontSize: 81px
fontWeight: 400
lineHeight: 1.00
letterSpacing: -2.916px
fontFeature: "calt, clig, dlig, hlig, liga"
hero-serif-md:
fontFamily: Exact Block
fontSize: 56px
fontWeight: 500
lineHeight: 1.00
letterSpacing: -1.68px
display-serif-lg:
fontFamily: Exact Block
fontSize: 72px
fontWeight: 400
lineHeight: 1.00
letterSpacing: -2.88px
fontFeature: "calt, clig, dlig, hlig, liga"
display-serif-md:
fontFamily: Exact Block
fontSize: 40px
fontWeight: 400
lineHeight: 1.13
letterSpacing: -0.8px
fontFeature: "calt, clig, dlig, hlig, liga"
display-sans:
fontFamily: Square Sans Display VF
fontSize: 64px
fontWeight: 400
lineHeight: 1.05
letterSpacing: -0.5px
fontFeature: "calt, clig, dlig, hlig, liga"
heading-lg:
fontFamily: Square Sans Text VF
fontSize: 24px
fontWeight: 500
lineHeight: 1.20
letterSpacing: -0.24px
fontFeature: "calt, clig, dlig, hlig, liga"
heading-md:
fontFamily: Square Sans Text VF
fontSize: 20px
fontWeight: 500
lineHeight: 1.20
letterSpacing: -0.2px
fontFeature: "calt, clig, dlig, hlig, liga"
heading-sm:
fontFamily: Square Sans Text VF
fontSize: 16px
fontWeight: 500
lineHeight: 1.75
body-lg:
fontFamily: Square Sans Text VF
fontSize: 18px
fontWeight: 500
lineHeight: 1.50
body-md:
fontFamily: Square Sans Text VF
fontSize: 16px
fontWeight: 400
lineHeight: 1.50
body-md-strong:
fontFamily: Square Sans Text VF
fontSize: 16px
fontWeight: 500
lineHeight: 1.50
button-lg:
fontFamily: Square Sans Text VF
fontSize: 18px
fontWeight: 500
lineHeight: 1.50
button-md:
fontFamily: Square Sans Text VF
fontSize: 16px
fontWeight: 500
lineHeight: 1.50
button-sm:
fontFamily: Square Sans Text VF
fontSize: 14px
fontWeight: 500
lineHeight: 1.50
caption:
fontFamily: Square Sans Text VF
fontSize: 14px
fontWeight: 400
lineHeight: 1.50
caption-strong:
fontFamily: Square Sans Text VF
fontSize: 14px
fontWeight: 500
lineHeight: 1.50
caption-xs:
fontFamily: Square Sans Text VF
fontSize: 10px
fontWeight: 500
lineHeight: 1.00
mono-caps-eyebrow:
fontFamily: Cash Sans Mono
fontSize: 14px
fontWeight: 500
lineHeight: 1.50
letterSpacing: 1.4px
textTransform: uppercase
rounded:
xs: 4px
sm: 5px
md: 6px
lg: 10px
xl: 20px
pill: 50px
full: 9999px
spacing:
xxs: 2px
xs: 4px
sm: 8px
md: 12px
lg: 16px
xl: 20px
xxl: 30px
xxxl: 40px
components:
button-primary:
backgroundColor: "{colors.primary}"
textColor: "{colors.on-primary}"
typography: "{typography.button-md}"
rounded: "{rounded.pill}"
button-primary-pressed:
backgroundColor: "{colors.primary-pressed}"
textColor: "{colors.on-primary}"
typography: "{typography.button-md}"
rounded: "{rounded.pill}"
button-primary-dark:
backgroundColor: "{colors.ink}"
textColor: "{colors.on-primary}"
typography: "{typography.button-md}"
rounded: "{rounded.pill}"
button-secondary-outline:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
borderColor: "{colors.primary}"
borderWidth: 2px
typography: "{typography.button-md}"
rounded: "{rounded.sm}"
padding: 10px
button-secondary-on-photo:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.button-md}"
rounded: "{rounded.pill}"
button-disabled:
backgroundColor: "{colors.hairline}"
textColor: "{colors.stone}"
typography: "{typography.button-md}"
rounded: "{rounded.pill}"
text-input:
backgroundColor: "{colors.surface-inverse}"
textColor: "{colors.on-primary}"
typography: "{typography.body-md}"
rounded: "{rounded.lg}"
padding: 12px 16px
text-input-focused:
backgroundColor: "{colors.surface-inverse}"
textColor: "{colors.on-primary}"
typography: "{typography.body-md}"
rounded: "{rounded.lg}"
padding: 12px 16px
outlineColor: "rgba(0, 106, 255, 0.5)"
outlineWidth: 2px
nav-bar:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.body-md-strong}"
borderColor: "{colors.hairline}"
nav-link:
textColor: "{colors.ink}"
typography: "{typography.body-md-strong}"
pricing-card:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
rounded: "{rounded.xl}"
captionTypography: "{typography.caption}"
headlineTypography: "{typography.heading-lg}"
pricing-card-featured:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
borderColor: "{colors.primary}"
borderWidth: 2px
rounded: "{rounded.xl}"
captionTypography: "{typography.caption}"
headlineTypography: "{typography.heading-lg}"
feature-card:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
rounded: "{rounded.lg}"
headlineTypography: "{typography.heading-lg}"
bodyTypography: "{typography.body-md}"
product-card:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
rounded: "{rounded.lg}"
captionTypography: "{typography.caption-strong}"
bodyTypography: "{typography.body-md}"
product-image-frame:
backgroundColor: "{colors.canvas}"
rounded: "{rounded.lg}"
faq-row:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.body-lg}"
borderColor: "{colors.hairline}"
email-signup-pill-input:
backgroundColor: "{colors.surface-inverse}"
textColor: "{colors.on-primary}"
typography: "{typography.body-md}"
rounded: "{rounded.lg}"
padding: 12px 16px
footer:
backgroundColor: "{colors.ink-deep}"
textColor: "{colors.on-primary}"
captionTypography: "{typography.caption}"
linkTypography: "{typography.body-md}"
footer-link-muted:
textColor: "{colors.link-muted}"
typography: "{typography.body-md}"
hero-photo-overlay:
backgroundColor: "{colors.surface-inverse}"
textColor: "{colors.on-primary}"
headlineTypography: "{typography.hero-serif}"
hero-light:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
headlineTypography: "{typography.display-serif-lg}"
category-pill-link:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.caption-strong}"
rounded: "{rounded.pill}"
# ─── Examples (illustrative) — auto-derived ───
ex-pricing-tier:
description: "Default Pricing tier card. Re-uses pricing-card chrome with white canvas and feature checklist."
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
borderColor: "{colors.hairline}"
rounded: "{rounded.xl}"
padding: "{spacing.xxxl}"
ex-pricing-tier-featured:
description: "Featured tier — Square Blue border to elevate the recommended plan against neighboring white tiers."
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
borderColor: "{colors.primary}"
borderWidth: 2px
rounded: "{rounded.xl}"
padding: "{spacing.xxxl}"
ex-product-selector:
description: "What's Included summary card chrome for SaaS plans — re-uses pricing-card surface."
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
borderColor: "{colors.hairline}"
rounded: "{rounded.lg}"
padding: "{spacing.xxl}"
ex-cart-drawer:
description: "Subscription summary card — Your plan line items with hairline dividers, on white surface."
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
rounded: "{rounded.xl}"
padding: "{spacing.xxl}"
item-divider: "{colors.hairline}"
ex-app-shell-row:
description: "Sidebar nav row inside the App Shell example. Active state uses Square Blue as the indicator."
backgroundColor: "{colors.canvas}"
activeIndicator: "{colors.primary}"
rounded: "{rounded.md}"
padding: "{spacing.md} {spacing.lg}"
ex-data-table-cell:
description: "Default data-table th + td chrome. Header uses mono-caps eyebrow typography; body uses body-md."
headerBackground: "{colors.canvas}"
headerTypography: "{typography.mono-caps-eyebrow}"
bodyTypography: "{typography.body-md}"
cellPadding: "{spacing.md} {spacing.lg}"
rowBorder: "{colors.hairline}"
ex-auth-form-card:
description: "Sign-in / sign-up card. Re-uses pricing-card chrome with text-input primitives inside."
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
rounded: "{rounded.xl}"
padding: "{spacing.xxxl}"
ex-modal-card:
description: "Modal dialog surface — same chrome as pricing-card with hairline border separation."
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
borderColor: "{colors.hairline}"
rounded: "{rounded.xl}"
padding: "{spacing.xxxl}"
ex-empty-state-card:
description: "Empty-state illustration frame on the white canvas surface."
backgroundColor: "{colors.canvas}"
rounded: "{rounded.xl}"
padding: "{spacing.xxxl}"
captionTypography: "{typography.body-md}"
ex-toast:
description: "Toast notification surface — soft-rounded card on deep ink."
backgroundColor: "{colors.surface-inverse}"
textColor: "{colors.on-primary}"
rounded: "{rounded.lg}"
padding: "{spacing.md} {spacing.xl}"
typography: "{typography.body-md-strong}"
---
## Overview
Square's design language is a humanistic commerce system that treats payments software like editorial product design — high-contrast display serif headlines layered over photographs of real merchants (coffee bars, restaurants, retail counters), broken by crisp white feature sections and capped by an inky deep-black footer. The signature move is a custom serif called **Exact Block** rendered at very large sizes with tight letter-spacing (`{typography.hero-serif}` — 81 px, −2.92 px tracking) over a hero photograph; this typographic confidence is what separates Square from generic SaaS minimalism. Everything below the hero relaxes back to a geometric sans (**Square Sans Display VF** and **Square Sans Text VF**) for product names, body copy, and UI chrome.
The color story is deliberately restrained. There is exactly **one brand action color** — `{colors.primary}` (Square Blue, `#006aff`) — and it appears as a pill-shaped CTA on every page. The brand never reaches for a second accent for emphasis; instead it varies the *background* a CTA sits on (white pill on a photo, white pill on cream, blue pill on white) so the action color reads consistently across surface modes. Secondary accents (`{colors.accent-rose}`, `{colors.accent-plum}`, `{colors.accent-red}`, `{colors.success}`) exist in the system but are reserved for status, illustrations, and the occasional product label — never for primary buttons.
Page rhythm follows a deliberate three-tone alternation: a **photo-led hero** (full-bleed merchant photograph with serif overlay), a **white feature surface** (three-up card grids, comparison tables, FAQs), and a **deep-black CTA + footer section** that uses inverted polarity (white text, dark inputs, blue pill submit). The dark footer is heavy — multi-column links, social row, legal stack — and acts as a visual anchor that grounds the otherwise airy pages.
**Key Characteristics:**
- **Single-accent commerce CTA** — `{colors.primary}` (#006aff) Square Blue is the only primary action color; surface polarity (light or dark) varies, but the accent does not.
- **Editorial display serif** — `{typography.hero-serif}` (Exact Block, 81 px, −2.92 px tracking) is the brand's signature; it appears in the hero of homepage-style pages and announces "commerce platform with taste."
- **Pill geometry for all primary actions** — `{rounded.pill}` (50 px) on `button-primary`, `button-primary-dark`, and `button-secondary-on-photo` creates a recognizable shape language; sharper `{rounded.sm}` (5 px) is reserved for the `button-secondary-outline` "Buy" variant.
- **Photography-led hero canvases** — full-bleed merchant photographs ground the brand in physical commerce; serif headlines overlay directly on the photo with no scrim card.
- **Inverted dark inputs** — `text-input` uses `{colors.surface-inverse}` (#000000) bg with white text and `{rounded.lg}` (10 px) corners; the system reaches for dark inputs on dark email-signup bands, not the conventional light fill.
- **Deep-black footer block** — the footer is `{colors.ink-deep}` (#000000) with `{colors.link-muted}` link text, providing a heavy visual punctuation that closes every page.
- **Color-block page rhythm** — pages cycle: photo hero → white feature surface → comparison/pricing grid → deep-black CTA + footer. The featured pricing tier announces itself with a `{colors.primary}` border rather than a tinted fill, keeping the surface palette pure.
## Colors
> **Source pages analyzed:** homepage, restaurants/coffee-shop, hardware (overview + Register + Contactless Chip Reader), and pricing.
### Brand & Accent
- **Square Blue** (`{colors.primary}` — #006aff): The single primary action color. Appears on every "Get started" pill across the site, on the "Buy" CTAs for hardware products, and as the focus-outline color (at 50% alpha) on `text-input-focused`. Reserve for primary actions only — never decorative use.
- **Blue Pressed** (`{colors.primary-pressed}` — #0055cc): Darker variant for active/pressed state of the primary pill button.
- **Blue Soft** (`{colors.primary-soft}` — #4a95ff): Lighter tint used for active indicators and on-dark hyperlinks.
- **Accent Rose** (`{colors.accent-rose}` — #c14f70): Reserved for illustration and decorative product labels; not for actions.
- **Accent Plum** (`{colors.accent-plum}` — #a1499c): Same role as accent-rose — illustrative only.
- **Accent Red** (`{colors.accent-red}` — #df3320): Decorative red; distinct from semantic `{colors.error}` which is darker.
### Surface
- **Canvas** (`{colors.canvas}` — #ffffff): Default page background. Used for nav, feature sections, pricing cards, product cards, and most cards.
- **Surface Inverse** (`{colors.surface-inverse}` — #000000): Deep-black surface used for `text-input` backgrounds and CTA bands ("Get the tech trusted by coffee shops").
- **Ink Deep** (`{colors.ink-deep}` — #000000): The footer canvas. Same hex as `surface-inverse` but documented separately because its role (page anchor) differs from surface-inverse's role (UI control fill).
- **Hairline** (`{colors.hairline}` — #cccccc): 1 px dividers between FAQ rows, footer column borders, and `details, div` separators.
### Text
- **Ink** (`{colors.ink}` — #1a1a1a): Primary heading and body text on light surfaces. Slightly warm of pure black; the small offset is what makes the brand feel calm rather than harsh.
- **Ink Deep** (`{colors.ink-deep}` — #000000): Pure black, used sparingly for "Square" wordmark and the strongest text contrast moments.
- **Ash** (`{colors.ash}` — #333333): Secondary body text, captions on dense feature grids.
- **Mute** (`{colors.mute}` — #707070): Caption text, eyebrow labels, meta data.
- **Stone** (`{colors.stone}` — #999999): Disabled button text, the quietest UI labels.
- **Link Muted** (`{colors.link-muted}` — #bbbbbb): Footer link color on the deep-black footer; deliberately quiet so the link list reads as content rather than action.
### Semantic
- **Error** (`{colors.error}` — #cc0023): Form-level validation, destructive operations.
- **Success** (`{colors.success}` — #00b23b): Confirmation states, "Available" indicators.
- **Success Bright** (`{colors.success-bright}` — #0bb634): Brighter success variant used for status pills.
## Typography
### Font Family
Square's type system is built on two proprietary families plus a custom display serif:
- **Exact Block** (`{typography.hero-serif}`, `{typography.display-serif-lg}`, `{typography.display-serif-md}`) — Square's custom high-contrast modern serif, used at very large sizes for hero and section display copy. Tight negative tracking (−2.88 px at 72 px) and a low x-height create an editorial, almost magazine-cover gravitas. Fallback chain in the wild: `Georgia, "Times New Roman"`.
- **Square Sans Display VF** (`{typography.display-sans}`) — Geometric variable display sans for section headlines and product names ("Square Register", "Square Reader"). Fallback: `Helvetica, Arial`.
- **Square Sans Text VF** (`{typography.heading-lg}`, `{typography.body-md}`, `{typography.caption}`, etc.) — Optimized text variant of the same family for body, links, buttons, and captions. Fallback: `Helvetica, Arial`.
- **Cash Sans Mono** (`{typography.mono-caps-eyebrow}`) — Mono caps treatment for very small eyebrow labels and tabular figures.
OpenType features enabled across the display roles: `calt, clig, dlig, hlig, liga` — contextual + discretionary ligatures for the serif's editorial finesse.
### Hierarchy
| Token | Size | Weight | Line Height | Letter Spacing | Use |
|---|---|---|---|---|---|
| `{typography.hero-serif}` | 81 px | 400 | 1.00 | −2.916 px | Homepage hero serif headline over photography |
| `{typography.hero-serif-md}` | 56 px | 500 | 1.00 | −1.68 px | Smaller hero / section opener serif headline |
| `{typography.display-serif-lg}` | 72 px | 400 | 1.00 | −2.88 px | Page-level serif display |
| `{typography.display-serif-md}` | 40 px | 400 | 1.13 | −0.8 px | Mid-page serif sub-display |
| `{typography.display-sans}` | 64 px | 400 | 1.05 | −0.5 px | Sans display headlines |
| `{typography.heading-lg}` | 24 px | 500 | 1.20 | −0.24 px | Card titles, comparison-grid headings |
| `{typography.heading-md}` | 20 px | 500 | 1.20 | −0.2 px | Subsection / accordion question headings |
| `{typography.heading-sm}` | 16 px | 500 | 1.75 | 0 | Small headings, nav category labels |
| `{typography.body-lg}` | 18 px | 500 | 1.50 | 0 | Lead body, intro paragraphs |
| `{typography.body-md}` | 16 px | 400 | 1.50 | 0 | Default body text |
| `{typography.body-md-strong}` | 16 px | 500 | 1.50 | 0 | Emphasized inline body |
| `{typography.button-lg}` | 18 px | 500 | 1.50 | 0 | Hero CTA button label |
| `{typography.button-md}` | 16 px | 500 | 1.50 | 0 | Default button label |
| `{typography.button-sm}` | 14 px | 500 | 1.50 | 0 | Compact button / pill link |
| `{typography.caption}` | 14 px | 400 | 1.50 | 0 | Meta captions, feature-list secondary text |
| `{typography.caption-strong}` | 14 px | 500 | 1.50 | 0 | Emphasized small text |
| `{typography.caption-xs}` | 10 px | 500 | 1.00 | 0 | Legal microcopy, footnotes |
| `{typography.mono-caps-eyebrow}` | 14 px | 500 | 1.50 | 1.4 px | Uppercase mono eyebrow labels |
### Principles
The system is dual-voice on purpose. **Exact Block** at hero scale projects editorial confidence ("we take craft seriously, like the merchants we serve"); **Square Sans Text VF** at 16 px / 1.5 line-height handles the dense product details with calm legibility. The serif is never used below 40 px and the sans is never used above 64 px — that hard separation is what keeps the dual voice from blurring.
Numeric letter-spacing follows a steep negative ramp on the serif (−2.92 px at 81 px) and a much gentler one on the sans (−0.5 px at 64 px, −0.24 px at 24 px). Body text and captions sit at neutral 0 — Square doesn't tighten tracking on functional copy.
### Note on Font Substitutes
When working in an environment without Square's proprietary fonts, use these open-source substitutes:
- **Exact Block** → **Source Serif Pro** or **EB Garamond** (slightly lower contrast than Exact Block; consider tightening tracking by an extra −0.5 px at hero scale to compensate).
- **Square Sans Display VF / Square Sans Text VF** → **Inter** (close metric match) or **Geist Sans** (similar geometric character). Both should be set at the same fontWeight values; no line-height adjustment needed.
- **Cash Sans Mono** → **JetBrains Mono** or **IBM Plex Mono** at the same fontWeight (500).
## Layout
### Spacing System
- **Base unit**: 8 px
- **Tokens (front matter)**: `{spacing.xxs}` 2 px · `{spacing.xs}` 4 px · `{spacing.sm}` 8 px · `{spacing.md}` 12 px · `{spacing.lg}` 16 px · `{spacing.xl}` 20 px · `{spacing.xxl}` 30 px · `{spacing.xxxl}` 40 px
- The smallest steps (2 px, 4 px) are used inside button chrome; secondary outline buttons sit at `padding: 10px` and text inputs at `padding: 12px 16px`.
- 16–20 px is the typical text-block rhythm.
- 30–40 px appears as card interior padding and section-internal gaps.
### Grid & Container
- The site uses a fluid container with the major breakpoint stack: **1680 px → 1280 px → 1024 px → 740 px → 640 px**.
- Above 1024 px, three-column feature grids and pricing tier grids are the dominant pattern; two-up image+text rows also recur.
- Below 1024 px, columns collapse to two-up; below 740 px, everything stacks single-column.
- Side gutters narrow proportionally from ~80 px on desktop to ~16 px on mobile.
### Whitespace Philosophy
Square uses **generous vertical rhythm between sections** (heroes breathe), but **tight rhythm inside cards** (pricing tiers, feature cards). Photography gets full-bleed margins (no padding around hero images); structured content (pricing comparison, FAQ accordion) gets generous interior padding to telegraph "this is dense and important — slow down."
### Responsive Strategy
#### Breakpoints
| Name | Width | Key Changes |
|---|---|---|
| `xxl` | ≥ 1680 px | Max container width applied; 3-up feature grids; full nav with category labels |
| `xl` | 1280–1679 px | Standard desktop; 3-up grids retained |
| `lg` | 1024–1279 px | Reduced gutters; some 3-up grids flex to 2-up |
| `md` | 740–1023 px | Top nav simplifies; 3-up → 2-up |
| `sm` | 640–739 px | Mobile-leaning; hamburger surface appears |
| `xs` | < 640 px | Single-column stack; full-width buttons; hamburger nav |
#### Touch Targets
All interactive elements use `{rounded.pill}` (50 px) — buttons hit at least 40 px tall (per the `button-md` 16 px font + 12 px vertical pad implied by the email-signup `text-input`). Pill geometry helps thumb-targeting on mobile where the buttons stretch full-width.
#### Collapsing Strategy
- **`nav-bar`** collapses to a hamburger surface at < 1024 px; the category-pill row above the main nav is hidden on mobile.
- **`pricing-card` rows** collapse from 3-up to a vertical stack with the featured (`pricing-card-featured`) tier visually elevated by its 2 px `{colors.primary}` border regardless of stack order.
- **Hero CTAs** (`button-primary` + `button-secondary-on-photo`) stack vertically on mobile and stretch to ~92% of viewport width.
- **`product-card` grids** in the hardware overview collapse from 3-up → 2-up → 1-up across breakpoints; aspect ratios stay square so layout density doesn't shift dramatically.
#### Image Behavior
- Hero photographs are full-bleed at every breakpoint — no padded reveal.
- Product images use a soft `{colors.canvas}` cream backdrop in `product-image-frame` chrome, regardless of breakpoint.
- Feature illustrations (the small graphic cards on the hardware overview) sit inside `{rounded.lg}` 10 px corners with consistent 4:3 framing.
## Elevation & Depth
| Level | Treatment | Use |
|---|---|---|
| 0 | No shadow; `1px solid {colors.hairline}` border | FAQ row dividers, footer column separators |
| 1 | `0px 0px 0px 1px inset rgb(112, 112, 112)` | Inset border on outlined controls |
| 2 | `0px 0px 0px 1px rgb(112, 112, 112)` | Outset border on focus / active cards |
Square's elevation system is deliberately flat — there are no large drop shadows on cards. Depth comes from **color contrast** (white card on cream section, cream featured tier inside a row of white tiers) and **hairline separation** rather than blur-based shadows. The only "lifted" feeling comes from the brightness step between a `{colors.canvas}` card and the `{colors.canvas}` section it sits on.
### Decorative Depth
- **Hero photography** carries depth via real-world bokeh and lighting — the brand intentionally relies on photo-DOF as its primary atmospheric cue.
- **Pricing-page hero gradient** uses a soft warm amber-to-cream wash (linear gradient extracted in tokens) as a quiet atmospheric backdrop; pricing cards sit on top without further shadow.
- **No glow / mesh / aurora effects** — the brand stays anchored to flat color blocks and photographs.
## Shapes
### Border Radius Scale
| Token | Value | Use |
|---|---|---|
| `{rounded.xs}` | 4 px | Search bar opener, small chrome targets (a, button) |
| `{rounded.sm}` | 5 px | `button-secondary-outline` "Buy" button corners |
| `{rounded.md}` | 6 px | Compact chrome (a, button, div) |
| `{rounded.lg}` | 10 px | `text-input`, feature-card corners, image frames |
| `{rounded.xl}` | 20 px | Pricing cards, modal surfaces |
| `{rounded.pill}` | 50 px | Pill CTAs (`button-primary`, `button-primary-dark`, `button-secondary-on-photo`), toast |
| `{rounded.full}` | 9999 px | Fully circular controls (carousel arrows, Play button) |
### Photography Geometry
- Hero photos: full-bleed, no rounding.
- Product cards: square (1:1) framed photographs inside `{rounded.lg}` 10 px corners.
- Feature illustration cards: 4:3 framed graphics inside `{rounded.lg}` 10 px corners.
- Avatars (when present in testimonials): circular, `{rounded.full}`.
## Components
### Buttons
**`button-primary`** — Square Blue pill, the everyday CTA
- Background `{colors.primary}`, text `{colors.on-primary}`, type `{typography.button-md}`, rounded `{rounded.pill}` (50 px).
- Used on every "Get started" hero CTA, "Buy" on hardware product pages, and the email-signup submit pill.
- Pressed state lives in `button-primary-pressed` with `{colors.primary-pressed}` (#0055cc) fill.
**`button-primary-pressed`** — Active state for the primary pill
- Background `{colors.primary-pressed}`, text `{colors.on-primary}`, same shape as `button-primary`.
**`button-primary-dark`** — Black pill for light hero sections
- Background `{colors.ink}`, text `{colors.on-primary}`, type `{typography.button-md}`, rounded `{rounded.pill}`.
- Used as the alternative primary action on the homepage hero ("Contact Sales") and as the dark companion to the white pill on photo overlays.
**`button-secondary-outline`** — White outlined "Buy"
- Background `{colors.canvas}`, text `{colors.ink}`, 2 px solid `{colors.primary}` border, type `{typography.button-md}`, rounded `{rounded.sm}` (5 px), padding 10 px.
- Used on hardware product pages as the "Learn more" companion to the filled blue "Buy" pill. The sharper 5 px corners contrast with the pill geometry of the primary CTA, signaling subordinate hierarchy.
**`button-secondary-on-photo`** — White pill for photo overlays
- Background `{colors.canvas}`, text `{colors.ink}`, type `{typography.button-md}`, rounded `{rounded.pill}`.
- The light companion to `button-primary-dark` on the homepage hero photo.
**`button-disabled`**
- Background `{colors.hairline}`, text `{colors.stone}`, type `{typography.button-md}`, rounded `{rounded.pill}`.
### Cards & Containers
**`pricing-card`** — Default pricing tier
- Background `{colors.canvas}`, text `{colors.ink}`, rounded `{rounded.xl}` (20 px).
- Headline uses `{typography.heading-lg}`; captions/feature list use `{typography.caption}`.
- Hosts a `button-secondary-outline` CTA (free / starter tiers) at top of the card body.
**`pricing-card-featured`** — Recommended tier (Plus)
- Background `{colors.canvas}`, text `{colors.ink}`, 2 px solid `{colors.primary}` border, rounded `{rounded.xl}` (20 px).
- The blue border is the recommended-tier marker; the surface stays white so the tier reads as part of the row, not a separate visual species.
- Hosts a `button-primary` (filled blue pill) at top.
**`feature-card`** — Three-up feature grid cell
- Background `{colors.canvas}`, text `{colors.ink}`, rounded `{rounded.lg}` (10 px).
- Headline `{typography.heading-lg}`, body `{typography.body-md}`. Often paired with a top-positioned illustration or product photo.
**`product-card`** — Hardware overview tile
- Background `{colors.canvas}`, text `{colors.ink}`, rounded `{rounded.lg}` (10 px).
- Caption `{typography.caption-strong}` for product name; body `{typography.body-md}` for description.
- Contains a `product-image-frame` at top.
**`product-image-frame`** — Square photo frame for hardware items
- Background `{colors.canvas}`, rounded `{rounded.lg}` (10 px). 1:1 aspect ratio.
### Inputs & Forms
**`text-input`** — Dark-on-light inverted input
- Background `{colors.surface-inverse}` (#000000), text `{colors.on-primary}`, type `{typography.body-md}`, rounded `{rounded.lg}` (10 px), padding 12 px 16 px.
- Square's signature input style — dark fill against the inky CTA bands on which it's placed. The choice carries the brand's commitment to high-contrast typographic moments down into form chrome.
**`text-input-focused`**
- Same chrome as `text-input` plus a 2 px outline at `rgba(0, 106, 255, 0.5)` (half-alpha Square Blue).
**`email-signup-pill-input`** — Newsletter row composite
- Same chrome as `text-input`. Paired with a `button-primary` submit pill in a horizontal row on the dark CTA bands ("Get the tech trusted by coffee shops", "Upgrade your countertop").
### Navigation
**`nav-bar`** — Top nav surface
- Background `{colors.canvas}`, text `{colors.ink}`, type `{typography.body-md-strong}`, with `{colors.hairline}` bottom border at the sticky tab row.
- Two-tier structure on desktop: a top utility tab row ("Business Types · Restaurants · Retail · Beauty …") and the main nav below ("Products · Hardware · Pricing · What's new" + Sign in + Get started).
**`nav-link`** — Plain nav link
- Text `{colors.ink}`, type `{typography.body-md-strong}`. No underline by default.
**`category-pill-link`** — Top-row utility tab
- Background `{colors.canvas}`, text `{colors.ink}`, type `{typography.caption-strong}`, rounded `{rounded.pill}`.
### Hero Components
**`hero-photo-overlay`** — Homepage-style photo hero
- Background `{colors.surface-inverse}` substrate (full-bleed photo on top), text `{colors.on-primary}`.
- Headline uses `{typography.hero-serif}` (Exact Block 81 px); two CTAs stack: `button-secondary-on-photo` (white pill, primary action) + `button-primary-dark` (black pill, secondary).
**`hero-light`** — Light-canvas product hero (hardware pages)
- Background `{colors.canvas}`, text `{colors.ink}`.
- Headline `{typography.display-serif-lg}` or `{typography.display-sans}` depending on page; CTAs use `button-primary` + `button-secondary-outline`.
### Auxiliary
**`faq-row`** — Accordion question row
- Background `{colors.canvas}`, text `{colors.ink}`, type `{typography.body-lg}`, with `{colors.hairline}` bottom border per row. Chevron icon at right; row expands on click (no documented animation per global no-motion-from-screenshots policy).
**`footer`** — Page footer
- Background `{colors.ink-deep}` (#000000), text `{colors.on-primary}` for headings, `{colors.link-muted}` for link rows.
- Multi-column link directory with category headings + link lists; social icons row + legal microcopy at the bottom.
**`footer-link-muted`** — Footer link
- Text `{colors.link-muted}` (#bbbbbb), type `{typography.body-md}`. Deliberately quiet so the link directory reads as content rather than action.
### Examples (illustrative)
> Auto-derived kit-mirror demonstration surfaces (`scripts/derive-examples-block.mjs`). Each `ex-*` entry references brand-native primitives so downstream consumers (`/preview-design`, `/generate-kit`) re-skin the same 10 surfaces consistently. `TO_FILL` markers indicate missing primitives — resolve in the LLM judgment pass.
**`ex-pricing-tier`** — Default Pricing tier card. Re-uses pricing-card chrome on white canvas with hairline border.
- Properties: `backgroundColor`, `textColor`, `borderColor`, `rounded`, `padding`
**`ex-pricing-tier-featured`** — Featured/highlighted tier — polarity-flipped surface (dark fill + light text in light mode, light fill + dark text in dark mode).
- Properties: `backgroundColor`, `textColor`, `rounded`, `padding`
**`ex-product-selector`** — What's Included summary card — re-purposed for SaaS / B2B verticals (NOT a literal product gallery).
- Properties: `backgroundColor`, `rounded`, `padding`
**`ex-cart-drawer`** — Subscription summary — re-purposed for SaaS / B2B (line items per add-on, not literal cart).
- Properties: `backgroundColor`, `rounded`, `padding`, `item-divider`
**`ex-app-shell-row`** — Sidebar nav row inside the App Shell example. Active state uses brand primary as the indicator.
- Properties: `backgroundColor`, `activeIndicator`, `rounded`, `padding`
**`ex-data-table-cell`** — Default data-table th + td chrome. Header uses mono-caps eyebrow typography; body uses body-sm.
- Properties: `headerBackground`, `headerTypography`, `bodyTypography`, `cellPadding`, `rowBorder`
**`ex-auth-form-card`** — Sign-in / sign-up card. Re-uses feature-card chrome with text-input primitives inside.
- Properties: `backgroundColor`, `rounded`, `padding`
**`ex-modal-card`** — Modal dialog surface — same chrome as feature-card with elevated shadow.
- Properties: `backgroundColor`, `rounded`, `padding`
**`ex-empty-state-card`** — Empty-state illustration frame.
- Properties: `backgroundColor`, `rounded`, `padding`, `captionTypography`
**`ex-toast`** — Toast notification surface — feature-card shape + medium shadow.
- Properties: `backgroundColor`, `rounded`, `padding`, `typography`
## Do's and Don'ts
### Do
- Reserve `{colors.primary}` for primary actions, the active-tab indicator, and the focus outline — never for decorative use.
- Use `{rounded.pill}` (50 px) for every primary CTA (`button-primary`, `button-primary-dark`, `button-secondary-on-photo`) — pill geometry is the brand's hand-shake shape.
- Pair `button-primary` (Square Blue) with `button-primary-dark` (Black) as the canonical two-button hero CTA stack — one is always white-fill, one is always blue-fill, depending on which sits on the photo.
- Use `{typography.hero-serif}` (Exact Block) for hero headlines over photography — its tight negative tracking is what makes Square feel premium.
- Mark the featured pricing tier with a 2 px `{colors.primary}` border on a white canvas rather than a tinted fill — keeps the row reading as a unified set.
- Layout pages in the three-tone rhythm: photo hero → white feature → deep-black CTA + footer.
- Frame product photos inside `{rounded.lg}` (10 px) with a `{colors.canvas}` backdrop — keeps product imagery consistent across hardware/restaurants/retail surfaces.
### Don't
- Don't reach for a second action color outside `{colors.primary}`. The accent palette (`{colors.accent-rose}`, `{colors.accent-plum}`, `{colors.accent-red}`) is for illustration and product labels only.
- Don't put drop shadows under cards — Square's elevation system is brightness-step based; shadows break the calm.
- Don't use `{typography.hero-serif}` below 40 px — Exact Block is a display face and loses character at small sizes.
- Don't use the geometric sans (`{typography.display-sans}`) above 64 px — that scale is reserved for Exact Block.
- Don't reach for tinted card fills to mark a featured tier — the brand stays on white surfaces; differentiation comes from a `{colors.primary}` border, not a background change.
- Don't use the sharp `{rounded.sm}` (5 px) geometry on a primary CTA — sharp corners are explicitly the secondary-tier shape language.
- Don't lighten the footer — the deep-black anchor (`{colors.ink-deep}`) is part of the brand's three-tone rhythm.
Usage
1. Connect getdesign.md to your AI tool (once)
claude mcp add --scope user --transport http getdesign https://getdesign.md/api/mcpRun it in your terminal, then start a new session. In the Claude app, add a custom connector with this address:
https://getdesign.md/api/mcpThe first time you ask, your AI opens getdesign.md in your browser to sign in. All tools and help
2. Then ask it
Apply the Square design from getdesign.md to this project.Run this command from your project root, then ask your AI assistant to use DESIGN.md for UI work.
The Square design reference uses high-contrast display serif, geometric sans, Square Blue pill CTAs. It works best for merchant product pages, commerce platforms, and payment service sites.
Installs
—
Bookmarked
—
Independent analysis of publicly observable patterns, curated as a starting point for inspiration. Not affiliated with or endorsed by Square; Square and its logo are trademarks of their respective owner.
Preview
Square DESIGN.md FAQ
How do I use the Square DESIGN.md with Claude Code, Cursor, or Codex?
Run npx getdesign@latest add squareup from your project root, then ask your AI assistant to use DESIGN.md for UI work.
What does the Square DESIGN.md cover?
It covers overview, colors, typography, layout, elevation & depth, shapes, components, and do's and don'ts.
Is this an official Square file?
No. It is an independent analysis of publicly observable patterns, curated as a starting point for inspiration. It is not affiliated with or endorsed by Square.
Similar DESIGN.md files
Stripe
Payment infrastructure. Signature purple gradients, weight-300 elegance.
Binance
Crypto exchange. Bold yellow accent on monochrome, trading-floor urgency.
Coinbase
Crypto exchange. Clean blue identity, trust-focused, institutional feel.
Kraken
Crypto trading. White backgrounds, commanding Kraken Purple.