About xAI DESIGN.md
Curated by Dov AzencotUpdated Source x.ai
- AI & LLM Platforms
xAI is Elon Musk's frontier-AI lab, and the marketing surface wears that posture with engineered restraint. The base canvas is a single near-black #0a0a0a edge-to-edge, broken only by white outline pills and the occasional warm sunset-orange or dusk-purple accent inside product illustrations. There is no gradient hero, no atmospheric backdrop, no product screenshot — the site reads as a research lab announcing its work rather than a SaaS marketing page. The shape language is even more austere than the palette: every interactive element is a 9999px pill with a 1px translucent-white border, and cards are tight 8px rectangles in #191919 with hairline #212327 dividers. No shadows exist in the system. Display headlines render in Universal Sans at weight 400 with aggressive -2.4px tracking at 96px, while uppercase Geist Mono carries every section eyebrow at 14px with positive 1.4px tracking. The two-face contrast is the brand voice.
This page packages the system into a single DESIGN.md file in the Google Labs format. Inside: 17 color tokens grouped into surface, text, hairline, and a muted accent palette (sunset #ff7a17, dusk #7c3aed, twilight #c4b5fd, breeze #a0c3ec, midnight #0d1726); 11 typography tokens covering display-xl through caption-mono-sm at one weight (400); a 4-step radius scale (0, 8px, 9999px pill, 9999px full); a 9-step spacing system from 2px to 64px; and 28 components covering buttons, cards, inputs, navigation, hero/content bands, and 10 illustrative example surfaces (pricing tiers, app shell rows, data-table cells, auth cards, modals, toasts). Every value is quoted, every reference uses the DESIGN.md token-substitution syntax.
Feed the file to Claude, Cursor, or GitHub Copilot and the agent reproduces xAI's restraint — the dark canvas, the outline pills, the weight-400 display with negative tracking — rather than generating a generic dark theme with bolded headings and filled buttons. Reference the tokens directly in Tailwind config or CSS variables when you want the engineered-cosmic posture without the chrome of a conventional SaaS marketing site. The system is worth studying because it commits hard to one shape (the pill), one weight (400), and one surface (#0a0a0a) — the discipline of refusing every easy decorative escape hatch is what makes the brand read as a research lab.
What makes it distinct
- Single near-black canvas#0a0a0a edge-to-edge, with no light-mode counterpart anywhere on the marketing surface
- Pill is the entire interactive shapeevery button uses rounded 9999px with a 1px translucent-white border
- Display sits at weight 400 with -2.4px tracking at 96pxthe brand never bolds anywhere in the type ladder
- Two-face contrastUniversal Sans sentence-case display paired with Geist Mono uppercase eyebrows at 1.4px tracking
- Hairline borders carry all elevationno drop shadows exist anywhere in the 28-component system
Live at x.ai
A snapshot of the brand in production. Hover the frame to scroll the page; click to visit.
x.aiExplore xAI
Pick what you want to see — mockups, colors, typography, layout, or the full component list.
Brand & Accent
Sparing, CTA-only voltage.
Surface
Page and card backgrounds.
Text
Headlines, body, captions, muted.
Borders & Hairlines
Dividers, outlines, structural rules.
Other
Specialty colors.
xAI design system FAQ
Common questions about xAI's tokens, components, and how to use this DESIGN.md in your project.
Related reading
Specs, directories, and component libraries that pair with this design system.
The DESIGN.md specification
Google Labs' open spec for machine-readable design system files — the format this page is built on.
Browse all design systems
The full directory of DESIGN.md files on shadcn.io, with live mockups for each.
React blocks for shadcn/ui
Production-ready hero, pricing, CTA, and dashboard sections built with Tailwind + shadcn primitives.
Use xAI in your project
One machine-readable file. Drop it into Claude, Cursor, or any AI tool that reads DESIGN.md.