← Back to all designs

xAI

An inspired interpretation of xAI's design language — Elon Musk's frontier-AI company whose web surface is a strict near-black canvas broken only by white pill outlines, occasional warm sunset / dusk gradient accents, a custom geometric sans (Universal Sans) for display, and an uppercase tracked monospace caption face; the whole system reads as engineered-cosmic, unmarketed.

Homepage Example

Welcome to xAI

A modern, elegant design system built for the digital age. Clean lines, thoughtful spacing, and purposeful color choices define every interaction.

Get Started Learn More

Pixel Perfect

Every element is carefully crafted to ensure consistency across all platforms and devices.

Design Tokens

A comprehensive token system that makes scaling and maintaining your design effortless.

Built for Teams

Collaborate seamlessly with designers and developers using a shared design language.

Color Palette (18)

primary#ffffff
on-primary#0a0a0a
ink#ffffff
ink-hover#fafaf7
body#dadbdf
body-mid#7d8187
mute#7d8187
hairline#212327
canvas#0a0a0a
canvas-soft#1a1c20
canvas-card#191919
canvas-mid#363a3f
accent-sunset#ff7a17
accent-sunset-soft#ffc285
accent-dusk#7c3aed
accent-twilight#c4b5fd
accent-breeze#a0c3ec
accent-midnight#0d1726

Typography (11)

xAI
display-xl96px · weight 400
xAI
display-lg72px · weight 400
xAI
display-md48px · weight 400
xAI
display-sm32px · weight 400
xAI
display-xs20px · weight 400
xAI
body-lg18px · weight 400
xAI
body-md16px · weight 400
xAI
body-sm14px · weight 400
xAI
caption-mono14px · weight 400
xAI
caption-mono-sm12px · weight 400
xAI
button-md14px · weight 400

Components (23)

nav-bar
nav-bar
nav-link
nav-link
button-primary
button-primary
button-outline-on-dark
button-outline-on-dark
button-outline-sm
button-outline-sm
text-input
text-input
card-content
card-content
card-feature-product
card-feature-product
hero-band
hero-band
content-band
content-band
eyebrow-mono
eyebrow-mono
divider-hairline
divider-hairline
footer
footer
ex-pricing-tier
ex-pricing-tier
ex-pricing-tier-featured
ex-pricing-tier-featured
ex-product-selector
ex-product-selector
ex-cart-drawer
ex-cart-drawer
ex-app-shell-row
ex-app-shell-row
ex-data-table-cell
ex-data-table-cell
ex-auth-form-card
ex-auth-form-card
ex-modal-card
ex-modal-card
ex-empty-state-card
ex-empty-state-card
ex-toast
ex-toast

Border Radius

none (0px)
sm (8px)
pill (9999px)
full (9999px)

Design Philosophy

Overview

xAI is Elon Musk's frontier-AI lab and the website wears that posture with engineered restraint: a near-black canvas `{colors.canvas}` (`#0a0a0a`) edge-to-edge, white outline pills as every interactive element, and a single proprietary geometric sans `Universal Sans` carrying every display headline at weight 400. There is no gradient hero, no atmospheric backdrop, no product screenshot. The brand reads as confidently sparse — a research lab announcing its work rather than a SaaS marketing site.

Type is the second decisive voice. `Universal Sans` carries every display at weight 400 (regular) with aggressive negative tracking (`-2.4 px` at 96 px, scaling down through the display ladder). For technical labels, eyebrows, and metric counters, the brand pairs `Geist Mono` (uppercase, 1.4 px positive tracking) — every section eyebrow reads as a code comment more than a marketing label.

Every interactive element is a pill (`{rounded.pill}` 9999 px) with 1 px white-translucent border `rgba(255, 255, 255, 0.25)`. The button shape never varies — the same translucent-white pill carries "Try Grok", "Read announcement", "Custom Voices", "Sign up now", and every "Read" anchor. The pill is the entire shape system.

**Key Characteristics:**

Colors

Brand & Accent

Surface

Text

Semantic

The brand doesn't surface a separate semantic palette on the marketing site. Validation cues use the white-on-canvas hierarchy.

Typography

Font Family

Two faces ladder the system:

