Knock — decoded design system
Knock's design system, decoded live by Mozaika: measured color roles, type scale, buttons with real hover/focus states, motion and the brand's own tokens.
This is a static, crawlable rendering for search & AI engines. The interactive version — filters, live decode console, copy & export — is at https://mozaika.design/decode/knock.app.
Decoded design system
Knock's decoded design system: background #FFFFFF, text #000000, accent #FF6C52, link #222222, primary #FF6C52; type scale h1 56px / h2 48px / body 24px; 4px spacing base; 6px base radius. The single interactive/action color is #FF6C52 — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.
Color roles
| Role | Value |
|---|---|
| bg | #FFFFFF |
| surface | #EFEFEF |
| border | #D8D8D8 |
| text | #000000 |
| text_muted | #606060 |
| primary | #FF6C52 |
| accent | #FF6C52 |
| link | #222222 |
| secondary | #F45B58 |
| button_bg | #FF6C52 |
| button_text | #FAFAFA |
Using these colors
- Action color
#FF6C52— the single interactive color; only on things you click or must notice, never large fills. primary,accent,button_bgare all#FF6C52— one role, not several (the action color).- accent
#FF6C52— THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. - link
#222222— reads as a neutral UI color, not a link accent — verify against the reference (action = #FF6C52). - secondary
#F45B58— optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two.
Typography
- Heading: Inter
- Body: Inter
- Mono: ui-monospace
- h1: 56px
- h2: 48px
- body: 24px
Spacing
- base unit: 4px
- scale: 4px, 6px, 8px, 10px, 12px, 16px, 20px, 24px, 38px, 40px
Radii
- base: 6px
- button: 4px
Shadows (elevation)
- subtle:
rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(28, 32, 36, 0.08) 0px 14px 30px 0px, rgba(28, 32, 36, 0.08) 0px 1px 3px 0px
Motion
Micro-interactions run at 200ms (dominant) with cubic-bezier(0.4, 0, 0.2, 1).
- durations: 200ms · 150ms · 300ms
- easings:
cubic-bezier(0.4, 0, 0.2, 1)·cubic-bezier(0.4, 0, 1, 1) - animated properties: border-color, color, background-color, text-decoration-color
Native design tokens
| Token | Value |
|---|---|
--tgph-surface-1 | #fff |
--tgph-surface-2 | #fdfdfc |
--tgph-gray-1 | #fcfcfd |
--tgph-gray-2 | #f9f9fb |
--tgph-gray-3 | #eff0f3 |
--tgph-gray-4 | #e6e8eb |
--tgph-gray-5 | #dfe2e5 |
--tgph-gray-6 | #d7dadf |
--tgph-gray-7 | #cbcfd5 |
--tgph-gray-8 | #b6bcc4 |
…and 110 more measured on the page.
Button states (measured)
- primary hover: background
#E33A1E - primary focus: outline
1px auto rgb(255, 86, 54)
Layout (measured)
- container max-width:
1440px - nav: 65px sticky, backdrop
blur(5px) - common grid: 6 columns
Motion choreography (measured)
Load order: span.absolute → span.ml-px → canvas.w-full×21 → div.fixed → svg.lucide
Scroll reveal: 19 elements rest at opacity 0, translateY(20px), animate in over 500ms.
Stagger: div ×12 — 30ms apart.
Responsive (measured)
- breakpoints: 512px · 650px · 768px · 1024px · 1100px · 1200px
- mobile (390px): hero 34px · nav inline
Install it
Drop this measured system into any shadcn/Tailwind project in one command:
npx shadcn add mozaika.design/r/decode/knock.app
registry item · or query it over MCP: get_design_system("Knock")
Export: DESIGN.md
# Knock — Design System > light, modern, medium, tailwind — deep decode (measured live) ## Colors | Role | Value | |------|-------| | bg | `#FFFFFF` | | surface | `#EFEFEF` | | border | `#D8D8D8` | | text | `#000000` | | text_muted | `#606060` | | primary | `#FF6C52` | | accent | `#FF6C52` | | link | `#222222` | | secondary | `#F45B58` | | button_bg | `#FF6C52` | | button_text | `#FAFAFA` | **Using these colors** - **Action color** `#FF6C52` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds. - `primary`, `accent`, `button_bg` are all `#FF6C52` — one role, not several (your action color). - **accent** `#FF6C52` — THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. - **link** `#222222` — reads as a neutral UI color, not a link accent — verify against the reference (action = #FF6C52). - **secondary** `#F45B58` — optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two. - **Page coverage** (full-page screenshot pixels): `#FFFFFF` 94.6% · `#A59795` 5.4% ## Typography - Heading: **Inter** - Body: **Inter** - Mono: **ui-monospace** _(measured)_ | Role | Size / weight · line-height · tracking | |------|------------------------------------------| | hero | 56px / 500 · lh 62px | | h2 | 48px / 500 · lh 56px · tracking 0.1px | | h3 | 30px / 500 · lh 36px · tracking -0.23px | | body | 24px / 500 · lh 32px · tracking -0.16px | | small | 20px / 400 · lh 28px | | eyebrow | 15px / 600 · tracking 0.42px | - Weight ladder: 400 · 500 · 600 — use these exact measured weights, not the 400/600 defaults. > **Fonts —** Inter — free, on Google. ## Spacing - base unit: 4px (inferred from the measured scale) - measured scale: 4px, 6px, 8px, 10px, 12px, 16px, 20px, 24px, 38px, 40px — snap all gaps/padding to these - section rhythm: 128px top/bottom padding per section (measured) ## Radius - base: 6px - button: 4px - card: 4px - pill: 9999px ## Buttons | Button | Fill / text | Border | Radius | Padding | Font | Shadow | |--------|-------------|--------|--------|---------|------|--------| | primary | `#FF6C52` / `#FAFAFA` | none | 4px | 8px 12px 8px 12px | 600 16px | none | | secondary | `rgba(0, 0, 0, 0)` / `#000000` | none | 7px | 0px 0px 0px 0px | 400 16px | none | **States (measured, not guessed)** - primary hover: background `#E33A1E` - primary focus: outline `1px auto rgb(255, 86, 54)` - transition: `color 0.2s cubic-bezier(0.4, 0, 1, 1)` ## Shadows (elevation) - subtle: `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(28, 32, 36, 0.08) 0px 14px 30px 0px, rgba(28, 32, 36, 0.08) 0px 1px 3px 0px` ## Motion - durations: 200ms (dominant) · 150ms · 300ms - easings: `cubic-bezier(0.4, 0, 0.2, 1)` (dominant) · `cubic-bezier(0.4, 0, 1, 1)` - animated properties: border-color, color, background-color, text-decoration-color Micro-interactions use the dominant duration + easing; nothing on the page animates slower than the longest duration above — don't invent springier motion. ## Their own tokens (verbatim from :root) | Token | Value | |-------|-------| | `--tgph-surface-1` | `#fff` | | `--tgph-surface-2` | `#fdfdfc` | | `--tgph-gray-1` | `#fcfcfd` | | `--tgph-gray-2` | `#f9f9fb` | | `--tgph-gray-3` | `#eff0f3` | | `--tgph-gray-4` | `#e6e8eb` | | `--tgph-gray-5` | `#dfe2e5` | | `--tgph-gray-6` | `#d7dadf` | | `--tgph-gray-7` | `#cbcfd5` | | `--tgph-gray-8` | `#b6bcc4` | | `--tgph-gray-9` | `#888e95` | | `--tgph-gray-10` | `#7e848a` | _…and 108 more measured on the page._ Prefer these names when extending their system — it's the brand's actual vocabulary. ## Layout (measured) - container max 1440px · common grid: 6-col - nav: 65px sticky · backdrop blur(5px) · border-bottom 1px solid rgb(200, 206, 213) · bg rgba(255, 255, 255, 0.95) | Section (y) | Height | Cols | Gap | Pad y | Split | |---|---|---|---|---|---| | 55 | 434 | — | — | 0/0 | — | | 489 | 865 | — | — | 80/0 | — | | 569 | 785 | 12 | 4 | 0/0 | — | | 1354 | 312 | 6 | 32 | 0/0 | — | | 1666 | 296 | — | — | 0/0 | — | ## Motion choreography (measured) Load order: `span.absolute` @0ms → `span.ml-px` @390ms → `canvas.w-full`×21 @667ms → `div.fixed` @2393ms → `svg.lucide` @4727ms - `span.absolute` — opacity 0.75→0 · transform none→scale(2) — 1000ms cubic-bezier(0, 0, 0.2, 1) · loops - `svg.lucide` — transform none→rotate(360deg) — 1000ms · loops - stagger: `div` ×12 — 30ms apart - scroll reveal: 19 elements rest at opacity 0, translateY(20px), animate in over 500ms (13 revealed during the drive). Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography. ## Components (measured) - link: #222222 · no underline — hover #F45B58 ## Responsive (measured) - breakpoints: 512px · 650px · 768px · 1024px · 1100px · 1200px - mobile (390px): hero 34px · body 16px · nav: inline ## How to apply Paste the Tailwind `@theme` (or CSS variables) as your base, then build each section to its spec — verify every color, radius, and font against these tokens. Hover/focus states, shadows and motion timings above are measured from the live page — match them exactly, don't re-guess them.
An automated reading of Knock's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with knock.app. No screenshots stored. Removal requests: hello@mozaika.design.