openai.com design system

OpenAI | Research & Deployment

openai.comलाइट मोड819 एलिमेंट मापे गए2 घंटे पहले मापा गया
openai.com पर जाएँ

openai.com टाइपोग्राफ़ी के लिए OpenAI Sans और एक्सेंट रंग के रूप में #000000 इस्तेमाल करता है। 28 सितंबर 2026 को मापा गया।

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

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

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

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.

रंग9 tokens

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

Radius

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

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

OpenAI Sansसेल्फ़-होस्टेड, विकल्प 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
इस्तेमाल हो रहे साइज़
131417182248

कंपोनेंट

ProductsTry ChatGPT(opens in a nCloseईमेल पता
बटन ghost
#ffffff के ऊपर पारदर्शी पर #000000 टेक्स्ट, r 0px, h 64px, 17px/400
बटन primary
#000000 पर #ffffff टेक्स्ट, r 40px, h 36px, 14px/500
बटन secondary
#ffffff1f पर #ffffff टेक्स्ट, r 40px, h 40px, 14px/500
इनपुट
h 40px, 0px solid #e5e7eb, r 0px
कार्ड
#ffffff, none, r 24px, shadow
लिंक
#000000, बिना underline, 400
हेडर
0px, static, 13px पर 8 लिंक
h1
48px / 500, center अलाइन, अधिकतम 479px
फ़ॉर्म
1 forms, 2 inputs. Required markers: 0. Help texts: 0. Submit button is content-width. Label placement: other (1), floating (1).
आइकन
Icons: 29 inline SVGs, filled, sizes 9px/16px/14px/11px.

Spacing8px यूनिट

816243264120
कंटेंट की चौड़ाई
1376px
Breakpoints
700, 767, 768, 800, 1280px

Shadows2

1
2

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

  • button primary "Log in": hover पर कोई बदलाव नहीं
  • button secondary "Learn about ChatGPT Business": hover पर कोई बदलाव नहीं
  • nav link "Research": hover पर कोई बदलाव नहीं
  • input: hover पर कोई बदलाव नहीं
  • focus button primary: no visible focus style measured (may rely on :focus-visible with keyboard only)
  • focus input: element did not take focus
  • tooltip: 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).
  • मोशन: 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.

डार्क थीम

पहुँच: prefers-color-scheme के ज़रिए। लाइट → डार्क:

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

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

openai.com 1440 पिक्सेल चौड़ाई पर
1440px
openai.com 1024 पिक्सेल चौड़ाई पर
1024px
openai.com 768 पिक्सेल चौड़ाई पर
768px
openai.com 390 पिक्सेल चौड़ाई पर
390px
openai.com 1440 पिक्सेल चौड़ाई पर
1440px डार्क मोड
ViewportकंटेंटGutterBodyH1हेडरHeroGridsबटन
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.

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

DESIGN.md
Google का DESIGN.md format; Stitch, Claude Code और Cursor इसे पढ़ते हैं
11 kB
tokens.json
Style Dictionary और Figma plugins के लिए W3C Design Tokens (DTCG)
9.2 kB
tokens.css
वही मान CSS custom properties के रूप में
1.5 kB
tailwind.css
Tailwind v4 @theme ब्लॉक
931 बाइट
SKILL.md
Claude Code / Cursor skill, जो एजेंट के लिए पैक को क्रम में लगाती है
2.2 kB
BEHAVIOR.md
Hover, focus, tooltip, मेन्यू, मोशन, स्क्रॉलिंग, टेबल, फ़ॉर्म, टेक्स्ट, रेस्पॉन्सिव, डार्क मोड, stack
13 kB
evidence.json
दोनों दस्तावेज़ों के पीछे के कच्चे माप (हर viewport, probe और नियम)
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
7 इमेज
DESIGN.md257 लाइनें
---
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.