Sitepeel
Headless UI website (headlessui.com) as measured on November 29, 2026

UI and animation libraries · DESIGN.md · measured November 29, 2026

Headless UI design system

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.

  • #000000
  • #FFFFFF
  • #74D4FF
Download DESIGN.md

From headlessui.com ↗ · 96 elements at 1440×900 and 390×844 Independent analysis, not affiliated with Headless UI

Headless UI color palette

6 colors with hex codes, grouped by where each one is used on the page.

Surfaces

Near Black#000000backgroundPage background · 1×
White 10%#FFFFFF1AoverlayTranslucent fill for cards and controls · 1×
Near Black 80%#000000CCoverlay-strongStronger translucent fill · 1×

Text

White#FFFFFFon-surface · --tw-ring-offset-colorPrimary text and headings · 2×
Near Black#000000on-primaryText and icons on primary

Accents

Light Cyan#74D4FFprimaryBrand color in the logo · 2×

Headless UI fonts and type scale

2 families.

AaInter varWeights 400, 600Inter var, sans-serif
Aaui-monospaceMonospace · Weights 600ui-monospace, SFMono-Regular, Menlo, Monaco
headline-displayPage title (h1)Headless UI48px · 600 · 1.25 · -0.025em
mobile 24px
label-mdButtons, navigation and labelsThe quick brown fox jumps over the lazy dog16px · 400 · 1.5
codeCode and technical valuesconst ready = true;12px · 600 · 1.33 · 0.1em

Contrast

Text on #000000

AaAAA21.0:1

Spacing

No strict grid · 73% are multiples of 4px

xs2px
sm8px
md12px
lg24px
xl48px
gutter32px
section48px
margin24px

Breakpoints: 450px

Shapes

Corner radii, most used first.

sm16px · 4×
md40px · 4×

Depth

Flat: no shadows measured.

Headless UI UI components

Rebuilt from the measured CSS. Buttons from other sites

v2.1
button-ghostText button

Motion

No short transitions measured

Do’s and don’ts

Rules written from the measurements, so a coding agent stays on style.

  • Use #000000 for the page.
  • Use #74D4FF as the brand accent: header, logo and key highlights.
  • Set headlines in Inter var with tight tracking (-0.025em).
  • Reuse the measured spacing steps (8px, 12px, 24px).
  • Use 16px corners on most elements; larger surfaces also use 40px.
  • Add drop shadows for depth; use borders and contrast.
  • Introduce new font families beyond Inter var and ui-monospace.
  • Use #74D4FF for large backgrounds or body text.
Headless UI DESIGN.md126 lines

Fonts

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.

  • AaInter var · 400, 600
  • Aaui-monospace · 600
Find every font on headlessui.com with Font finder →

Colors

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 blackrgb(0, 0, 0) · hsl(0, 0%, 0%)
  • #FFFFFF whitergb(255, 255, 255) · hsl(0, 0%, 100%)
  • #74D4FF light cyanrgb(116, 212, 255) · hsl(199, 100%, 73%)
Get headlessui.com’s palette as CSS or Tailwind with Colors →

Tech stack

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
Check headlessui.com live with Tech stack →

What you can build with it

Landing pages, pricing tables, dashboards: your AI coding agent builds them in this style, with these colors, fonts, spacing and buttons instead of its defaults.

Download DESIGN.md, put it in your project’s root folder, then ask your agent for a page.

Prompt · DESIGN.md attached

Build a landing page for my product. Follow for every color, font, spacing value, corner and button.

Need a page behind a login?

The DESIGN.md generator Chrome extension makes one from any page you have open, including dashboards and pages behind a login.

See the Chrome extension

FAQ

Headless UI design system questions

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.