apple.com design system

Apple

apple.comडार्क मोड1,912 एलिमेंट मापे गए4 घंटे पहले मापा गया
apple.com पर जाएँ

apple.com टाइपोग्राफ़ी के लिए SF Pro Text, SF Pro Display और एक्सेंट रंग के रूप में #0071e3 इस्तेमाल करता है। 28 सितंबर 2026 को मापा गया।

अपने AI के साथ इस्तेमाल करेंzip में README.md और PROMPT.md के रूप में भी

  1. .
  2. पैक को अपने प्रोजेक्ट में unzip करें, ताकि फ़ोल्डर design/apple.com-design-pack/ पर रहे।
  3. वैकल्पिक: फ़ोल्डर को .claude/skills/apple-com-design/ में भी कॉपी करें। अंदर की SKILL.md की वजह से Claude Code जब भी UI बनाता है, पैक को अपने आप लोड कर लेता है।
  4. नीचे दिया prompt Claude Code में पेस्ट करें और भरें कि आप क्या बनवाना चाहते हैं।
Prompt

Prompt अंग्रेज़ी में ही रहता है: उसमें पैक की फ़ाइलों के नाम हैं, और आपकी भाषा कोई भी हो, आपका AI उसे पढ़ लेता है।

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

1. Read DESIGN.md (colours, type, spacing, radii, shadows, components) and BEHAVIOR.md (hover, focus, tooltips, menus, motion, scrolling, forms, responsive rules, dark mode) before writing any code.
2. Look at every image in `design/apple.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/apple.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. Build both themes.

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

background
#000000
surface
#1d1d1f
foreground
#f5f5f7
muted-foreground
#1d1d1f
primary
#0071e3
on-primary
#ffffff
secondary
#de9444
border
#0066cc

Spacing4px यूनिट

481216202448
कंटेंट की चौड़ाई
930px
Breakpoints
734, 833, 1068, 1069, 1441px

Radius

बटन 980pxइनपुट 980pxकार्ड 0pxइमेज 0px

Shadows1

1

टाइपोग्राफ़ी2 फ़ैमिली

SF Pro Textसिस्टमSF Pro Displayसिस्टम
headline-displayQuick brown fox34px / 600 / lh 1.47 / -0.374px
headline-lgQuick brown fox56px / 600 / lh 1.07 / -0.28px
headline-mdQuick brown fox12px / 400 / lh 1.33 / -0.12px
body-mdThe quick brown fox jumps over the lazy dog12px / 400 / lh 1.33 / -0.12px
label-mdThe quick brown fox jumps over the lazy dog12px / 400 / lh 1.33 / -0.12px
buttonThe quick brown fox jumps over the lazy dog14px / 400 / lh 1.29 / -0.224px
इस्तेमाल हो रहे साइज़
1214172126344056

कंपोनेंट

Learn moreBuy
बटन primary
#0071e3 पर #ffffff टेक्स्ट, r 980px, h 44px, 17px/400
बटन secondary
#000000 के ऊपर पारदर्शी पर #2997ff टेक्स्ट, r 980px, h 44px, 17px/400
लिंक
#ffffffcc, बिना underline, 600
हेडर
44px, fixed, blur, 17px पर 12 लिंक
h1
34px / 600, start अलाइन, अधिकतम 1px
फ़ॉर्म
1 forms, 1 inputs. Required markers: 0. Help texts: 0. Label placement: no labelled inputs.
आइकन
Icons: 35 inline SVGs, filled, sizes 10px/59px/14px/24px; icon font classes icon-.

इंटरैक्शन और मोशन

  • button primary "Learn more": background #0071e3 → #0076df
  • button secondary "Buy": background transparent → #0076df, text #2997ff → #ffffff, border #2997ff → transparent
  • nav link "Apple": text #ffffffcc → #ffffff, border #ffffffcc → #ffffff, icon/inner colour → #ffffff
  • focus button primary: outline 2px solid rgb(0, 113, 227), offset 3px
  • tooltip: Tooltip triggers exist (9 × data-title, 2 × title) but none opened on hover in the first viewport; title attributes fall back to the browser's native tooltip.
  • मेन्यू: No dropdown menus found in the header.
  • मोशन: 556 elements carry transitions; typical 0.32s with cubic-bezier(0.4, 0, 0.6, 1), mostly on opacity, transform, color. 1 running keyframe animations (globalnav-search-fade-and-slide 0.32s 1). No scroll-reveal: content is visible without scrolling into view.

डार्क थीम

पहुँच: class theme-dark के ज़रिए। लाइट → डार्क:

background#000000 → #000000
surface#1d1d1f → #171719
foreground#f5f5f7 → #f5f5f7
muted-foreground#1d1d1f → #000000
primary#0071e3 → #0071e3
on-primary#ffffff → #ffffff
secondary#de9444 → #de9444
border#0066cc → #2997ff

डार्क मोड shadows: rgba(0, 0, 0, 0.22) 3px 5px 30px 0px

रेस्पॉन्सिव1440 / 1024 / 768 / 390 px

apple.com 1440 पिक्सेल चौड़ाई पर
1440px
apple.com 1024 पिक्सेल चौड़ाई पर
1024px
apple.com 768 पिक्सेल चौड़ाई पर
768px
apple.com 390 पिक्सेल चौड़ाई पर
390px
apple.com 1440 पिक्सेल चौड़ाई पर
1440px डार्क मोड
ViewportकंटेंटGutterBodyH1हेडरHeroGridsबटन
desktop 14401024px553px17px34px, 0 lines, start44px, hamburger (Store menu)text only2→1 col; 2→1 col; 2→1 colcontent-width
laptop 1024688px368px17px34px, 0 lines, start44px, hamburger (Store menu)text only2→1 col; 2→1 col; 6→2 colcontent-width
tablet 768688px240px17px34px, 0 lines, start48px, hamburger (Menu)text only2→1 col; 2→1 col; 6→2 col3 full-width
phone 390358px98px17px34px, 0 lines, start48px, hamburger (Search apple.com)text only2→1 col; 2→1 col; 2→1 colcontent-width
  • H1 goes 34px → 34px (100%), 0 → 0 lines.
  • Nav collapses to a hamburger by 390px (first seen at 1440px); header 44px → 48px.
  • Body text stays 17px at every width.
  • Phone side gutter 98px.
  • Section top padding 17px → 17px.

पैक की फ़ाइलें15 फ़ाइलें

DESIGN.md
Google का DESIGN.md format; Stitch, Claude Code और Cursor इसे पढ़ते हैं
8.7 kB
tokens.json
Style Dictionary और Figma plugins के लिए W3C Design Tokens (DTCG)
6.6 kB
tokens.css
वही मान CSS custom properties के रूप में
1.3 kB
tailwind.css
Tailwind v4 @theme ब्लॉक
736 बाइट
SKILL.md
Claude Code / Cursor skill, जो एजेंट के लिए पैक को क्रम में लगाती है
2 kB
BEHAVIOR.md
Hover, focus, tooltip, मेन्यू, मोशन, स्क्रॉलिंग, टेबल, फ़ॉर्म, टेक्स्ट, रेस्पॉन्सिव, डार्क मोड, stack
7.6 kB
evidence.json
दोनों दस्तावेज़ों के पीछे के कच्चे माप (हर viewport, probe और नियम)
57 kB
screenshots/
desktop-1440-fold.png, desktop-1440-full.jpg, desktop-1440-dark.png, laptop-1024-fold.png, tablet-768-fold.png, phone-390-fold.png, phone-390-full.jpg
7 इमेज
DESIGN.md227 लाइनें
---
version: alpha
name: "apple.com"
description: "Design system extracted from https://www.apple.com/ on 2026-09-28"
colors:
  background: "#000000"
  surface: "#1d1d1f"
  foreground: "#f5f5f7"
  muted-foreground: "#1d1d1f"
  primary: "#0071e3"
  on-primary: "#ffffff"
  secondary: "#de9444"
  border: "#0066cc"
typography:
  headline-display:
    fontFamily: "SF Pro Text"
    fontSize: "34px"
    fontWeight: 600
    lineHeight: "1.47"
    letterSpacing: "-0.374px"
  headline-lg:
    fontFamily: "SF Pro Display"
    fontSize: "56px"
    fontWeight: 600
    lineHeight: "1.07"
    letterSpacing: "-0.28px"
  headline-md:
    fontFamily: "SF Pro Text"
    fontSize: "12px"
    fontWeight: 400
    lineHeight: "1.33"
    letterSpacing: "-0.12px"
  body-md:
    fontFamily: "SF Pro Text"
    fontSize: "12px"
    fontWeight: 400
    lineHeight: "1.33"
    letterSpacing: "-0.12px"
  label-md:
    fontFamily: "SF Pro Text"
    fontSize: "12px"
    fontWeight: 400
    lineHeight: "1.33"
    letterSpacing: "-0.12px"
  button:
    fontFamily: "SF Pro Text"
    fontSize: "14px"
    fontWeight: 400
    lineHeight: "1.29"
    letterSpacing: "-0.224px"
rounded:
  none: "0px"
  2xl: "980px"
  full: "9999px"
spacing:
  unit: "4px"
  1: "4px"
  2: "8px"
  3: "12px"
  4: "16px"
  5: "20px"
  6: "24px"
  7: "48px"
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.button}"
    rounded: "980px"
    height: "44px"
    padding: "11px 21px"
  button-secondary:
    backgroundColor: "#000000"
    textColor: "#2997ff"
    typography: "{typography.button}"
    rounded: "980px"
    height: "44px"
    padding: "11px 21px"
---

# apple.com

## Overview

Apple: Discover the innovative world of Apple and shop everything iPhone, iPad, Apple Watch, Mac, and Apple TV, plus explore accessories, entertainment, and expert device support.

Soft, well-rounded controls, one soft shadow for depth, restrained display type at 34px / 600, a single blue accent on neutrals. The site ships in dark mode by default (dark surfaces, light type). Measured from 1912 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/desktop-1440-dark.png`: Desktop 1440, dark mode
- `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 | `#000000` | Page background |
| surface | `#1d1d1f` | Cards, panels, raised or recessed surfaces |
| foreground | `#f5f5f7` | Primary text |
| muted-foreground | `#1d1d1f` | Secondary text, captions |
| primary | `#0071e3` | Accent: primary buttons, links, focus |
| on-primary | `#ffffff` | Text on the accent |
| secondary | `#de9444` | Secondary accent (amber) |
| border | `#0066cc` | Hairlines, dividers, input borders |

