# Clerk DESIGN.md

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

Clerk's developer-tool aesthetic pairs a precise cool-neutral system with a single "Clerk Violet" action color. Light marketing surfaces carry bold Suisse headlines and floating pill navigation, while pricing and product surfaces drop into a deep circuit-board dark mode with translucent gray cards, cyan links, and the same violet CTA — all stitched together by springy 450ms micro-interactions.

- Website: https://clerk.com
- Primary color: Indigo `#6C47FF`
- Fonts: Soehne Mono, Suisse
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/clerk

## Palette preview

- `black`: `#0a0a0b`
- `muted`: `#9394a1`
- `outline`: `#eeeee0`
- `primary`: `#6c47ff`
- `surface`: `#ffffff`
- `tertiary`: `#70b8ff`
- `secondary`: `#5de3ff`
- `on-primary`: `#ffffff`

## Typography preview

- `code`: Soehne Mono
- `body-lg`: Suisse

---

## Overview

Clerk looks like what it is: the auth layer inside modern apps. The aesthetic is **quiet, precise, component-forward** — the marketing site demos Clerk's own sign-in/sign-up UI cards floating on a white canvas with a soft violet glow, under a floating pill nav and a slim black announcement bar. Typography does the talking: oversized Suisse Bold headlines with tight -0.035em tracking and plain factual sublines ("More than APIs. The complete user layer for modern apps.").

The system is confidently **dual-mode**: the homepage and docs run light (white/`#F7F7F8` surfaces, near-black ink, hairline borders), while pricing, dashboards, and product frames go dark (`#0A0A0B` → `#131316` canvas, `#212126`/`#2F3037` translucent cards with white-alpha hairlines and a faint circuit-board texture). One violet — `#6C47FF` — marks the single primary action on either theme; cyan `#5DE3FF` handles inline links on dark.

## Colors

- **Primary #6C47FF ("Clerk Violet"):** The only saturated action color — "Start building for free" CTAs, the selected-tab dot, focus states. `#9785FF` is its lighter sibling for text-level violet accents on dark.
- **Secondary #5DE3FF (cyan):** Inline links and highlight text on dark surfaces ("Show volume discounts"); never a fill.
- **Tertiary #70B8FF:** Secondary blue accent in diagrams and data viz.
- **Light neutrals:** White canvas, `#FAFAFB`/`#F7F7F8` section surfaces, `#EEEEF0`/`#D9D9DE` hairlines, `#131316` ink, `#747686` muted body, `#9394A1` captions, `#5E5F6E` secondary.
- **Dark ramp:** `#0A0A0B` page base (announcement bar, deepest wells), `#131316` card base/ink-on-light, `#212126` raised cards and dark buttons, `#2F3037` hover/high, `#42434D` hairlines-on-dark, `#B7B8C2` muted text on dark, white-alpha borders at ~12%.

## Typography

