Sitepeel
Heroicons website (heroicons.com) as measured on November 4, 2026

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

Heroicons design system

Heroicons’s website (heroicons.com) uses the Inter var font and #A78BFA as its main color on a white background. Measured by Sitepeel on November 4, 2026.

  • #FFFFFF
  • #F8FAFC
  • #0F172A
  • #A78BFA
Download DESIGN.md

From heroicons.com ↗ · 313 elements at 1440×900 and 390×844 Independent analysis, not affiliated with Heroicons

Heroicons color palette

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

Surfaces

White#FFFFFFbackground · --tw-ring-offset-colorPage background · 1×
Snow#F8FAFCsurface-container-lowRaised areas one step from the page · 1×
Cool Snow#F1F5F9surface-containerCards and panels · 1×

Text

Deep Blue#0F172Aon-surfacePrimary text and headings · 8×
Blue#64748Bon-surface-variantSecondary text · 8×
Near Black#000000on-primaryText and icons on primary

Accents

Light Violet#A78BFAprimaryBrand color in the header · 1×
Violet#8B5CF6secondaryAccent in the logo · 2×

Borders

Dark Blue 10%#3341551AoutlineBorders and dividers · 1×
Blue 20%#94A3B833outline-variantSecondary dividers · 1×

Heroicons fonts and type scale

One family carries the whole interface.

AaInter varWeights 400, 600, 800Inter var, ui-sans-serif, system-ui, sans-serif
headline-displayPage title (h1)Heroicons36px · 800 · 1.11 · -0.025em
mobile 28px
body-mdBody textThe quick brown fox jumps over the lazy dog13px · 400 · 1.85
label-mdButtons, navigation and labelsThe quick brown fox jumps over the lazy dog16px · 400 · 1.5
label-smSmall labels and badgesThe quick brown fox jumps over the lazy dog13px · 600 · 1.85

Contrast

Text on #FFFFFF

AaAAA17.8:1
AaAA4.7:1

Spacing

No strict grid · 69% are multiples of 4px

xs4px
sm6px
md12px
lg24px
xl40px
gutter12px
section80px

Breakpoints: 480px 640px 768px 1024px

Shapes

Corner radii, most used first.

md12px · 368×
sm8px · 16×
full9999px · 4×

Depth

Inset

Heroicons UI components

Rebuilt from the measured CSS.

Outline
button-outlineOutlined button
v2.1.5
button-ghostOutlined button
Search all icons...
input-fieldInput field
Inline link
linkInline link

Motion

Interface transitions

0.5s0.15s0.2s
cubic-bezier(0.4, 0, 0.2, 1)

Do’s and don’ts

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

  • Use #FFFFFF for the page and lift surfaces in small steps: #F8FAFC, #F1F5F9.
  • Keep text in 2 levels: #0F172A, #64748B.
  • Use #A78BFA as the brand accent: header, logo and key highlights.
  • Set headlines in Inter var with tight tracking (-0.025em).
  • Reuse the measured spacing steps (6px, 12px, 24px).
  • Use 12px corners on most elements; larger surfaces also use 8px.
  • Add drop shadows for depth; use hairline rings and tonal surfaces.
  • Introduce new font families beyond Inter var.
  • Use #A78BFA for large backgrounds or body text.
  • Make interface transitions slower than 0.5s.
Heroicons DESIGN.md167 lines

Fonts

What font does Heroicons use?

Heroicons uses Inter var (weights 400, 600 and 800) on heroicons.com. Page titles are 36px at weight 800 (28px on phones) and body text is 13px. Measured on November 4, 2026.

  • AaInter var · 400, 600, 800
Find every font on heroicons.com with Font finder →

Colors

Heroicons colors: palette and hex codes

Heroicons’s main colors are #FFFFFF (white) for the background, #0F172A (deep blue) for text and #A78BFA (light violet) as the main accent, with #8B5CF6 (violet) as another accent. Measured on November 4, 2026.

  • #FFFFFF · white
  • #0F172A · deep blue
  • #64748B · blue
  • #F8FAFC · snow
  • #F1F5F9 · cool snow
  • #A78BFA · light violet
  • #000000 · near black
  • #8B5CF6 · violet
Get heroicons.com’s palette as CSS or Tailwind with Colors →

Tech stack

What is Heroicons built with?

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

JavaScript framework
Next.js 12.2.5, React 18.2.0
Hosting & CDN
Cloudflare, Vercel
Analytics
Cloudflare Web Analytics
UI & CSS
Headless UI, Tailwind CSS 3.x
Check heroicons.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

Heroicons design system questions

What font does Heroicons use?

Heroicons’s website uses Inter var (weights 400, 600 and 800). Page titles are 36px at weight 800 (28px on phones) and body text is 13px. Measured on November 4, 2026.

What are the Heroicons colors and hex codes?

On heroicons.com: #FFFFFF (white) for the background, #0F172A (deep blue) for text and #A78BFA (light violet) as the main accent, with #8B5CF6 (violet) as another accent. The color palette above lists all 10 colors with their hex codes and where each one is used.

What is the Heroicons design system?

The design system on this page is heroicons.com’s, as measured on November 4, 2026: Inter var type, #A78BFA as the main color and 12px corners, written down as a DESIGN.md. It is not Heroicons’s own documentation.

What is Heroicons built with?

Heroicons’s website (heroicons.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 4, 2026.

What is the Heroicons DESIGN.md?

A plain-text file with Heroicons’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 Heroicons’s official design system?

No. Sitepeel measured it from heroicons.com’s public page on November 4, 2026. It is an independent analysis, not made or approved by Heroicons.

Can I use Heroicons’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 Heroicons’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.