X design system DESIGN.md et guide de style
MediaProv1.0.0 (Dernière)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.
Vous pouvez lire gratuitement le récit de design complet et jusqu'à 8 couleurs principales de X. Passez à Pro pour accéder aux 75 design tokens, aux téléchargements complets de DESIGN.md et à 1 révisions.
Passez à DesignMD Pro pour copier toutes les couleurs en :root variables CSS, inspecter les références de tokens de composants et télécharger le fichier source complet.
Règles de design
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.
Comment utiliser le DESIGN.md de X avec un agent IA
Récupérer le DESIGN.md de X
Récupérez https://www.designmdpro.app/websites/x.md ou appelez l'outil get_design_md avec le slug "x" depuis le serveur MCP DesignMD Pro pour obtenir la version publique. Le jeu complet de tokens nécessite Pro.
Enregistrez-le en tant que DESIGN.md à la racine de votre projet
Placez le fichier à côté d'AGENTS.md ou CLAUDE.md afin que Claude Code, Cursor, Codex et les autres agents de code puissent le trouver.
Demandez à votre agent de le suivre
Par exemple : « Construis la page de paramètres en suivant le design system de X dans DESIGN.md — utilise ses tokens de couleurs, de typographie et d'espacement. »
Prompt IA style X
Construis une landing page responsive dans le style visuel de X (x.com), en suivant son design system DESIGN.md.
## Couleurs
- focus: #0EA5E9
- outline: #DADCE0
- primary: #000000
- surface: #FFFFFF
- on-primary: #FFFFFF
- on-surface: #1A1A1A
- outline-strong: #D1D5DB
- on-surface-muted: #B2B2B2
## Typographie
- body-md: "TwitterChirp", 17px, weight 400, line-height 1.18
- meta-sm: "TwitterChirp", 11px, weight 400, line-height 2.18
## Rayons de bordure
- md: 20px
- sm: 6px
- full: 9999px
## Règles
- Utilise uniquement les couleurs ci-dessus pour les arrière-plans, textes, bordures et accents ; n'invente pas de nouvelles couleurs.
- Applique les styles typographiques ci-dessus à tout le texte en respectant leur hiérarchie de tailles et de graisses.
- Reprends les rayons de bordure et les espacements des échelles ci-dessus afin que les composants restent cohérents.
DESIGN.md complet : https://www.designmdpro.app/websites/x.mdPersonnaliser dans le générateur de prompt v0 →Questions fréquentes
Quelle est la couleur principale de X ?
La couleur principale de la marque X est Noir (#000000). Son DESIGN.md définit 11 color tokens au total.
Quelle police utilise X ?
X utilise TwitterChirp comme police principale.
Comment utiliser les design tokens de X dans Tailwind CSS ou shadcn/ui ?
La couleur principale de X (#000000) est publique sur cette page. Générer un thème Tailwind ou shadcn complet nécessite le DESIGN.md intégral, disponible avec DesignMD Pro.
Ce DESIGN.md de X est-il officiel ?
Non. DesignMD Pro l'a extrait du site public x.com. Il n'a aucune affiliation avec X et n'est pas approuvé par cette marque.
Quand le DESIGN.md de X a-t-il été mis à jour pour la dernière fois ?
La version 1.0.0 a été capturée le 30 novembre 2026.
X et ses marques appartiennent à leurs propriétaires respectifs. DesignMD Pro est un projet indépendant, sans affiliation ni approbation de X ; ce DESIGN.md est extrait du site public à titre de référence uniquement.