# Headless UI design system

> Headless UI design system measured from headlessui.com: Inter var font, #74D4FF primary on #000000, 6 color hex codes, type scale, spacing and a free DESIGN.md.

Canonical page: https://sitepeel.dev/design-md/headlessui.com/

Headless UI’s website (headlessui.com) uses the Inter var font and #74D4FF as its main color on a black background. Measured by Sitepeel on November 29, 2026.

## What font does Headless UI use?

Headless UI uses Inter var (weights 400 and 600) on headlessui.com. Page titles are 48px at weight 600 (24px on phones). Measured on November 29, 2026.

- Inter var (weights 400, 600)
- ui-monospace (weights 600)

## Headless UI colors: palette and hex codes

Headless UI’s main colors are #000000 (near black) for the background, #FFFFFF (white) for text and #74D4FF (light cyan) as the main accent. Measured on November 29, 2026.

- #000000: near black (rgb(0, 0, 0), hsl(0, 0%, 0%))
- #FFFFFF: white (rgb(255, 255, 255), hsl(0, 0%, 100%))
- #74D4FF: light cyan (rgb(116, 212, 255), hsl(199, 100%, 73%))

## What is Headless UI built with?

Headless UI’s website (headlessui.com) is built with Next.js, React, Headless UI, Tailwind CSS and Cloudflare. Measured on November 29, 2026.

- JavaScript framework: Next.js 14.2.35, React 18.3.1
- Hosting & CDN: Cloudflare, Vercel
- Analytics: Cloudflare Web Analytics
- UI & CSS: Headless UI, Tailwind CSS 4.x

## Questions and answers

### What font does Headless UI use?

Headless UI’s website uses Inter var (weights 400 and 600). Page titles are 48px at weight 600 (24px on phones). Measured on November 29, 2026.

### What are the Headless UI colors and hex codes?

On headlessui.com: #000000 (near black) for the background, #FFFFFF (white) for text and #74D4FF (light cyan) as the main accent. The color palette above lists all 6 colors with their hex codes and where each one is used.

### What is the Headless UI design system?

The design system on this page is headlessui.com’s, as measured on November 29, 2026: Inter var type, #74D4FF as the main color and 16px corners, written down as a DESIGN.md. It is not Headless UI’s own documentation.

### What is Headless UI built with?

Headless UI’s website (headlessui.com) is built with Next.js, React, Headless UI, Tailwind CSS and Cloudflare. The full tech stack Sitepeel found: Next.js, React, Cloudflare, Vercel, Cloudflare Web Analytics, Headless UI and Tailwind CSS. Measured on November 29, 2026.

### What is the Headless UI DESIGN.md?

A plain-text file with Headless UI’s measured colors, type, spacing, corners and components as tokens, plus short rules, in the DESIGN.md format Google published with Stitch. Your AI coding agent reads it and builds in this style. More about DESIGN.md.

### How do I use it with Claude Code or Cursor?

Download the file and put it in your project’s root folder, then ask your agent to follow DESIGN.md. Step-by-step guides: Claude Code, Cursor, Codex, GitHub Copilot.

### Is this Headless UI’s official design system?

No. Sitepeel measured it from headlessui.com’s public page on November 29, 2026. It is an independent analysis, not made or approved by Headless UI.

### Can I use Headless UI’s style in my own product?

Use it to learn, prototype and compare. For a real product, make the style your own, and never copy Headless UI’s logo, name, pictures or text.

### How accurate are the values?

Each value was measured on the rendered page after it fully loaded, on desktop and mobile: colors where they appear, type with tracking, spacing, corners, shadows and hover states. Sites change, so check the date at the top.

## Files