**Suisse** (Suisse Int'l, weights 400–700) is the single family for everything marketing and product; **geistNumbers** variants render numerals, and **Soehne Mono** covers code. The notable trait is *small, dense UI text* — labels run 11–13px — under huge bold headlines.

- **Headlines:** Suisse 700, 56–64px, line height ~1.13, aggressive **-0.035em** tracking; section heads 32px SemiBold. Black ink on light, pure white on dark.
- **Body:** Suisse 15–19px at ~1.45 line height in muted `#747686` (light) or `#B7B8C2` (dark).
- **Labels/UI:** Suisse Medium at 11–13px — nav items, tab labels, button text, table chrome.
- **Code:** Soehne Mono ~14px in dark wells.

## Layout

A ~1264px centered container with floating chrome: a **detached white pill nav bar** (~16px radius, subtle ring shadow) and a full-width black announcement bar above it. Heroes are left-aligned two-liners (headline + one-line sub) with a small utility cluster (framework icons + "Copy prompt" pill). Feature sections lead with a **segmented tab row** (selected = light pill + violet dot) feeding a large product-frame card that renders real Clerk UI at reduced opacity with a violet radial glow behind it. Pricing dark mode centers a bold statement over a 4-column card grid.

## Elevation & Depth

The signature is the **ring-shadow stack**: a 1px `rgba(19,19,22,~0.05)` ring plus a cascade of tight, low-opacity shadows (1px→24px, all under 5–8%) that lifts cards and the floating nav without any gray haze. On dark surfaces, elevation is translucency — `#212126`/`#2F3037` fills, white-alpha hairlines, and inset top highlights. A soft violet radial glow sits behind hero product frames.

## Shapes

Pills everywhere they matter: **fully-rounded** nav bar, buttons-on-dark ("Support", "Copy prompt"), tab pills, avatars, and badges. Working surfaces keep compact radii — **6px on buttons/inputs, 8px on cards' innards, 16px on large panels and the nav shell**. The mix is intentional: chrome floats as pills, content stays softly squared.

## Motion & Micro-interaction

Motion is spring-leaning and tactile: **450ms** color/state sweeps on `cubic-bezier(0.33,1,0.68,1)`, 500ms on surface transitions, 150–200ms for border/opacity micro-states. Icon and card hovers use a **`linear()` spring keyframe** (~300ms, overshooting to ~1.01 scale) — the distinctive "pop" on interactive elements. Tab switches crossfade content; nothing loops on the page canvas.

## Voice & Content Strategy

- **Tone:** Factual, developer-confident, zero fluff — "Everything you need for authentication", "Clear pricing that scales." Features read as spec lines, not benefits.
- **Capitalization:** Sentence case throughout; product names ("Multi-tenancy", "Enterprise Authentication") title-cased only as features.
- **Terminology:** "Clerk", "MRU" (monthly retained users), "prebuilt UIs", "the complete user layer"; AI surface is explicit ("MCP server", "Agent Authentication", "Configure Clerk with your agent").
- **Button labels:** Builder verbs — "Start building for free", "Sign up", "Copy prompt", "Upgrade to Pro plan", "Talk to sales".
- **Pricing copy:** Concrete numbers with unit context ("50,000 MRU included per app", "Additional $0.02/mo each") and cyan "Show volume discounts" disclosure links.

## Components

- **Primary button:** `#6C47FF` fill, white 13–16px Medium label, 6px radius, ~40px — the single violet moment per card/view.
- **Dark pill button:** `#212126` fill, white label, full radius with the ring-shadow + inset-highlight stack ("Copy prompt", "Support").
- **Ghost button (dark):** `#2F3037`/gray fill or hairline-bordered, for "Upgrade"/"Talk to sales" plan CTAs.
- **Nav (light):** Detached white pill with logo, 13px Medium links + carets, right-side "Sign in" link + dark "Sign up" pill.
- **Tab control:** Row of 13px labels; selected gets `#F7F7F8` pill background + violet dot, unselected shows hollow dot.
- **Pricing card (dark):** `#212126` translucent fill, white-alpha hairline, Suisse plan name + price, feature checklist with gray checks, violet or ghost CTA, mono-ish unit text.
- **Announcement bar:** Black `#0A0A0B` strip, white 13px copy + ▶ link.
- **Code block:** Near-black well, Soehne Mono, syntax-tinted output.
- **Product frame:** Rounded-16px card holding live Clerk UI at reduced opacity over the violet glow — the "show the product" hero device.

## Do's and Don'ts

- Do give violet `#6C47FF` to exactly one action per view — every other CTA is neutral gray or ghost.
- Don't introduce other saturated hues on light surfaces; cyan and blue accents belong to dark surfaces and diagrams.
- Do use the ring-shadow stack (1px ring + tight low-alpha shadows) instead of blurred drop shadows.
- Don't set body copy below 13px or above 19px — the system runs dense.
- Do keep headline tracking at -0.035em in Suisse 700 — the compressed boldness is the brand voice.
- Don't mix pill and square radii within one component group: pills for floating chrome and buttons-on-dark, 6–16px for content.
- Do render product demos inside rounded frames at slightly reduced opacity over the violet glow — never flat screenshots.
- Don't use pure black text; ink is `#131316`, muted is `#747686`, captions `#9394A1` (kept as measured — captions run below AA contrast and are for metadata only, never primary copy).
- Do keep the announcement bar to one line of copy plus a link — no multi-promo rotation.
- Don't use drop shadows on dark surfaces — separation comes from translucency, hairlines, and inset highlights.
