Design system do airbnb.com
Airbnb | Vacation rentals, cabins, beach houses, & more
airbnb.com usa Airbnb Cereal VF na tipografia e #da1249 como cor de destaque. Medido em 28 de setembro de 2026.
Use com a sua IAtambém no zip como README.md e PROMPT.md
- .
- Descompacte o pacote no seu projeto para que a pasta fique em
design/airbnb.com-design-pack/. - Opcional: copie também a pasta para
.claude/skills/airbnb-com-design/. O SKILL.md dentro dela faz o Claude Code carregar o pacote sozinho sempre que criar uma interface. - Cole o prompt abaixo no Claude Code e preencha com o que você quer criar.
Prompt
O prompt fica em inglês: ele cita os arquivos do pacote, e sua IA o entende em qualquer idioma.
Use the design pack in `design/airbnb.com-design-pack/` as the source of truth for how the UI looks and behaves. It was measured from https://www.airbnb.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/airbnb.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/airbnb.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.Cores8 tokens
background
#ffffff
surface
#dddddd
surface-2
#f2f2f2
foreground
#222222
muted-foreground
#6c6c6c
primary
#da1249
on-primary
#ffffff
border
#ffffff
Espaçamentounidade de 4px
- Largura do conteúdo
- fluida
- Breakpoints
- 743, 744, 950, 1128, 1440px
Raio
botão 9999pxcampo 0pxcard 0pximagem 0px
Sombras2
1
2
Tipografia1 família
Airbnb Cereal VFhospedagem própria, substituta Inter
headline-displayQuick brown fox28px / 700 / lh 1.43
headline-lgQuick brown fox14px / 400 / lh 1.43
headline-mdQuick brown fox24px / 600 / lh 1.4
body-mdThe quick brown fox jumps over the lazy dog14px / 400 / lh 1.4
label-mdThe quick brown fox jumps over the lazy dog12px / 400 / lh 1.33
buttonThe quick brown fox jumps over the lazy dog14px / 500 / lh 1.29
Tamanhos em uso
111213142028
Componentes
Become a hostSaiba mais
- botão ghost
- texto #222222 sobre transparente sobre #ffffff, r 20px, h 40px, 14px/500
- botão secondary
- texto #222222 sobre #f2f2f2, r 9999px, h 40px, 14px/400
- link
- #222222, sem sublinhado, 400
- cabeçalho
- 96px, static, 5 links em 14px
- h1
- 28px / 700, alinhamento start, máx. 1px
- badge
- "Guest favorite": #ffffffcc on #222222, 14px/600, 26px tall, radius 14px, padding 5.5px 9.5px, border 1px #ffffff80
- formulários
- 1 forms, 1 inputs. Required markers: 0. Help texts: 3. Label placement: placeholder-only (1).
- ícones
- Icons: 62 inline SVGs, filled, sizes 24px/8px/12px/16px.
Capturas de tela1440 e 390 de largura
Interação e movimento
- button primary: sem mudança no hover
- button secondary: sem mudança no hover
- nav link "All": sem mudança no hover
- input: sem mudança no hover
- foco button primary: no visible focus style measured (may rely on :focus-visible with keyboard only)
- foco input: no visible focus style measured (may rely on :focus-visible with keyboard only)
- tooltips: Tooltip triggers exist (4 × aria-describedby, 2 × title) but none opened on hover in the first viewport; title attributes fall back to the browser's native tooltip.
- menus: Hover/click menus: below the trigger, 1352px gap, shifted left; transparent, radius 0px, padding 0px 0px, shadow none; appears instantly (no fade); stays open after the pointer leaves (click-away or hover-intent grace).
- movimento: 80 elements carry transitions; typical 0.25s with cubic-bezier(0.2, 0, 0, 1), mostly on transform, box-shadow, background-color. 1 running keyframe animations (kf-h0qfv9 0.15s 1). 14 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.
Responsivo1440 / 1024 / 768 / 390 px