Full painted palette by area (largest first): `#000000`, `#f5f5f7`, `#5a4535`, `#9fc6f4`, `#24568e`, `#eeadb1`, `#de9444`, `#4a4a4c`.

Gradients in use: `radial-gradient(100% 33% at left bottom, rgba(0, 0, 0, 0.5) 0%, rgba(255, 255, 255, 0))`; `linear-gradient(rgba(29, 29, 31, 0.4) 0%, rgba(29, 29, 31, 0) 70px, rgba(29, 29, 31, 0) calc(100% - 70px), rgba(29, 29, 31, 0.4) 100%)`.

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

## Typography

- **SF Pro Text** for h1, h3, body, label, button: system font stack.
- **SF Pro Display** for h2: system font stack.

| Role | Family | Size | Weight | Line height | Tracking |
| --- | --- | --- | --- | --- | --- |
| headline-display | SF Pro Text | 34px | 600 | 1.47 | -0.374px |
| headline-lg | SF Pro Display | 56px | 600 | 1.07 | -0.28px |
| headline-md | SF Pro Text | 12px | 400 | 1.33 | -0.12px |
| body-md | SF Pro Text | 12px | 400 | 1.33 | -0.12px |
| label-md | SF Pro Text | 12px | 400 | 1.33 | -0.12px |
| button | SF Pro Text | 14px | 400 | 1.29 | -0.224px |

