openai.com design system

OpenAI | Research & Deployment

openai.comtryb jasnyZmierzono elementów: 819zmierzono 67 minut temu
Odwiedź openai.com

openai.com używa czcionek OpenAI Sans, a kolorem akcentu jest #000000. Zmierzono 28 września 2026.

Użyj z Twoją AItakże w zipie jako README.md i PROMPT.md

  1. .
  2. Rozpakuj pakiet w projekcie tak, aby folder znalazł się w design/openai.com-design-pack/.
  3. Opcjonalnie: skopiuj folder także do .claude/skills/openai-com-design/. SKILL.md w środku sprawia, że Claude Code sam wczytuje pakiet za każdym razem, gdy buduje UI.
  4. Wklej poniższy prompt do Claude Code i uzupełnij, co ma zostać zbudowane.
Prompt

Prompt zostaje po angielsku: wymienia pliki z pakietu, a Twoja AI czyta go w każdym języku.

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.

KoloryTokeny: 9

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

Odstępyjednostka 8px

816243264120
Szerokość treści
1376px
Breakpointy
700, 767, 768, 800, 1280px

Zaokrąglenia

przycisk 40pxpole 0pxkarta 24pxobraz 0px

Cienie2

1
2

TypografiaCzcionki: 1

OpenAI Sanswłasny hosting, zamiennik 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
Używane rozmiary
131417182248

Komponenty

ProductsTry ChatGPT(opens in a nCloseAdres e-mail
przycisk ghost
tekst #000000 na przezroczysty na #ffffff, r 0px, h 64px, 17px/400
przycisk primary
tekst #ffffff na #000000, r 40px, h 36px, 14px/500
przycisk secondary
tekst #ffffff na #ffffff1f, r 40px, h 40px, 14px/500
pole
h 40px, 0px solid #e5e7eb, r 0px
karta
#ffffff, none, r 24px, cień
link
#000000, bez podkreślenia, 400
nagłówek
0px, static, linki: 8 po 13px
h1
48px / 500, wyrównanie: center, maks. 479px
formularze
1 forms, 2 inputs. Required markers: 0. Help texts: 0. Submit button is content-width. Label placement: other (1), floating (1).
ikony
Icons: 29 inline SVGs, filled, sizes 9px/16px/14px/11px.

Interakcje i animacje

  • button primary "Log in": bez zmiany po hover
  • button secondary "Learn about ChatGPT Business": bez zmiany po hover
  • nav link "Research": bez zmiany po hover
  • input: bez zmiany po hover
  • focus button primary: no visible focus style measured (may rely on :focus-visible with keyboard only)
  • focus input: element did not take focus
  • tooltipy: No tooltips: nothing on the page carries tooltip attributes or roles and no tooltip styles exist. Do not add tooltips when rebuilding.
  • menu: 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).
  • animacje: 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.

Ciemny motyw

Dostępny przez prefers-color-scheme. Jasny → ciemny:

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

Responsywność1440 / 1024 / 768 / 390 px

openai.com w 1440 pikselach
1440px
openai.com w 1024 pikselach
1024px
openai.com w 768 pikselach
768px
openai.com w 390 pikselach
390px
openai.com w 1440 pikselach
1440px tryb ciemny
ViewportTreśćMarginesyTekstH1NagłówekHeroSiatkiPrzyciski
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.

Pliki w pakieciePliki: 15

DESIGN.md
Format DESIGN.md od Google; czytają go Stitch, Claude Code i Cursor
11 kB
tokens.json
Tokeny designu W3C (DTCG) dla Style Dictionary i wtyczek Figma
9,2 kB
tokens.css
Te same wartości jako zmienne CSS
1,5 kB
tailwind.css
Blok @theme z Tailwind v4
931 B
SKILL.md
Skill dla Claude Code / Cursor, który układa pakiet w kolejności dla agenta
2,2 kB
BEHAVIOR.md
Hover, focus, tooltipy, menu, animacje, przewijanie, tabele, formularze, tekst, responsywność, tryb ciemny, stack
13 kB
evidence.json
Surowe pomiary stojące za oboma dokumentami (każdy viewport, sonda i reguła)
81 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
Obrazy: 7
DESIGN.mdWiersze: 257
---
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.