← Về thư mục
📄 / / root / .hermes / profiles / glv-director / skills / creative / popular-web-designs / templates / airbnb.md

Design System: Airbnb

Hermes Agent — Implementation Notes

The original site uses proprietary fonts. For self-contained HTML output, use these CDN substitutes: - Primary: DM Sans | Mono: system monospace stack - Font stack (CSS): font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; - Mono stack (CSS): font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace; html <link href="https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap" rel="stylesheet"> Use write_file to create HTML, serve via generative-widgets skill (cloudflared tunnel). Verify visual accuracy with browser_vision after generating.

1. Visual Theme & Atmosphere

Airbnb's website is a warm, photography-forward marketplace that feels like flipping through a travel magazine where every page invites you to book. The design operates on a foundation of pure white (#ffffff) with the iconic Rausch Red (#ff385c) — named after Airbnb's first street address — serving as the singular brand accent. The result is a clean, airy canvas where listing photography, category icons, and the red CTA button are the only sources of color.

The typography uses Airbnb Cereal VF — a custom variable font that's warm and approachable, with rounded terminals that echo the brand's "belong anywhere" philosophy. The font operates in a tight weight range: 500 (medium) for most UI, 600 (semibold) for emphasis, and 700 (bold) for primary headings. Slight negative letter-spacing (-0.18px to -0.44px) on headings creates a cozy, intimate reading experience rather than the compressed efficiency of tech companies.

What distinguishes Airbnb is its palette-based token system (--palette-*) and multi-layered shadow approach. The primary card shadow uses a three-layer stack (rgba(0,0,0,0.02) 0px 0px 0px 1px, rgba(0,0,0,0.04) 0px 2px 6px, rgba(0,0,0,0.1) 0px 4px 8px) that creates a subtle, warm lift. Combined with generous border-radius (8px–32px), circular navigation controls (50%), and a category pill bar with horizontal scrolling, the interface feels tactile and inviting — designed for browsing, not commanding.

Key Characteristics: - Pure white canvas with Rausch Red (#ff385c) as singular brand accent - Airbnb Cereal VF — custom variable font with warm, rounded terminals - Palette-based token system (--palette-*) for systematic color management - Three-layer card shadows: border ring + soft blur + stronger blur - Generous border-radius: 8px buttons, 14px badges, 20px cards, 32px large elements - Circular navigation controls (50% radius) - Photography-first listing cards — images are the hero content - Near-black text (#222222) — warm, not cold - Luxe Purple (#460479) and Plus Magenta (#92174d) for premium tiers

2. Color Palette & Roles

Primary Brand

Premium Tiers

Text Scale

Interactive

Surface & Shadows

3. Typography Rules

Font Family

Hierarchy

Role Font Size Weight Line Height Letter Spacing Notes
Section Heading Airbnb Cereal VF 28px (1.75rem) 700 1.43 normal Primary headings
Card Heading Airbnb Cereal VF 22px (1.38rem) 600 1.18 (tight) -0.44px Category/card titles
Card Heading Medium Airbnb Cereal VF 22px (1.38rem) 500 1.18 (tight) -0.44px Lighter variant
Sub-heading Airbnb Cereal VF 21px (1.31rem) 700 1.43 normal Bold sub-headings
Feature Title Airbnb Cereal VF 20px (1.25rem) 600 1.20 (tight) -0.18px Feature headings
UI Medium Airbnb Cereal VF 16px (1.00rem) 500 1.25 (tight) normal Nav, emphasized text
UI Semibold Airbnb Cereal VF 16px (1.00rem) 600 1.25 (tight) normal Strong emphasis
Button Airbnb Cereal VF 16px (1.00rem) 500 1.25 (tight) normal Button labels
Body / Link Airbnb Cereal VF 14px (0.88rem) 400 1.43 normal Standard body
Body Medium Airbnb Cereal VF 14px (0.88rem) 500 1.29 (tight) normal Medium body
Caption Salt Airbnb Cereal VF 14px (0.88rem) 600 1.43 normal "salt" feature
Small Airbnb Cereal VF 13px (0.81rem) 400 1.23 (tight) normal Descriptions
Tag Airbnb Cereal VF 12px (0.75rem) 400–700 1.33 normal Tags, prices
Badge Airbnb Cereal VF 11px (0.69rem) 600 1.18 (tight) normal "salt" feature
Micro Uppercase Airbnb Cereal VF 8px (0.50rem) 700 1.25 (tight) 0.32px text-transform: uppercase

Principles

4. Component Stylings

Buttons

Primary Dark - Background: #222222 (near-black, not pure black) - Text: #ffffff - Padding: 0px 24px - Radius: 8px - Hover: transitions to error/brand accent via var(--accent-bg-error) - Focus: 0 0 0 2px var(--palette-grey1000) ring + scale(0.92)

Circular Nav - Background: #f2f2f2 - Text: #222222 - Radius: 50% (circle) - Hover: shadow rgba(0,0,0,0.08) 0px 4px 12px + translateX(50%) - Active: 4px white border ring + focus shadow - Focus: scale(0.92) shrink animation

Cards & Containers

Inputs

Image Treatment

5. Layout Principles

Spacing System

Grid & Container

Whitespace Philosophy

Border Radius Scale

6. Depth & Elevation

Level Treatment Use
Flat (Level 0) No shadow Page background, text blocks
Card (Level 1) rgba(0,0,0,0.02) 0px 0px 0px 1px, rgba(0,0,0,0.04) 0px 2px 6px, rgba(0,0,0,0.1) 0px 4px 8px Listing cards, search bar
Hover (Level 2) rgba(0,0,0,0.08) 0px 4px 12px Button hover, interactive lift
Active Focus (Level 3) rgb(255,255,255) 0px 0px 0px 4px + focus ring Active/focused elements

Shadow Philosophy: Airbnb's three-layer shadow system creates a warm, natural lift. Layer 1 (0px 0px 0px 1px at 0.02 opacity) is an ultra-subtle border. Layer 2 (0px 2px 6px at 0.04) provides soft ambient shadow. Layer 3 (0px 4px 8px at 0.1) adds the primary lift. This graduated approach creates shadows that feel like natural light rather than CSS effects.

7. Do's and Don'ts

Do

Don't

8. Responsive Behavior

Breakpoints

Name Width Key Changes
Mobile Small <375px Single column, compact search
Mobile 375–550px Standard mobile listing grid
Tablet Small 550–744px 2-column listings
Tablet 744–950px Search bar expansion
Desktop Small 950–1128px 3-column listings
Desktop 1128–1440px 4-column grid, full header
Large Desktop 1440–1920px 5-column grid
Ultra-wide >1920px Maximum grid width

Note: Airbnb has 61 detected breakpoints — one of the most granular responsive systems observed, reflecting their obsession with layout at every possible screen size.

Touch Targets

Collapsing Strategy

Image Behavior

9. Agent Prompt Guide

Quick Color Reference

Example Component Prompts

Iteration Guide

  1. Start with white — the photography provides all the color
  2. Rausch Red (#ff385c) is the singular accent — use sparingly for CTAs only
  3. Near-black (#222222) for text — the warmth matters
  4. Three-layer shadows create natural, warm lift — always use all three layers
  5. Generous radius: 8px buttons, 20px cards, 50% controls
  6. Cereal VF at 500–700 weight — no thin weights for any heading
  7. Photography is hero — every listing card is image-first