Type scale in use: 12px, 14px, 17px, 21px, 26px, 34px, 40px, 56px. Base body size 12px.

The H1 renders at 34px / 600, start aligned, up to 1px wide, tracking -0.374px. Sample: "Apple".

## Layout

- Spacing unit: 4px. Scale in use: 4, 8, 12, 16, 20, 24, 48 (px).
- Flex and grid gaps: 12, 16 px.
- Content max width: 930px, centred.
- Breakpoints: 734px, 833px, 1068px, 1069px, 1441px.
- Header: 44px tall, fixed, backdrop blur, background `rgba(29, 29, 31, 0.8)`; 12 nav links at 17px / 600 (Apple · Store · Shop the Latest · Mac · iPad · iPhone · Apple Watch · Apple Vision Pro).

## Elevation & Depth

Shadows in use, most common first:

- shadow-1: `rgba(0, 0, 0, 0.22) 3px 5px 30px 0px`

## Shapes

- Buttons: 980px
- Inputs: 980px
- Cards and panels: 0px
- Images and media: 0px
- Radius scale: none 0px, 2xl 980px, full 9999px

## Components

### Button, primary

Background `#0071e3`, text `#ffffff`, border 1px solid transparent, radius 980px, height 44px, padding 11px 21px, 17px / 400. Sample label: "Learn more".

