Sistema de diseño de headspace.com

Mental Health App for Meditation & Sleep - Headspace

headspace.commodo claro3425 elementos medidosmedido hace 4 horas
Visitar headspace.com

headspace.com usa Headspace Apercu para la tipografía y #0061ef como color de acento. Medido el 28 de septiembre de 2026.

Úsalo con tu IAtambién en el zip como README.md y PROMPT.md

  1. .
  2. Descomprime el paquete en tu proyecto para que la carpeta quede en design/headspace.com-design-pack/.
  3. Opcional: copia también la carpeta a .claude/skills/headspace-com-design/. El SKILL.md que hay dentro hace que Claude Code cargue el paquete por sí solo cada vez que crea interfaces.
  4. Pega el prompt de abajo en Claude Code y completa lo que quieres construir.
Prompt

El prompt se queda en inglés: nombra los archivos del paquete, y tu IA lo lee en cualquier idioma.

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.

Colores7 tokens

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

Espaciadounidad de 4px

4812162024324864
Ancho del contenido
1344px
Breakpoints
550, 768, 896, 1024, 1440px

Radio

botón 32pxcampo 8pxtarjeta 0pximagen 0px

Sombras2

1
2

Tipografía1 familia

Headspace Apercuautoalojada, sustituta: 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
Tamaños en uso
12141618202432406472

Componentes

Try for freeTry for $0Correo electrónico
botón primary
texto #ffffff sobre #0061ef, r 32px, h 48px, 14px/700
botón secondary
texto #ffffff sobre #2d2c2b, r 32px, h 48px, 16px/700
campo
h 58px, 1px solid #d2d5de, r 8px
tarjeta
#0061ef, 2px solid transparent, r 0px, sombra
enlace
#2d2c2b, sin subrayado, 400
cabecera
80px, static, 12 enlaces a 16px
formularios
1 forms, 13 inputs. Required markers: 0. Help texts: 0. Submit button is content-width. Label placement: above (3), floating (1).
iconos
Icons: 39 inline SVGs, filled, sizes 16px/24px/58px/18px, stroke 9/10/6.943.

Interacción y movimiento

  • button primary "Try for free": background #0061ef → #0040ea
  • button secondary "Try for $0": background #2d2c2b → #141313
  • nav link "For You": sin cambio en hover
  • body link "Sword is acquiring Headspace to shape th": sin cambio en hover
  • foco button primary: outline 2px solid rgb(0, 64, 234), offset 1px
  • foco body link: outline 1px auto rgb(16, 16, 16), offset 1px
  • tooltips: 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.
  • menús: 1 aria-haspopup triggers exist; none opened on hover (click-to-open menus).
  • movimiento: 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).

Tema

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

Responsive1440 / 1024 / 768 / 390 px

headspace.com a 1440 píxeles
1440px
headspace.com a 1024 píxeles
1024px
headspace.com a 768 píxeles
768px
headspace.com a 390 píxeles
390px
ViewportContenidoGutterCuerpoH1CabeceraHeroCuadrículasBotones
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.

Archivos del paquete14 archivos

DESIGN.md
Formato DESIGN.md de Google; lo leen Stitch, Claude Code y Cursor
9,1 kB
tokens.json
Design Tokens W3C (DTCG) para Style Dictionary y plugins de Figma
5,4 kB
tokens.css
Los mismos valores como propiedades personalizadas de CSS
1,4 kB
tailwind.css
Bloque @theme de Tailwind v4
766 B
SKILL.md
Skill de Claude Code / Cursor que ordena el paquete para el agente
2,1 kB
BEHAVIOR.md
Hover, foco, tooltips, menús, movimiento, scroll, tablas, formularios, texto, responsive, modo oscuro, stack
8 kB
evidence.json
Mediciones en bruto detrás de ambos documentos (cada viewport, sonda y regla)
42 kB
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 imágenes
DESIGN.md228 líneas
---
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.