Design system openai.com

OpenAI | Research & Deployment

openai.commode clair819 éléments mesurésmesuré il y a 2 heures
Visiter openai.com

openai.com utilise OpenAI Sans pour la typographie et #000000 comme couleur d’accent. Mesuré le 28 septembre 2026.

Utilisez-le avec votre IAaussi dans le zip sous README.md et PROMPT.md

  1. .
  2. Décompressez le pack dans votre projet pour que le dossier se trouve dans design/openai.com-design-pack/.
  3. Facultatif : copiez aussi le dossier dans .claude/skills/openai-com-design/. Le SKILL.md qu’il contient fait charger le pack automatiquement à Claude Code chaque fois qu’il construit une interface.
  4. Collez le prompt ci-dessous dans Claude Code et précisez ce que vous voulez construire.
Prompt

Le prompt reste en anglais : il nomme les fichiers du pack, et votre IA le lit dans n’importe quelle langue.

Use the design pack in `design/openai.com-design-pack/` as the source of truth for how the UI looks and behaves. It was measured from https://openai.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/openai.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/openai.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.

Couleurs9 tokens

background
#ffffff
surface
#e0e0e0
surface-2
#f1f1f1
foreground
#000000
muted-foreground
#666666
primary
#000000
on-primary
#ffffff
secondary
#04b84c
border
#e0e0e0

Arrondis

bouton 40pxchamp 0pxcarte 24pximage 0px

Typographie1 famille

OpenAI Sansauto-hébergée, substitut Inter
headline-displayQuick brown fox48px / 500 / lh 1.16 / -1.44px
headline-lgQuick brown fox22px / 500 / lh 1.26 / -0.22px
headline-mdQuick brown fox24px / 600 / lh 1.4
body-mdThe quick brown fox jumps over the lazy dog17px / 400 / lh 1.65 / -0.17px
label-mdThe quick brown fox jumps over the lazy dog13px / 500 / lh 1.4
buttonThe quick brown fox jumps over the lazy dog14px / 500 / lh 1
Tailles utilisées
131417182248

Composants

