Design system headspace.com

Mental Health App for Meditation & Sleep - Headspace

headspace.commode clair3 425 éléments mesurésmesuré il y a 4 heures
Visiter headspace.com

headspace.com utilise Headspace Apercu pour la typographie et #0061ef comme couleur d’accent. Mesuré le 28 septembre 2026.

Utilisez-le avec votre IAaussi dans le zip sous README.md et PROMPT.md

  1. .
  2. Décompressez le pack dans votre projet pour que le dossier se trouve dans design/headspace.com-design-pack/.
  3. Facultatif : copiez aussi le dossier dans .claude/skills/headspace-com-design/. Le SKILL.md qu’il contient fait charger le pack automatiquement à Claude Code chaque fois qu’il construit une interface.
  4. Collez le prompt ci-dessous dans Claude Code et précisez ce que vous voulez construire.
Prompt

Le prompt reste en anglais : il nomme les fichiers du pack, et votre IA le lit dans n’importe quelle langue.

Use the design pack in `design/headspace.com-design-pack/` as the source of truth for how the UI looks and behaves. It was measured from https://www.headspace.com/.

1. Read DESIGN.md (colours, type, spacing, radii, shadows, components) and BEHAVIOR.md (hover, focus, tooltips, menus, motion, scrolling, forms, responsive rules) before writing any code.
2. Look at every image in `design/headspace.com-design-pack/screenshots/` and match the composition, density, whitespace and image treatment. Tokens do not carry those; the screenshots do.
3. Style everything with `design/headspace.com-design-pack/tokens.css` (or `tailwind.css` if this project uses Tailwind v4). Do not invent colours, radii, shadows or font sizes that are not in the pack.
4. Load the fonts named in DESIGN.md. Where a font is not freely available, use the stand-in it names at the same sizes and weights.
5. Match the breakpoints and hover, focus and motion rules in BEHAVIOR.md. The site has no dark mode, so do not add one.

Now build: [describe the page or app you want]

When you are done, compare the result with the screenshots at desktop and phone widths, fix the biggest visual difference first, and repeat.

Couleurs7 tokens

background
#f9f4f2
foreground
#2d2c2b
muted-foreground
#ffffff
primary
#0061ef
on-primary
#ffffff
secondary
#ffce00
border
#e2ded9

Espacementsunité de 4 px

4812162024324864
Largeur du contenu
1344px
Points de rupture
550, 768, 896, 1024, 1440px

Arrondis

bouton 32pxchamp 8pxcarte 0pximage 0px

Ombres2

1
2

Typographie1 famille

Headspace Apercuauto-hébergée, substitut Figtree
headline-displayQuick brown fox48px / 700 / lh 1.4
headline-lgQuick brown fox64px / 700 / lh 1 / -1.92px
headline-mdQuick brown fox40px / 700 / lh 1.15 / -1.2px
body-mdThe quick brown fox jumps over the lazy dog20px / 400 / lh 1.5 / -0.2px
label-mdThe quick brown fox jumps over the lazy dog12px / 500 / lh 1.5 / -0.14px
buttonThe quick brown fox jumps over the lazy dog18px / 700 / lh 1.2 / -0.54px
Tailles utilisées
12141618202432406472

Composants

Try for freeTry for $0Adresse e-mail
bouton primary
texte #ffffff sur #0061ef, r 32px, h 48px, 14px/700
bouton secondary
texte #ffffff sur #2d2c2b, r 32px, h 48px, 16px/700
champ
h 58px, 1px solid #d2d5de, r 8px
carte
#0061ef, 2px solid transparent, r 0px, ombre
lien
#2d2c2b, sans soulignement, 400
en-tête
80px, static, 12 liens à 16 px
formulaires
1 forms, 13 inputs. Required markers: 0. Help texts: 0. Submit button is content-width. Label placement: above (3), floating (1).
icônes
Icons: 39 inline SVGs, filled, sizes 16px/24px/58px/18px, stroke 9/10/6.943.

Interactions et animations

  • button primary "Try for free": background #0061ef → #0040ea
  • button secondary "Try for $0": background #2d2c2b → #141313
  • nav link "For You": aucun changement au survol
  • body link "Sword is acquiring Headspace to shape th": aucun changement au survol
  • focus button primary: outline 2px solid rgb(0, 64, 234), offset 1px
  • focus body link: outline 1px auto rgb(16, 16, 16), offset 1px
  • infobulles: Tooltip triggers exist (2 × aria-describedby, 2 × title) but none opened on hover in the first viewport; title attributes fall back to the browser's native tooltip.
  • menus: 1 aria-haspopup triggers exist; none opened on hover (click-to-open menus).
  • animations: 182 elements carry transitions; typical 0.15s with cubic-bezier(0.32, 0.94, 0.6, 1), mostly on background-color, transform, color. 1 running keyframe animations (onetrust-fade-in 0.4s 1). 47 sizable elements sit at opacity 0 before scrolling: scroll-reveal animations are in use (reveal on enter, fade + rise is the usual recipe).

