X DESIGN.md design system & style guide
MediaProv1.0.0 (Latest)A stark, monochrome landing page: pure white with near-black TwitterChirp type, a 64px headline at negative tracking, pill buttons in black and white, and a single sky-blue focus ring as the only color.
You can read X's full design narrative and up to 8 primary colors free. Upgrade to Pro for all 75 design tokens, full DESIGN.md downloads, and 1 revisions.
Upgrade to DesignMD Pro to copy all colors as :root CSS variables, inspect component token references, and download the full source file.
Design Guidelines
Overview
X's landing page is the most stripped-down page in this collection: pure white, near-black type, and exactly one action per row. The 64px headline ("Happening now.") is set at a 0.9 line-height with −1px tracking, so tight it almost overlaps itself — a deliberate editorial compression that makes two words feel like a statement. Everything below it is a stack of full-pill buttons: one black primary, two white secondary, a gray disabled state, and a text field whose focus ring is the only non-grayscale pixel on the page. There is no imagery except the giant X wordmark; the brand is carried entirely by scale and monochrome discipline.
Colors
A grayscale system with one exception:
primary— Pure black#000000. The primary button ("Continue with phone"). Absolute black, not near-black — the contrast with white is total.surface— Pure white#ffffff.on-surface— Near-black#1a1a1a. The headline and body text.on-surface-variant— Gray#666666. Footer links (About, Get App, Grok, Help, Terms…).on-surface-muted— Light gray#b2b2b2. Legal notes under the form.surface-disabled—#d4d4d4with#808080text. The disabled "Continue" button before a valid input.outline—#dadce0/#d1d5db. Hairline borders on secondary buttons and dividers.focus— Sky blue#0ea5e9. The text field's focus border. The single chromatic element, and the only place color appears.
Typography
One family — TwitterChirp (X's proprietary face, falling back to the system stack) — across four roles:
display-lg(64px/0.9, 600, −1px) — The headline. The tight line-height and negative tracking are the entire typographic statement.body-md(17px/1.18) — Input text.label-md(15px/1.33, 500) — Button labels.label-sm(12px/1.5, 500) — Small labels.meta-sm(11px/2.18, 400) — Footer links and legal notes, set with a very tall line-height so the footer breathes.
Google Sans appears exactly once — the "Continue with Google" button, at 14px with +0.25px tracking — because Google's brand guidelines require its own face on its button.
Layout
A two-column viewport split at 1280px: the left column holds the headline and the sign-in stack within a ~400px measure; the right column is dominated by the giant X wordmark. The button stack runs full-width — black primary, two white secondary, an "or" divider with hairline rules, the text field, the disabled Continue, and the legal note. The footer runs a single centered row of 11px links. Nothing is centered except the footer; the content is firmly left-aligned.
Elevation & Depth
Effectively none. The page is flat white; the only shadow anywhere is a soft rgba(0,0,0,0.08) 0 4px 20px 0 under the floating "Scan to get the app" QR card, which must separate itself from the page. Buttons are defined by fill and hairline borders, not elevation.
Shapes
Pills everywhere: every button is a 9999px radius — the black primary, the white secondaries, and the gray disabled state alike. The only non-pill is the text field at 6px, a deliberate exception so the input reads as a field rather than a control. The QR card is the single 20px-radius surface.
Motion & Micro-interaction
Two speeds: 218ms ease on background-color and border-color (buttons, inputs — the dominant treatment), and a 75ms ease-in-out "all" transition for micro-feedback. Motion is nearly subliminal; the page acknowledges the cursor without ever animating.
Voice & Content Strategy
Two words, then silence: "Happening now." The sign-in stack is pure utility — "Continue with phone", "Continue with Google", "Continue with Apple", "or", "Email or username", "Continue" — and the only sentence on the page is the legal note ("By continuing, you agree to our Terms of Service, Privacy Policy and Cookie Use."). The confidence is in the restraint: a product this well known doesn't need to explain itself.
Components
- Hero headline — 64px/600 Chirp at −1px tracking and a 0.9 line-height, near-black on white.
- Primary button — Black pill, white 15px/500 label.
- Secondary button — White pill with a
#dadce0hairline, near-black label, and the provider's brand icon (Google G in Google Sans, Apple logo). - Disabled button —
#d4d4d4pill with#808080label, shown until the field is valid. - Text field — White 6px-radius input with a hairline border that turns sky blue
#0ea5e9on focus. - Divider — Centered "or" between hairline rules.
- QR card — White 20px-radius panel on the soft shadow, holding the app-download QR code.
- Footer — Single row of 11px gray links separated by centered dots.
Do's and Don'ts
- Do keep the page pure white with pure black buttons — no off-whites, no dark-mode grays.
- Do set the headline in Chirp 600 at 64px with −1px tracking and a 0.9 line-height.
- Do make every button a full pill; the text field is the only 6px exception.
- Do use the sky-blue
#0ea5e9focus ring as the sole chromatic accent. - Do show the disabled state as
#d4d4d4/#808080until the form is valid. - Do separate secondary buttons with
#dadce0hairlines, not shadows. - Do let the X wordmark carry the right column at poster scale.
- Don't introduce a second color beyond the focus ring, or a second font beyond the provider-mandated Google Sans.
- Don't round the text field to a pill — it must read as a field.
- Don't add shadows to buttons or lift anything but the floating QR card.
- Don't loosen the headline's line-height above 0.9 or drop the negative tracking.
- Don't expect the grayscale supporting tones to pass 4.5:1 — disabled text on its pill measures ~2.7:1, the sky-blue focus ring ~2.8:1, hairline dividers ~1.5:1, and legal notes ~2.1:1. The brand uses them for disabled states, focus indication, rules, and 11px meta respectively; keep those roles at their set purposes rather than darkening the neutrals.
How to use X's DESIGN.md with an AI agent
Get X's DESIGN.md
Fetch https://www.designmdpro.app/websites/x.md or call the get_design_md tool with slug "x" from the DesignMD Pro MCP server to get the public version. The full token set requires Pro.
Save it as DESIGN.md in your project root
Put the file next to AGENTS.md or CLAUDE.md so Claude Code, Cursor, Codex and other coding agents can find it.
Ask your agent to follow it
For example: "Build the settings page following the X design system in DESIGN.md — use its colors, typography and spacing tokens."
X style AI prompt
Build a responsive landing page in the visual style of X (x.com), following its DESIGN.md design system.
## Colors
- focus: #0EA5E9
- outline: #DADCE0
- primary: #000000
- surface: #FFFFFF
- on-primary: #FFFFFF
- on-surface: #1A1A1A
- outline-strong: #D1D5DB
- on-surface-muted: #B2B2B2
## Typography
- body-md: "TwitterChirp", 17px, weight 400, line-height 1.18
- meta-sm: "TwitterChirp", 11px, weight 400, line-height 2.18
## Corner radius
- md: 20px
- sm: 6px
- full: 9999px
## Rules
- Use only the colors above for backgrounds, text, borders and accents; do not invent new colors.
- Set all text with the typography styles above and keep their size and weight hierarchy.
- Take corner radius and spacing from the scales above so components look consistent.
Full DESIGN.md: https://www.designmdpro.app/websites/x.mdCustomize in the V0 prompt generator →Frequently asked questions
What is X's primary color?
X's primary brand color is Black (#000000). Its DESIGN.md defines 11 color tokens in total.
What font does X use?
X uses TwitterChirp as its primary typeface.
How do I use X's design tokens in Tailwind CSS or shadcn/ui?
X's primary color (#000000) is public on this page. Generating a complete Tailwind or shadcn theme needs the full DESIGN.md, which is available with DesignMD Pro.
Is this X DESIGN.md official?
No. DesignMD Pro extracted it from the public x.com website. It is not affiliated with or endorsed by X.
When was X's DESIGN.md last updated?
Version 1.0.0 was captured on November 30, 2026.
X and its trademarks belong to their respective owners. DesignMD Pro is an independent project, not affiliated with or endorsed by X; this DESIGN.md is extracted from the public website for reference only.