ProductsTry ChatGPT(opens in a nCloseAdresse e-mail
bouton ghost
texte #000000 sur transparent sur #ffffff, r 0px, h 64px, 17px/400
bouton primary
texte #ffffff sur #000000, r 40px, h 36px, 14px/500
bouton secondary
texte #ffffff sur #ffffff1f, r 40px, h 40px, 14px/500
champ
h 40px, 0px solid #e5e7eb, r 0px
carte
#ffffff, none, r 24px, ombre
lien
#000000, sans soulignement, 400
en-tête
0px, static, 8 liens à 13 px
h1
48px / 500, alignement center, max 479 px
formulaires
1 forms, 2 inputs. Required markers: 0. Help texts: 0. Submit button is content-width. Label placement: other (1), floating (1).
icônes
Icons: 29 inline SVGs, filled, sizes 9px/16px/14px/11px.

Espacementsunité de 8 px

816243264120
Largeur du contenu
1376px
Points de rupture
700, 767, 768, 800, 1280px

Ombres2

1
2

Interactions et animations

  • button primary "Log in": aucun changement au survol
  • button secondary "Learn about ChatGPT Business": aucun changement au survol
  • nav link "Research": aucun changement au survol
  • input: aucun changement au survol
  • focus button primary: no visible focus style measured (may rely on :focus-visible with keyboard only)
  • focus input: element did not take focus
  • infobulles: No tooltips: nothing on the page carries tooltip attributes or roles and no tooltip styles exist. Do not add tooltips when rebuilding.
  • menus: Hover/click menus: below the trigger, 0px gap, right edges aligned; transparent, radius 0px, padding 0px 0px, shadow none; 2 items, 32px tall, 14px, padding 0px 16px; fades in (opacity 0.00 at 40ms → 1.00); hides within 400ms of leaving (transition or unmount).
  • animations: 242 elements carry transitions; typical 0.3s with cubic-bezier(0.4, 0, 0.2, 1), mostly on opacity, transform, translate. No running keyframe animations at rest. No scroll-reveal: content is visible without scrolling into view.

Thème sombre

Obtenu via prefers-color-scheme. Clair → sombre :

background#ffffff → #000000
surface#e0e0e0 → #060b17
surface-2#f1f1f1 → #1f1f1f
foreground#000000 → #ffffff
muted-foreground#666666 → #999999
primary#000000 → #ffffff
on-primary#ffffff → #111111
secondary#04b84c → #04b84c
border#e0e0e0 → #333333

Responsive1440 / 1024 / 768 / 390 px

openai.com à 1440 pixels
1440px
openai.com à 1024 pixels
1024px
openai.com à 768 pixels
768px
openai.com à 390 pixels
390px
openai.com à 1440 pixels
1440 px mode sombre
ViewportContenuGouttièreTexteH1En-têteHeroGrillesBoutons
desktop 1440443px481px17px48px, 1 line, center0px, hamburger (Research menu), 2 CTAmedia behind/overlapping text3→1 col; 6→6 col; 2→2 colcontent-width
laptop 1024960px303px17px41.8px, 1 line, center0px, hamburger (Research menu), 2 CTAmedia behind/overlapping text3→1 col; 6→6 col; 2→2 colcontent-width
tablet 768704px193px17px37.9px, 1 line, center0px, hamburger (Open mobile navigation), 2 CTAmedia behind/overlapping text3→3 col; 3→3 col; 3→3 col5 full-width
phone 390342px48px17px32.2px, 2 lines, center0px, hamburger (Open mobile navigation)media behind/overlapping text3→1 col; 6→1 col; 3→3 col6 full-width
  • H1 goes 48px → 32.2px (67%), 1 → 2 lines.
  • Nav collapses to a hamburger by 390px (first seen at 1440px); header 0px → 0px.
  • Card grids: 2 columns → 1 column on phones (gap 24px → 24px).
  • Body text stays 17px at every width.
  • Phone side gutter 48px.
  • 6 buttons stretch full-width on phones.

Fichiers du pack15 fichiers

DESIGN.md
Format DESIGN.md de Google ; Stitch, Claude Code et Cursor le lisent
11 ko
tokens.json
Design tokens W3C (DTCG) pour Style Dictionary et les plugins Figma
9,2 ko
tokens.css
Les mêmes valeurs en propriétés personnalisées CSS
1,5 ko
tailwind.css
Bloc @theme Tailwind v4
931 o
SKILL.md
Skill Claude Code / Cursor qui ordonne la lecture du pack pour l’agent
2,2 ko
BEHAVIOR.md
Survol, focus, infobulles, menus, animations, défilement, tableaux, formulaires, texte, responsive, mode sombre, stack
13 ko
evidence.json
Mesures brutes derrière les deux documents (chaque viewport, sonde et règle)
81 ko
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 images
DESIGN.md257 lignes
---
version: alpha
name: "openai.com"
description: "Design system extracted from https://openai.com/ on 2026-09-28"
colors:
  background: "#ffffff"
  surface: "#e0e0e0"
  surface-2: "#f1f1f1"
  foreground: "#000000"
  muted-foreground: "#666666"
  primary: "#000000"
  on-primary: "#ffffff"
  secondary: "#04b84c"
  border: "#e0e0e0"
typography:
  headline-display:
    fontFamily: "OpenAI Sans"
    fontSize: "48px"
    fontWeight: 500
    lineHeight: "1.16"
    letterSpacing: "-1.44px"
  headline-lg:
    fontFamily: "OpenAI Sans"
    fontSize: "22px"
    fontWeight: 500
    lineHeight: "1.26"
    letterSpacing: "-0.22px"
  headline-md:
    fontFamily: "OpenAI Sans"
    fontSize: "24px"
    fontWeight: 600
    lineHeight: "1.4"
  body-md:
    fontFamily: "OpenAI Sans"
    fontSize: "17px"
    fontWeight: 400
    lineHeight: "1.65"
    letterSpacing: "-0.17px"
  label-md:
    fontFamily: "OpenAI Sans"
    fontSize: "13px"
    fontWeight: 500
    lineHeight: "1.4"
  button:
    fontFamily: "OpenAI Sans"
    fontSize: "14px"
    fontWeight: 500
    lineHeight: "1"
rounded:
  none: "0px"
  2xl: "40px"
  xl: "24px"
  md: "6px"
  sm: "4px"
  full: "9999px"
spacing:
  unit: "8px"
  1: "8px"
  2: "16px"
  3: "24px"
  4: "32px"
  5: "64px"
  6: "120px"
components:
  button-ghost:
    backgroundColor: "#ffffff"
    textColor: "#000000"
    typography: "{typography.button}"
    rounded: "0px"
    height: "64px"
    padding: "0px 16px"
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.button}"
    rounded: "40px"
    height: "36px"
    padding: "0px 20px"
  button-secondary:
    backgroundColor: "#ffffff1f"
    textColor: "#ffffff"
    typography: "{typography.button}"
    rounded: "40px"
    height: "40px"
    padding: "0px 20px"
  input:
    backgroundColor: "transparent"
    rounded: "0px"
    height: "40px"
  card:
    backgroundColor: "#ffffff"
    rounded: "24px"
    padding: "16px"
