Design System

X.ai

xAI's website is a masterclass in dark-first, monospace-driven brutalist minimalism -- a design system that feels like it was built by engineers who understand that restraint is the ultimate form of sophistication. The entire experience is anchored to an almost-black background (`#1f2228`) with pure white text (`#ffffff`), creating a high-contrast, terminal-

#1f2228primaryInter
01

Color Palette

Top 8 hex values found in §2 of DESIGN.md, ranked by usage frequency.

#1f2228
#1f2228
#ffffff
#ffffff
#000000
#000000
#26292f
#26292f
#2a2d33
#2a2d33
#2c2f35
#2c2f35
#3a3d42
#3a3d42
#3b82f6
#3b82f6
Primary
#1f2228
Background
#1f2228
Foreground
#09090b
Border
#2c2f35
02

Typography

01 / TYPE SCALE

Type Scale

Rendered in system-ui to clearly show scale & weight. See the cards below for the brand's actual fonts.
Design at scaleDisplay XXL
3rem (48px)·300·line-height: 1.25·letter-spacing: -0.01emDisplay
Section headingHeading XL
1.875rem (30px)·300·line-height: 1.25Heading 1
SubheadingHeading L
1.5rem (24px)·300·line-height: 1.4Heading 2
Body text. The quick brown fox jumps over the lazy dog. Designed for readable line-height in long-form content.Body M
1rem (16px)·400·line-height: 1.5Body
Supporting textSmall S
0.75rem (12px)·400·line-height: 1.5Small
Caption · timestamp · 2026Caption XS
0.75rem (12px)·400·line-height: 1.5Caption
BADGE / LABELSmallest XXS
0.625rem (10px)·500·line-height: 1.5·letter-spacing: 0.06emSmallest
02 / FONTS USED BY THIS BRAND

3 fonts extracted from DESIGN.md

License + install link per font. Brand-only fonts mean the company uses a custom typeface that isn't publicly available.
Primary
Inter
Open · OFL
Designed by Rasmus Andersson. Variable font with full weight range.
Install via Google Fonts
Display
Geist Mono
Open · OFL
Install via Vercel
Primary
Universal Sans
Commercial
Variable typeface system by Universal Thirst. Used by Tesla, x.ai. Foundry catalog page has moved — search 'Universal Sans Universal Thirst' for the current listing.
Not publicly distributed.
03

Buttons

04

Cards

Total Revenue
$45,231
+20.1% from last month
Subscriptions
2,350
+18.2% from last month
Active Now
573
-2.4% from last month

Featured product

A wider example card showing how content sits inside the radius and shadow combination defined by this brand. Card radius is capped at 16px even on pill systems (LINE/Wise/Spotify) so large surfaces stay readable.

05

Form Elements

06

Badges & Tabs

Badges (radius capped to 8px)
DefaultSecondaryOutlineDestructiveSuccess
Tabs (pill / underline)
07

Spacing & Radius

Spacing Scale
4px
8px
24px
48px
96px
Component Radius (per-type)
Button
0px
Input
0px
Card
0px
Dialog
0px
Badge
0px
08

Elevation

Shadow recipes parsed from §6 of DESIGN.md, or default 5-tier scale if none found.

Subtle
0 1px 2px 0 rgba(0,0,0,0.05)
Default
0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px 0 rgba(0,0,0,0.06)
Elevated
0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06)
Floating
0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05)
Modal
0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04)