نظام تصميم airbnb.com
Airbnb | Vacation rentals, cabins, beach houses, & more
السفرفاتحتم قياس 1,625 عنصر, تم القياس قبل 8 ساعات
يعتمد airbnb.com على Airbnb Cereal VF في النصوص، وعلى #da1249 كلون مميز.تم القياس في 28 سبتمبر 2026.
معاينة الموقع
1440 pxاستخدمها مع الذكاء الاصطناعي
موجود أيضًا في ملف zip باسم README.md وPROMPT.md- .
- فك ضغط الحزمة داخل مشروعك بحيث يكون المجلد في
design/airbnb.com-design-pack/. - اختياري: انسخ المجلد أيضًا إلى
.claude/skills/airbnb-com-design/. يجعل SKILL.md الموجود بداخله Claude Code يحمّل الحزمة تلقائيًا كلما بنى واجهة. - الصق الـ prompt أدناه في Claude Code واكتب ما تريد بناءه.
Prompt
يبقى الـ prompt بالإنجليزية: فهو يسمّي ملفات الحزمة، ويقرؤه الذكاء الاصطناعي بأي لغة.
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.الألوان
8 tokensالمكونات
Become a hostاعرف المزيد
- زر ghost
- نص #222222 على شفاف فوق #ffffff, r 20px, h 40px, 14px/500
- زر secondary
- نص #222222 على #f2f2f2, r 9999px, h 40px, 14px/400
- رابط
- #222222, بلا تسطير, 400
- ترويسة
- 96px, static, 5 روابط بحجم 14px
- h1
- 28px / 700, محاذاة start, الحد الأقصى 1px
- شارة
- "Guest favorite": #ffffffcc on #222222, 14px/600, 26px tall, radius 14px, padding 5.5px 9.5px, border 1px #ffffff80
- النماذج
- 1 forms, 1 inputs. Required markers: 0. Help texts: 3. Label placement: placeholder-only (1).
- الأيقونات
- Icons: 62 inline SVGs, filled, sizes 24px/8px/12px/16px.
التفاعل والحركة
- button primary: لا تغيّر عند hover
- button secondary: لا تغيّر عند hover
- nav link "All": لا تغيّر عند hover
- input: لا تغيّر عند hover
- تركيز button primary: no visible focus style measured (may rely on :focus-visible with keyboard only)
- تركيز 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).
- الحركة: 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).
الخطوط
1 عائلة خطوطAirbnb Cereal VFمستضاف ذاتيًا، بديل 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
الأحجام المستخدمة
111213142028
المسافات
وحدة 4px- عرض المحتوى
- مرن
- نقاط التوقف
- 743, 744, 950, 1128, 1440px
الاستدارة
زر 9999pxحقل 0pxبطاقة 0pxصورة 0px
الظلال
21
2
السمة
No dark mode responded to prefers-color-scheme, a theme toggle, or a root class/attribute.
التجاوب
1440 / 1024 / 768 / 390 px| العرض | المحتوى | الهامش | المتن | H1 | الترويسة | الواجهة الرئيسية | الشبكات | الأزرار |
|---|---|---|---|---|---|---|---|---|
| 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.
ملفات الحزمة
14 ملفاتDESIGN.md211 سطر
---
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.