---

# openai.com

## Overview

OpenAI | Research & Deployment: We believe our research will eventually lead to artificial general intelligence, a system that can solve human-level problems.

Soft, well-rounded controls, layered shadows for depth, confident display type at 48px / 500, a single neutral accent on neutrals. The site ships in light mode by default. Measured from 819 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 | `#ffffff` | Page background |
| surface | `#e0e0e0` | Cards, panels, raised or recessed surfaces |
| surface-2 | `#f1f1f1` | Secondary surface |
| foreground | `#000000` | Primary text |
| muted-foreground | `#666666` | Secondary text, captions |
| primary | `#000000` | Accent: primary buttons, links, focus |
| on-primary | `#ffffff` | Text on the accent |
| secondary | `#04b84c` | Secondary accent (green) |
| border | `#e0e0e0` | Hairlines, dividers, input borders |

Full painted palette by area (largest first): `#ffffff`, `#e0e0e0`, `#060b17`, `#f1f1f1`, `#000000`.

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

## Typography

- **OpenAI Sans** for h1, h2, body, 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 | OpenAI Sans | 48px | 500 | 1.16 | -1.44px |
| headline-lg | OpenAI Sans | 22px | 500 | 1.26 | -0.22px |
| headline-md | OpenAI Sans | 24px | 600 | 1.4 | normal |
| body-md | OpenAI Sans | 17px | 400 | 1.65 | -0.17px |
| label-md | OpenAI Sans | 13px | 500 | 1.4 | normal |
| button | OpenAI Sans | 14px | 500 | 1 | normal |

Type scale in use: 13px, 14px, 17px, 18px, 22px, 48px. Base body size 17px.

The H1 renders at 48px / 500, center aligned, up to 479px wide, tracking -1.44px. Sample: "OpenAI DevDay [2026]".

## Layout

- Spacing unit: 8px. Scale in use: 8, 16, 24, 32, 64, 120 (px).
- Flex and grid gaps: 8, 16, 24, 40 px.
- Content max width: 1376px, centred.
- Breakpoints: 700px, 767px, 768px, 800px, 1280px.
- Header: 0px tall, static, background `rgba(0, 0, 0, 0)`; 8 nav links at 13px / 500 (Skip to main content · Research · Business · Developers · Company · Foundation(opens in a new window) · Try ChatGPT(opens in a new window)).

## Elevation & Depth

Shadows in use, most common first:

- shadow-1: `rgba(0, 0, 0, 0.02) 0px 4px 6px 0px, rgba(0, 0, 0, 0.05) 0px 0px 2px 0px`
- shadow-2: `rgba(0, 0, 0, 0.04) 0px 3px 6px 0px, rgba(0, 0, 0, 0.04) 0px 4px 80px 8px, rgba(0, 0, 0, 0.62) 0px 0px 1px 0px`

## Shapes

- Buttons: 40px
- Inputs: 0px
- Cards and panels: 24px
- Images and media: 0px
- Radius scale: none 0px, 2xl 40px, xl 24px, md 6px, sm 4px, full 9999px

## Components

### Button, ghost

Background transparent (it sits on `#ffffff`, so place it on that colour), text `#000000`, border none, radius 0px, height 64px, padding 0px 16px, 17px / 400. Sample label: "Products".

### Button, primary

Background `#000000`, text `#ffffff`, border none, radius 40px, height 36px, padding 0px 20px, 14px / 500. Sample label: "Try ChatGPT(opens in a n".

### Button, secondary