Thème

No dark mode responded to prefers-color-scheme, a theme toggle, or a root class/attribute.

Responsive1440 / 1024 / 768 / 390 px

headspace.com à 1440 pixels
1440px
headspace.com à 1024 pixels
1024px
headspace.com à 768 pixels
768px
headspace.com à 390 pixels
390px
ViewportContenuGouttièreTexteH1En-têteHeroGrillesBoutons
desktop 14401344px0px16px80px, 9 links, 1 CTA2→1 col; 2→2 col; 2→1 colcontent-width
laptop 1024928px0px16px80px, 9 links, 1 CTA2→1 col; 2→2 col; 2→1 colcontent-width
tablet 768672px0px16px80px, hamburger (icon), 1 CTA2→2 col; 2→1 col; 2→1 colcontent-width
phone 390342px0px16px64px, hamburger (icon), 1 CTA2→1 col; 2→1 col; 6→1 colcontent-width
  • Nav collapses to a hamburger by 390px (first seen at 768px); header 80px → 64px.
  • Card grids: 3 columns → 1 column on phones (gap 20px → 12px).
  • Body text stays 16px at every width.
  • Phone side gutter 0px.
  • Section top padding 24px → 24px.

Fichiers du pack14 fichiers

DESIGN.md
Format DESIGN.md de Google ; Stitch, Claude Code et Cursor le lisent
9,1 ko
tokens.json
Design tokens W3C (DTCG) pour Style Dictionary et les plugins Figma
5,4 ko
tokens.css
Les mêmes valeurs en propriétés personnalisées CSS
1,4 ko
tailwind.css
Bloc @theme Tailwind v4
766 o
SKILL.md
Skill Claude Code / Cursor qui ordonne la lecture du pack pour l’agent
2,1 ko
BEHAVIOR.md
Survol, focus, infobulles, menus, animations, défilement, tableaux, formulaires, texte, responsive, mode sombre, stack
8 ko
evidence.json
Mesures brutes derrière les deux documents (chaque viewport, sonde et règle)
42 ko
screenshots/
desktop-1440-fold.png, desktop-1440-full.jpg, laptop-1024-fold.png, tablet-768-fold.png, phone-390-fold.png, phone-390-full.jpg
6 images
DESIGN.md228 lignes
---
version: alpha
name: "headspace.com"
description: "Design system extracted from https://www.headspace.com/ on 2026-09-28"
colors:
  background: "#f9f4f2"
  foreground: "#2d2c2b"
  muted-foreground: "#ffffff"
  primary: "#0061ef"
  on-primary: "#ffffff"
  secondary: "#ffce00"
  border: "#e2ded9"
typography:
  headline-display:
    fontFamily: "Headspace Apercu"
    fontSize: "48px"
    fontWeight: 700
    lineHeight: "1.4"
  headline-lg:
    fontFamily: "Headspace Apercu"
    fontSize: "64px"
    fontWeight: 700
    lineHeight: "1"
    letterSpacing: "-1.92px"
  headline-md:
    fontFamily: "Headspace Apercu"
    fontSize: "40px"
    fontWeight: 700
    lineHeight: "1.15"
    letterSpacing: "-1.2px"
  body-md:
    fontFamily: "Headspace Apercu"
    fontSize: "20px"
    fontWeight: 400
    lineHeight: "1.5"
    letterSpacing: "-0.2px"
  label-md:
    fontFamily: "Headspace Apercu"
    fontSize: "12px"
    fontWeight: 500
    lineHeight: "1.5"
    letterSpacing: "-0.14px"
  button:
    fontFamily: "Headspace Apercu"
    fontSize: "18px"
    fontWeight: 700
    lineHeight: "1.2"
    letterSpacing: "-0.54px"
rounded:
  none: "0px"
  2xl: "32px"
  md: "8px"
  xl: "16px"
  full: "9999px"