### Button, secondary

Background transparent (it sits on `#000000`, so place it on that colour), text `#2997ff`, border 1px solid #2997ff, radius 980px, height 44px, padding 11px 21px, 17px / 400. Sample label: "Buy".

### Link

Colour `#ffffffcc`, no underline at rest, weight 600.

## Dark Mode

Both themes exist; the default render is dark and the dark theme was reached via class theme-dark. Token pairs, light → dark:

| Token | Light | Dark |
| --- | --- | --- |
| background | `#000000` | `#000000` |
| surface | `#1d1d1f` | `#171719` |
| foreground | `#f5f5f7` | `#f5f5f7` |
| muted-foreground | `#1d1d1f` | `#000000` |
| primary | `#0071e3` | `#0071e3` |
| on-primary | `#ffffff` | `#ffffff` |
| secondary | `#de9444` | `#de9444` |
| border | `#0066cc` | `#2997ff` |

Dark-theme shadows: `rgba(0, 0, 0, 0.22) 3px 5px 30px 0px`

## Responsive Behavior

| Viewport | Content width | Gutter | Body | H1 | Header | Hero | Grids | Buttons |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| desktop 1440px | 1024px | 553px | 17px | 34px, 0 lines, start | 44px, hamburger (Store menu) | text only | 2→1 col; 2→1 col; 2→1 col | content-width |
| laptop 1024px | 688px | 368px | 17px | 34px, 0 lines, start | 44px, hamburger (Store menu) | text only | 2→1 col; 2→1 col; 6→2 col | content-width |
| tablet 768px | 688px | 240px | 17px | 34px, 0 lines, start | 48px, hamburger (Menu) | text only | 2→1 col; 2→1 col; 6→2 col | 3 full-width |
| phone 390px | 358px | 98px | 17px | 34px, 0 lines, start | 48px, hamburger (Search apple.com) | text only | 2→1 col; 2→1 col; 2→1 col | content-width |

- H1 goes 34px → 34px (100%), 0 → 0 lines.
- Nav collapses to a hamburger by 390px (first seen at 1440px); header 44px → 48px.
- Body text stays 17px at every width.
- Phone side gutter 98px.
- Section top padding 17px → 17px.

## Interaction & Motion

556 elements carry transitions; typical 0.32s with cubic-bezier(0.4, 0, 0.6, 1), mostly on opacity, transform, color. 1 running keyframe animations (globalnav-search-fade-and-slide 0.32s 1).

- Hover on button-primary ("Learn more"): background #0071e3 → #0076df; cursor pointer.
- Hover on button-secondary ("Buy"): background transparent → #0076df, text #2997ff → #ffffff, border #2997ff → transparent; cursor pointer.
- Hover on nav-link ("Apple"): text #ffffffcc → #ffffff, border #ffffffcc → #ffffff, icon/inner colour → #ffffff; cursor pointer; transition color | 0.32s | cubic-bezier(0.4, 0, 0.6, 1).
- Focus on button-primary: outline 2px solid rgb(0, 113, 227), offset 3px.
- Tooltip triggers exist (9 × data-title, 2 × title) but none opened on hover in the first viewport; title attributes fall back to the browser's native tooltip.
- No dropdown menus found in the header.
- No scroll-reveal: content is visible without scrolling into view.

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 `#0071e3` for actions and focus; never paint large areas with it.
- Do keep body text at 12px in SF Pro Text.
- Do match corner radii per element class (buttons 980px, 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.