Background `#ffffff1f`, text `#ffffff`, border none, radius 40px, height 40px, padding 0px 20px, 14px / 500. Sample label: "Close".

### Input

Height 40px, background `transparent`, border 0px solid #e5e7eb, radius 0px, 14px text, padding 10px 24px.

### Card

Background `#ffffff`, border none, radius 24px, padding 16px, shadow `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.04) 0px 3px 6px 0px, rgba(0, 0, 0, 0.04) 0px 4px 80px 8px, rgba(0, 0, 0, 0.62) 0px 0px 1px 0px`. Typical size about 768×104px.

### Link

Colour `#000000`, no underline at rest, weight 400.

## Dark Mode

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

| Token | Light | Dark |
| --- | --- | --- |
| background | `#ffffff` | `#000000` |
| surface | `#e0e0e0` | `#060b17` |
| surface-2 | `#f1f1f1` | `#1f1f1f` |
| foreground | `#000000` | `#ffffff` |
| muted-foreground | `#666666` | `#999999` |
| primary | `#000000` | `#ffffff` |
| on-primary | `#ffffff` | `#111111` |
| secondary | `#04b84c` | `#04b84c` |
| border | `#e0e0e0` | `#333333` |

## Responsive Behavior

| Viewport | Content width | Gutter | Body | H1 | Header | Hero | Grids | Buttons |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| desktop 1440px | 443px | 481px | 17px | 48px, 1 line, center | 0px, hamburger (Research menu), 2 CTA | media behind/overlapping text | 3→1 col; 6→6 col; 2→2 col | content-width |
| laptop 1024px | 960px | 303px | 17px | 41.8px, 1 line, center | 0px, hamburger (Research menu), 2 CTA | media behind/overlapping text | 3→1 col; 6→6 col; 2→2 col | content-width |
| tablet 768px | 704px | 193px | 17px | 37.9px, 1 line, center | 0px, hamburger (Open mobile navigation), 2 CTA | media behind/overlapping text | 3→3 col; 3→3 col; 3→3 col | 5 full-width |
| phone 390px | 342px | 48px | 17px | 32.2px, 2 lines, center | 0px, hamburger (Open mobile navigation) | media behind/overlapping text | 3→1 col; 6→1 col; 3→3 col | 6 full-width |

- H1 goes 48px → 32.2px (67%), 1 → 2 lines.
- Nav collapses to a hamburger by 390px (first seen at 1440px); header 0px → 0px.
- Card grids: 2 columns → 1 column on phones (gap 24px → 24px).
- Body text stays 17px at every width.
- Phone side gutter 48px.
- 6 buttons stretch full-width on phones.

## Interaction & Motion

242 elements carry transitions; typical 0.3s with cubic-bezier(0.4, 0, 0.2, 1), mostly on opacity, transform, translate. No running keyframe animations at rest.

- Hover on button-primary ("Log in"): no visible change; cursor pointer; transition color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events | 0.2s | cubic-bezier(0, 0, 1, 1).
- Hover on button-secondary ("Learn about ChatGPT Business"): no visible change; cursor pointer; transition color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events | 0.25s | cubic-bezier(0, 0, 1, 1).
- Hover on nav-link ("Research"): no visible change; cursor pointer; transition color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to | 0.1s | cubic-bezier(0, 0, 1, 1).
- 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: element did not take focus.
- No tooltips: nothing on the page carries tooltip attributes or roles and no tooltip styles exist. Do not add tooltips when rebuilding.
- Hover/click menus: below the trigger, 0px gap, right edges aligned; transparent, radius 0px, padding 0px 0px, shadow none; 2 items, 32px tall, 14px, padding 0px 16px; fades in (opacity 0.00 at 40ms → 1.00); hides within 400ms of leaving (transition or unmount).
- No scroll-reveal: content is visible without scrolling into view.
- Portal roots present: portal-root.

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 8px multiples for every padding, margin and gap; the site does not use odd values.
- Do reserve `#000000` for actions and focus; never paint large areas with it.
- Do keep body text at 17px in OpenAI Sans.
- Do match corner radii per element class (buttons 40px, cards 24px); 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.
- Note: The primary action colour is the ink colour (monochrome palette); chromatic colours appear only as small accents.
The primary action colour is the ink colour (monochrome palette); chromatic colours appear only as small accents.