Make your AI a shadcn expert

Sanity Design System

Sanity's design system as a DESIGN.md file.

About Sanity DESIGN.md

Curated by Dov AzencotUpdated Source sanity.io

  • Developer Tools & IDEs
  • Documentation & Knowledge

Sanity's website behaves like a control room for structured content. The canvas is #0b0b0b — near-black, achromatic, with no warm or cool tint — and it stays that way across every surface. There is no light mode in mainline marketing, and the dark canvas is treated as the natural identity rather than a toggle. Type runs waldenburgNormal, a custom geometric sans with aggressive negative letter-spacing at display sizes (-2.88px at 72px, -4.48px at 112px), paired with IBM Plex Mono for code and uppercase technical labels. The dual-register voice — editorial display next to system-readout mono — signals the audience: developers and content engineers who expect precision.

This page packages the spec into a single DESIGN.md file built on the Google Labs format. Inside: 29 color tokens grouped into brand, accent, surface, neutral, semantic, and border roles; 16 type styles spanning a 112px hero down to 10px code micro-labels; 9 spacing tokens on an 8px base unit; a 5-step radius scale that jumps from 12px straight to a 99999px pill; and 29 components covering buttons, cards, inputs, navigation, and badges. Every color is quoted as a hex, every font size is a number, every component has a typography and radius token attached.

Drop the file into Claude, Cursor, or GitHub Copilot and the agent will reproduce Sanity's discipline rather than a generic dark-mode shadcn theme — pure achromatic grays, the coral-red #f36458 CTA, the universal #0052ef hover, and the pill-or-3px-radius binary. The system is worth studying because it commits: no shadows, no warm grays, no second accent, no dark-mode opt-in. That commitment is the design.

What makes it distinct

  1. Near-black canvas#0b0b0b is the primary identity, not a dark-mode toggle, with no warm or cool undertone
  2. Extreme negative trackingdisplay headings at 72px+ run -2.88px to -4.48px letter-spacing for a precision-engineered voice
  3. Universal blue hoverevery interactive element shifts to electric blue #0052ef on hover, a single activation signal
  4. Colorimetric depthelevation through surface color shifts (#0b0b0b → #212121 → #353535), never offset shadows
  5. Radius cliffcorners jump from 12px (large card) directly to 99999px (pill); nothing in between

Live at sanity.io

A snapshot of the brand in production. Hover the frame to scroll the page; click to visit.

Screenshot of Sanity's website at sanity.iosanity.io

Explore Sanity

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.

Semantic

Status, errors, success, inline links.

Other

Specialty colors.

Sanity design system FAQ

Common questions about Sanity's tokens, components, and how to use this DESIGN.md in your project.

Specs, directories, and component libraries that pair with this design system.

Use Sanity in your project

One machine-readable file. Drop it into Claude, Cursor, or any AI tool that reads DESIGN.md.

Download DESIGN.md