spacing:
  unit: "4px"
  1: "4px"
  2: "8px"
  3: "12px"
  4: "16px"
  5: "20px"
  6: "24px"
  7: "32px"
  8: "48px"
  9: "64px"
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.button}"
    rounded: "32px"
    height: "48px"
    padding: "14.3px 24px"
  button-secondary:
    backgroundColor: "#2d2c2b"
    textColor: "#ffffff"
    typography: "{typography.button}"
    rounded: "32px"
    height: "48px"
    padding: "14px 20px"
  input:
    backgroundColor: "#ffffff"
    rounded: "8px"
    height: "58px"
  card:
    backgroundColor: "#0061ef"
    rounded: "0px"
    padding: "56px"
---

# headspace.com

## Overview

Mental Health App for Meditation & Sleep - Headspace: Live a healthier, happier, more well-rested life in just a few minutes a day. Get the science-backed mental health app for every moment. Try for free.

Soft, well-rounded controls, layered shadows for depth, confident display type at 48px / 700, a single blue accent on neutrals. The site ships in light mode by default. Measured from 3425 rendered elements at 1440px wide on 2026-09-28.

Reference screenshots live beside this file; look at them before writing any layout, they carry the composition, density and image treatment that tokens cannot:

- `screenshots/desktop-1440-fold.png`: Desktop 1440, above the fold
- `screenshots/desktop-1440-full.jpg`: Desktop 1440, full page
- `screenshots/laptop-1024-fold.png`: Laptop 1024, above the fold
- `screenshots/tablet-768-fold.png`: Tablet 768, above the fold
- `screenshots/phone-390-fold.png`: Phone 390, above the fold
- `screenshots/phone-390-full.jpg`: Phone 390, full page

## Colors

| Token | Value | Use |
| --- | --- | --- |
| background | `#f9f4f2` | Page background |
| foreground | `#2d2c2b` | Primary text |
| muted-foreground | `#ffffff` | Secondary text, captions |
| primary | `#0061ef` | Accent: primary buttons, links, focus |
| on-primary | `#ffffff` | Text on the accent |
| secondary | `#ffce00` | Secondary accent (yellow) |
| border | `#e2ded9` | Hairlines, dividers, input borders |

Full painted palette by area (largest first): `#f9f4f2`, `#ffce00`, `#0061ef`, `#00a4ff`, `#ffa1cc`, `#3b197f`, `#02873e`, `#44423f`.

The accent `#0061ef` is used sparingly: primary buttons, links and focus rings. Everything else stays neutral.

## Typography

- **Headspace Apercu** for h2, h3, body, label, button: self-hosted webfont, not freely available; use **Figtree** from Google Fonts as the stand-in.

| Role | Family | Size | Weight | Line height | Tracking |
| --- | --- | --- | --- | --- | --- |
| headline-display | Headspace Apercu | 48px | 700 | 1.4 | normal |
| headline-lg | Headspace Apercu | 64px | 700 | 1 | -1.92px |
| headline-md | Headspace Apercu | 40px | 700 | 1.15 | -1.2px |
| body-md | Headspace Apercu | 20px | 400 | 1.5 | -0.2px |
| label-md | Headspace Apercu | 12px | 500 | 1.5 | -0.14px |
| button | Headspace Apercu | 18px | 700 | 1.2 | -0.54px |

Type scale in use: 12px, 14px, 16px, 18px, 20px, 24px, 32px, 40px, 64px, 72px. Base body size 20px.

## Layout

- Spacing unit: 4px. Scale in use: 4, 8, 12, 16, 20, 24, 32, 48, 64 (px).
- Flex and grid gaps: 4, 8, 12, 16, 20, 24, 28, 32 px.
- Content max width: 1344px, centred.
- Breakpoints: 550px, 768px, 896px, 1024px, 1440px.
- Header: 80px tall, static, background `rgb(255, 255, 255)`; 12 nav links at 16px / 400 (For You · Meditation · Online therapy · Mindfulness · Sleep · Mental health coaching · Ebb AI companion · Anxiety).

## Elevation & Depth

Shadows in use, most common first:

- shadow-1: `rgba(65, 61, 69, 0.2) 0px 2px 0px 0px`
- shadow-2: `rgba(20, 19, 19, 0.2) 0px 3.23px 6.45px 0px`

## Shapes

- Buttons: 32px
- Inputs: 8px
- Cards and panels: 0px
- Images and media: 0px
- Radius scale: none 0px, 2xl 32px, md 8px, xl 16px, full 9999px

## Components

### Button, primary

Background `#0061ef`, text `#ffffff`, border 2px solid transparent, radius 32px, height 48px, padding 14.3px 24px, 14px / 700, shadow `rgba(65, 61, 69, 0.2) 0px 2px 0px 0px`. Sample label: "Try for free".

### Button, secondary