1. **universalSans** — proprietary geometric sans used for every display, body, button, and link role. Weight 400 only on the marketing surface (the brand's restraint is part of the voice). Negative letter-spacing at display sizes is the visual signature.

2. **GeistMono** — used for uppercase section eyebrows, label captions, and metric counters. Positive tracking (1.2 – 1.4 px) at 12 – 14 px.

Hierarchy

| Token | Size | Weight | Line Height | Letter Spacing | Use |

|---|---|---|---|---|---|

| `{typography.display-xl}` | 96px | 400 | 96px | -2.4px | Maximum hero scale. |

| `{typography.display-lg}` | 72px | 400 | 72px | -1.8px | Sub-hero displays. |

| `{typography.display-md}` | 48px | 400 | 48px | -1.2px | Section headlines. |

| `{typography.display-sm}` | 32px | 400 | 36px | -0.6px | Card-cluster headings. |

| `{typography.display-xs}` | 20px | 400 | 28px | 0 | Inline displays. |

| `{typography.body-lg}` | 18px | 400 | 28px | 0 | Lead paragraphs. |

| `{typography.body-md}` | 16px | 400 | 24px | 0 | Default body. |

| `{typography.body-sm}` | 14px | 400 | 20px | 0 | Secondary body. |

| `{typography.caption-mono}` | 14px | 400 | 20px | 1.4px | Section eyebrow (GeistMono uppercase). |

| `{typography.caption-mono-sm}` | 12px | 400 | 16px | 1.2px | Small mono labels. |

| `{typography.button-md}` | 14px | 400 | 20px | 0 | Button label. |

Principles

Note on Font Substitutes

universalSans is proprietary. Open-source substitutes:

Layout

Spacing System

Grid & Container

Responsive Strategy

#### Breakpoints

| Name | Width | Key Changes |

|---|---|---|

| Mobile | < 768px | Hero scales 96 → 48 px; grids 1-up; hamburger nav. |

| Desktop | ≥ 768px | Full hero + 2-up grids. |

#### Touch Targets

Buttons render ~32 – 40 px tall (8 vertical padding + 20 line). Mobile inflates touch area to meet WCAG 44 × 44 px.

#### Image Behavior

The brand uses sparse SVG illustrations for product moments (Grok, Voice, API). No photography on the marketing surface.

Elevation & Depth

| Level | Treatment | Use |

|---|---|---|

| Level 0 — Flat | No shadow, no border. | Default. |

| Level 1 — Hairline | 1 px solid `{colors.hairline}` border. | Card chrome, button outlines (with translucent white). |

The brand uses no shadows. Hairline borders carry all elevation cues.

Shapes

Border Radius Scale

| Token | Value | Use |

|---|---|---|

| `{rounded.none}` | 0px | Full-bleed bands. |

| `{rounded.sm}` | 8px | Card chrome (the brand's `--radius` value). |

| `{rounded.pill}` | 9999px | Every button — the brand's universal interactive shape. |

| `{rounded.full}` | 9999px | Circular icon containers. |

Components

Buttons

**`button-primary`** — the rare white-filled pill (used on a single Sign Up CTA).

**`button-outline-on-dark`** — the canonical white-outline pill, used for every non-primary CTA.

**`button-outline-sm`** — the smaller outline pill used in card-cluster CTAs.

Cards & Containers

**`card-content`** — the default content card.

**`card-feature-product`** — the product-feature card (Grok / Voice / API).

Inputs & Forms

**`text-input`** — the standard text input on dark.

Navigation

**`nav-bar`** — the sticky top nav.

**`nav-link`** — link items inside nav.

**`footer`** — the footer band.

Signature Components

**`hero-band`** — the dark hero with massive display headline.

**`content-band`** — the standard content section.

**`eyebrow-mono`** — the uppercase tracked GeistMono label above every section headline.

**`divider-hairline`** — the 1 px line between section bands.

Examples (illustrative)

> Auto-derived kit-mirror demonstration surfaces (`scripts/derive-examples-block.mjs`). Each `ex-*` entry references brand-native primitives so downstream consumers (`/preview-design`, `/generate-kit`) re-skin the same 10 surfaces consistently. `TO_FILL` markers indicate missing primitives — resolve in the LLM judgment pass.

**`ex-pricing-tier`** — Default Pricing tier card. Re-uses feature-card chrome with brand canvas-soft surface.

**`ex-pricing-tier-featured`** — Featured/highlighted tier — polarity-flipped surface (dark fill + light text in light mode, light fill + dark text in dark mode).

**`ex-product-selector`** — What's Included summary card — re-purposed for SaaS / B2B verticals (NOT a literal product gallery).

**`ex-cart-drawer`** — Subscription summary — re-purposed for SaaS / B2B (line items per add-on, not literal cart).

**`ex-app-shell-row`** — Sidebar nav row inside the App Shell example. Active state uses brand primary as the indicator.

**`ex-data-table-cell`** — Default data-table th + td chrome. Header uses mono-caps eyebrow typography; body uses body-sm.

**`ex-auth-form-card`** — Sign-in / sign-up card. Re-uses feature-card chrome with text-input primitives inside.

**`ex-modal-card`** — Modal dialog surface — same chrome as feature-card with elevated shadow.

**`ex-empty-state-card`** — Empty-state illustration frame.

**`ex-toast`** — Toast notification surface — feature-card shape + medium shadow.

Do's and Don'ts

Do

Don't