- [DESIGN.md](https://sitepeel.dev/design-md/headlessui.com/DESIGN.md): the plain file to put in your project.
- [All brand DESIGN.md files](https://sitepeel.dev/design-md/examples/index.md)

Independent analysis by Sitepeel (sitepeel.dev), not affiliated with Headless UI.

## The DESIGN.md file

```markdown
---
version: alpha
name: Headless UI
description: "Dark interface measured from headlessui.com: Inter var type, light cyan accents, flat surfaces and 16px corners."
colors:
  background: "#000000"
  surface: "#000000"
  on-surface: "#FFFFFF"
  on-background: "#FFFFFF"
  overlay: "#FFFFFF1A"
  overlay-strong: "#000000CC"
  primary: "#74D4FF"
  on-primary: "#000000"
typography:
  headline-display:
    fontFamily: Inter var
    fontSize: 48px
    fontWeight: 600
    lineHeight: 1.25
    letterSpacing: -0.025em
  label-md:
    fontFamily: Inter var
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.5
  code:
    fontFamily: ui-monospace
    fontSize: 12px
    fontWeight: 600
    lineHeight: 1.33
    letterSpacing: 0.1em
  headline-display-mobile:
    fontFamily: Inter var
    fontSize: 24px
    fontWeight: 600
    lineHeight: 1.33
    letterSpacing: -0.025em
rounded:
  sm: 16px
  md: 40px
spacing:
  xs: 2px
  sm: 8px
  md: 12px
  lg: 24px
  xl: 48px
  gutter: 32px
  section: 48px
  margin: 24px
components:
  button-ghost:
    textColor: "{colors.on-primary}"
    typography: "{typography.label-md}"
    rounded: "{rounded.sm}"
    padding: 2px 6px 2px 12px
---

# Headless UI Design System

## Overview

The interface is dark, built on **Near Black (#000000)** with **White (#FFFFFF)** text, and **Light Cyan (#74D4FF)** as the main accent.

Type is set in **Inter var**, with **ui-monospace** for code. Headlines run large with tight negative tracking; body text is compact. The surface language is flat. Corners are mostly 16px.

Measured from [headlessui.com](https://headlessui.com/) on November 29, 2026 at 1440×900 and 390×844 from 96 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 6 roles.

- **Near Black (#000000):** Page background, seen 1 time. Token `background`.
- **White (#FFFFFF):** Primary text and headings, seen 2 times. Token `on-surface`, CSS `--tw-ring-offset-color`.
- **White 10% (#FFFFFF1A):** Translucent fill for cards and controls, seen 1 time. Token `overlay`.
- **Near Black 80% (#000000CC):** Stronger translucent fill, seen 1 time. Token `overlay-strong`.
- **Light Cyan (#74D4FF):** Brand color in the logo, seen 2 times. Token `primary`.
- **Near Black (#000000):** Text and icons on primary. Token `on-primary`.

## Typography

**Inter var** and **ui-monospace** (monospace) share the interface. Fallback stack: `Inter var, sans-serif`.

- **headline-display:** Inter var 48px at weight 600, line height 1.25, tracking -0.025em (24px on mobile). Page title (h1).
- **label-md:** Inter var 16px at weight 400, line height 1.5. Buttons, navigation and labels.
- **code:** ui-monospace 12px at weight 600, line height 1.33, tracking 0.1em, uppercase. Code and technical values.

## Layout

Spacing is mostly on a 4px grid (73% of measured values), with some off-grid steps. Match the measured scale rather than rounding everything.

- **Scale:** xs 2px, sm 8px, md 12px, lg 24px, xl 48px.
- **Sections:** 48px vertical padding between major sections.
- **Gaps:** 32px is the most common gap in flex and grid layouts.
- **Page margin:** 24px on each side of full-width sections.
- **Breakpoints:** 450px.

## Elevation & Depth

The design is flat: no shadows were measured. Hierarchy comes from color contrast.

## Shapes

Most elements use 16px corners. Measured radii, most used first:

- **sm (16px):** 4 elements.
- **md (40px):** 4 elements.

## Components

Measured from the rendered page. Token values reference the tokens above.

- **button-ghost (“v2.1”):** transparent fill, #000000 text, 16px/400, 16px radius, padding 2px 6px 2px 12px.

## Do's and Don'ts

- Do use #000000 for the page.
- Do use #74D4FF as the brand accent: header, logo and key highlights.
- Do set headlines in Inter var with tight tracking (-0.025em).
- Do reuse the measured spacing steps (8px, 12px, 24px).
- Do use 16px corners on most elements; larger surfaces also use 40px.
- Don't add drop shadows for depth; use borders and contrast.
- Don't introduce new font families beyond Inter var and ui-monospace.
- Don't use #74D4FF for large backgrounds or body text.

Generated by [Sitepeel](https://sitepeel.dev/design-md/headlessui.com/), the free DESIGN.md generator (engine 2026.10.29+f0c146f7cdfd).

```