Background `#2d2c2b`, text `#ffffff`, border 2px solid transparent, radius 32px, height 48px, padding 14px 20px, 16px / 700. Sample label: "Try for $0".

### Input

Height 58px, background `#ffffff`, border 1px solid #d2d5de, radius 8px, 16px text, padding 24px 16px.

### Card

Background `#0061ef`, border 2px solid transparent, radius 112px, padding 56px, shadow `rgba(20, 19, 19, 0.2) 0px 3.23px 6.45px 0px`. Typical size about 750×188px.

### Link

Colour `#2d2c2b`, no underline at rest, weight 400.

## Dark Mode

No dark mode responded to prefers-color-scheme, a theme toggle, or a root class/attribute.

## Responsive Behavior

| Viewport | Content width | Gutter | Body | H1 | Header | Hero | Grids | Buttons |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| desktop 1440px | 1344px | 0px | 16px |  | 80px, 9 links, 1 CTA |  | 2→1 col; 2→2 col; 2→1 col | content-width |
| laptop 1024px | 928px | 0px | 16px |  | 80px, 9 links, 1 CTA |  | 2→1 col; 2→2 col; 2→1 col | content-width |
| tablet 768px | 672px | 0px | 16px |  | 80px, hamburger (icon), 1 CTA |  | 2→2 col; 2→1 col; 2→1 col | content-width |
| phone 390px | 342px | 0px | 16px |  | 64px, hamburger (icon), 1 CTA |  | 2→1 col; 2→1 col; 6→1 col | content-width |

- Nav collapses to a hamburger by 390px (first seen at 768px); header 80px → 64px.
- Card grids: 3 columns → 1 column on phones (gap 20px → 12px).
- Body text stays 16px at every width.
- Phone side gutter 0px.
- Section top padding 24px → 24px.

## Interaction & Motion

182 elements carry transitions; typical 0.15s with cubic-bezier(0.32, 0.94, 0.6, 1), mostly on background-color, transform, color. 1 running keyframe animations (onetrust-fade-in 0.4s 1).

- Hover on button-primary ("Try for free"): background #0061ef → #0040ea; cursor pointer; transition color, background-color, border-color, box-shadow, transform | 0.15s, 0.15s, 0.15s, 0.15s, 0.15s | cubic-bezier(0.32, 0.94, 0.6, 1), cubic-bezier(0.32, 0.94, 0.6, 1), cubic-bezier(0.32, 0.94, 0.6, 1), cubic-bezier(0.32, 0.94, 0.6, 1), cubic-bezier(0.32, 0.94, 0.6, 1) | delay 0s, 0s, 0s, 0s, 0s.
- Hover on button-secondary ("Try for $0"): background #2d2c2b → #141313; cursor pointer; transition color, background-color, border-color, box-shadow, transform | 0.15s, 0.15s, 0.15s, 0.15s, 0.15s | cubic-bezier(0.32, 0.94, 0.6, 1), cubic-bezier(0.32, 0.94, 0.6, 1), cubic-bezier(0.32, 0.94, 0.6, 1), cubic-bezier(0.32, 0.94, 0.6, 1), cubic-bezier(0.32, 0.94, 0.6, 1) | delay 0s, 0s, 0s, 0s, 0s.
- Hover on nav-link ("For You"): no visible change; cursor pointer.
- Hover on body-link ("Sword is acquiring Headspace to shape th"): no visible change; cursor pointer.
- Focus on button-primary: outline 2px solid rgb(0, 64, 234), offset 1px.
- Focus on body-link: outline 1px auto rgb(16, 16, 16), offset 1px.
- Tooltip triggers exist (2 × aria-describedby, 2 × title) but none opened on hover in the first viewport; title attributes fall back to the browser's native tooltip.
- 1 aria-haspopup triggers exist; none opened on hover (click-to-open menus).
- 47 sizable elements sit at opacity 0 before scrolling: scroll-reveal animations are in use (reveal on enter, fade + rise is the usual recipe).

Full detail (every overlay, table, form, scroll and text rule measured) is in `BEHAVIOR.md`; raw evidence in `evidence.json`.

## Do's and Don'ts

- Do use 4px multiples for every padding, margin and gap; the site does not use odd values.
- Do reserve `#0061ef` for actions and focus; never paint large areas with it.
- Do keep body text at 20px in Headspace Apercu.
- Do match corner radii per element class (buttons 32px, cards 0px); do not pick one radius for everything.
- Do use the measured shadows above; do not invent heavier ones.
- Don't substitute a different accent hue or introduce gradients that are not listed above.
- Don't rebuild from the tokens alone; open the screenshots for composition, density and image treatment.