| Viewport | Conteúdo | Gutter | Corpo | H1 | Cabeçalho | Hero | Grids | Botões |
|---|---|---|---|---|---|---|---|---|
| desktop 1440 | fluid | 50px | 14px | 28px, 0 lines, start | 96px, hamburger (Main navigation menu), 2 CTA | media below text | 3→3 col; 5→3 col; 2→1 col | content-width |
| laptop 1024 | fluid | 34px | 14px | 28px, 0 lines, start | 80px, hamburger (Main navigation menu), 2 CTA | media below text | 3→3 col; 4→3 col; 2→2 col | content-width |
| tablet 768 | fluid | 26px | 14px | 28px, 0 lines, start | 80px, hamburger (Main navigation menu), 2 CTA | text only | 4→3 col; 2→2 col; 2→1 col | content-width |
| phone 390 | fluid | 26px | 14px | 28px, 0 lines, start | 125px, 3 links | media below text | 2→1 col; 2→1 col; 2→1 col | 1 full-width |
- H1 goes 28px → 28px (100%), 0 → 0 lines.
- Nav never collapses to a hamburger (3 links still visible at 390px).
- Body text stays 14px at every width.
- Phone side gutter 26px.
- 1 buttons stretch full-width on phones.
Arquivos no pacote14 arquivos
DESIGN.md
Formato DESIGN.md do Google; Stitch, Claude Code e Cursor o leem
tokens.json
Design tokens W3C (DTCG) para Style Dictionary e plugins do Figma
tokens.css
Os mesmos valores como variáveis CSS
tailwind.css
Bloco @theme do Tailwind v4
SKILL.md
Skill do Claude Code / Cursor que organiza o pacote em sequência para o agente
BEHAVIOR.md
Hover, foco, tooltips, menus, movimento, rolagem, tabelas, formulários, texto, responsivo, modo escuro, stack
evidence.json
Medições brutas por trás dos dois documentos (cada viewport, sonda e regra)
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
DESIGN.md211 linhas
---
version: alpha
name: "airbnb.com"
description: "Design system extracted from https://www.airbnb.com/ on 2026-09-28"
colors:
background: "#ffffff"
surface: "#dddddd"
surface-2: "#f2f2f2"
foreground: "#222222"
muted-foreground: "#6c6c6c"
primary: "#da1249"
on-primary: "#ffffff"
border: "#ffffff"
typography:
headline-display:
fontFamily: "Airbnb Cereal VF"
fontSize: "28px"
fontWeight: 700
lineHeight: "1.43"
headline-lg:
fontFamily: "Airbnb Cereal VF"
fontSize: "14px"
fontWeight: 400
lineHeight: "1.43"
headline-md:
fontFamily: "Airbnb Cereal VF"
fontSize: "24px"
fontWeight: 600
lineHeight: "1.4"
body-md:
fontFamily: "Airbnb Cereal VF"
fontSize: "14px"
fontWeight: 400
lineHeight: "1.4"
label-md:
fontFamily: "Airbnb Cereal VF"
fontSize: "12px"
fontWeight: 400
lineHeight: "1.33"
button:
fontFamily: "Airbnb Cereal VF"
fontSize: "14px"
fontWeight: 500
lineHeight: "1.29"
rounded:
none: "0px"
full: "9999px"
xl: "20px"
lg: "14px"
2xl: "32px"
spacing:
unit: "4px"
1: "4px"
2: "8px"
3: "12px"
4: "16px"
5: "24px"
6: "44px"
7: "48px"
components:
button-ghost:
backgroundColor: "#ffffff"
textColor: "#222222"
typography: "{typography.button}"
rounded: "20px"
height: "40px"
padding: "11px 12px"
button-secondary:
backgroundColor: "#f2f2f2"
textColor: "#222222"
typography: "{typography.button}"
rounded: "9999px"
height: "40px"
padding: "0px 0px"
---
# airbnb.com
## Overview
Airbnb | Vacation rentals, cabins, beach houses, & more: Get an Airbnb for every kind of trip → 8 million vacation rentals → 2 million Guest Favorites → 220+ countries and regions worldwide
Pill-shaped controls, layered shadows for depth, restrained display type at 28px / 700, a single red accent on neutrals. The site ships in light mode by default. Measured from 1625 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 | `#ffffff` | Page background |
| surface | `#dddddd` | Cards, panels, raised or recessed surfaces |
| surface-2 | `#f2f2f2` | Secondary surface |
| foreground | `#222222` | Primary text |
| muted-foreground | `#6c6c6c` | Secondary text, captions |
| primary | `#da1249` | Accent: primary buttons, links, focus |
| on-primary | `#ffffff` | Text on the accent |
| border | `#ffffff` | Hairlines, dividers, input borders |
Full painted palette by area (largest first): `#ffffff`, `#dddddd`, `#f2f2f2`, `#da1249`.
Gradients in use: `linear-gradient(rgb(255, 255, 255) 39.9%, rgb(248, 248, 248) 100%)`.
The accent `#da1249` is used sparingly: primary buttons, links and focus rings. Everything else stays neutral.
## Typography
- **Airbnb Cereal VF** for h1, h2, label, button: self-hosted webfont, not freely available; use **Inter** from Google Fonts as the stand-in.
| Role | Family | Size | Weight | Line height | Tracking |
| --- | --- | --- | --- | --- | --- |
| headline-display | Airbnb Cereal VF | 28px | 700 | 1.43 | normal |
| headline-lg | Airbnb Cereal VF | 14px | 400 | 1.43 | normal |
| headline-md | Airbnb Cereal VF | 24px | 600 | 1.4 | normal |
| body-md | Airbnb Cereal VF | 14px | 400 | 1.4 | normal |
| label-md | Airbnb Cereal VF | 12px | 400 | 1.33 | normal |
| button | Airbnb Cereal VF | 14px | 500 | 1.29 | normal |
Type scale in use: 11px, 12px, 13px, 14px, 20px, 28px. Base body size 14px.
The H1 renders at 28px / 700, start aligned, up to 1px wide. Sample: "Airbnb homepage".
## Layout
- Spacing unit: 4px. Scale in use: 4, 8, 12, 16, 24, 44, 48 (px).
- Flex and grid gaps: 4, 8, 12 px.
- Content max width: not detected (fluid).
- Breakpoints: 743px, 744px, 950px, 1128px, 1440px.
- Header: 96px tall, static, background `rgba(0, 0, 0, 0)`; 5 nav links at 14px / 400 (AllAll · HomesHomes · ExperiencesExperiences · ServicesServices).
## Elevation & Depth
Shadows in use, most common first:
- shadow-1: `color(srgb 0 0 0 / 0.02) 0px 0px 0px 1px, color(srgb 0 0 0 / 0.04) 0px 2px 6px 0px, color(srgb 0 0 0 / 0.1) 0px 4px 8px 0px`
- shadow-2: `color(srgb 0 0 0 / 0.02) 0px 0px 0px 1px, color(srgb 0 0 0 / 0.1) 0px 8px 24px 0px`
## Shapes
- Buttons: 9999px
- Inputs: 0px
- Cards and panels: 0px
- Images and media: 0px
- Radius scale: none 0px, full 9999px, xl 20px, lg 14px, 2xl 32px
## Components
### Button, ghost
Background transparent (it sits on `#ffffff`, so place it on that colour), text `#222222`, border none, radius 20px, height 40px, padding 11px 12px, 14px / 500. Sample label: "Become a host".
### Button, secondary
Background `#f2f2f2`, text `#222222`, border none, radius 9999px, height 40px, padding 0px 0px, 14px / 400.
### Link
Colour `#222222`, 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 | fluid | 50px | 14px | 28px, 0 lines, start | 96px, hamburger (Main navigation menu), 2 CTA | media below text | 3→3 col; 5→3 col; 2→1 col | content-width |
| laptop 1024px | fluid | 34px | 14px | 28px, 0 lines, start | 80px, hamburger (Main navigation menu), 2 CTA | media below text | 3→3 col; 4→3 col; 2→2 col | content-width |
| tablet 768px | fluid | 26px | 14px | 28px, 0 lines, start | 80px, hamburger (Main navigation menu), 2 CTA | text only | 4→3 col; 2→2 col; 2→1 col | content-width |
| phone 390px | fluid | 26px | 14px | 28px, 0 lines, start | 125px, 3 links | media below text | 2→1 col; 2→1 col; 2→1 col | 1 full-width |
- H1 goes 28px → 28px (100%), 0 → 0 lines.
- Nav never collapses to a hamburger (3 links still visible at 390px).
- Body text stays 14px at every width.
- Phone side gutter 26px.
- 1 buttons stretch full-width on phones.
## Interaction & Motion
80 elements carry transitions; typical 0.25s with cubic-bezier(0.2, 0, 0, 1), mostly on transform, box-shadow, background-color. 1 running keyframe animations (kf-h0qfv9 0.15s 1).
- Hover on button-primary: no visible change; cursor pointer; transition transform | 0.25s | cubic-bezier(0.2, 0, 0, 1).
- Hover on button-secondary: no visible change; cursor pointer; transition transform | 0.25s | cubic-bezier(0.2, 0, 0, 1).
- Hover on nav-link ("All"): no visible change; cursor pointer.
- Hover on input: no visible change; cursor text.
- Focus on button-primary: no visible focus style measured (may rely on :focus-visible with keyboard only).
- Focus on input: no visible focus style measured (may rely on :focus-visible with keyboard only).
- Tooltip triggers exist (4 × aria-describedby, 2 × title) but none opened on hover in the first viewport; title attributes fall back to the browser's native tooltip.
- Hover/click menus: below the trigger, 1352px gap, shifted left; transparent, radius 0px, padding 0px 0px, shadow none; appears instantly (no fade); stays open after the pointer leaves (click-away or hover-intent grace).
- 14 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 `#da1249` for actions and focus; never paint large areas with it.
- Do keep body text at 14px in Airbnb Cereal VF.
- Do match corner radii per element class (buttons 9999px, 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.