coursera.org design system

Coursera | Online Courses, Certificates, & Degrees

coursera.orgलाइट मोड2,384 एलिमेंट मापे गए68 मिनट पहले मापा गया
coursera.org पर जाएँ

coursera.org टाइपोग्राफ़ी के लिए Source Sans Pro और एक्सेंट रंग के रूप में #0056d2 इस्तेमाल करता है। 28 सितंबर 2026 को मापा गया।

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

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

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

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

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/coursera.org-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/coursera.org-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
#e3eeff
surface-2
#ffeac9
surface-3
#dae1ed
foreground
#0d0f12
muted-foreground
#48546e
primary
#0056d2
on-primary
#ffffff
border
#c1cbdb

Spacing4px यूनिट

4812163248
कंटेंट की चौड़ाई
1376px
Breakpoints
600, 767, 1023, 1024, 1440px

Radius

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

Shadows2

1
2

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

Source Sans Proसेल्फ़-होस्टेड, विकल्प Inter
headline-displayQuick brown fox48px / 600 / lh 1.17 / -0.48px
headline-lgQuick brown fox20px / 600 / lh 1.2 / -0.06px
headline-mdQuick brown fox14px / 600 / lh 1.29 / -0.042px
body-mdThe quick brown fox jumps over the lazy dog14px / 400 / lh 1.43
label-mdThe quick brown fox jumps over the lazy dog12px / 400 / lh 1
buttonThe quick brown fox jumps over the lazy dog14px / 400 / lh 1.43
इस्तेमाल हो रहे साइज़
121416202848

कंपोनेंट

साइन इनJoin for FreeTry Coursera for Businesईमेल पता
बटन ghost
#ffffff के ऊपर पारदर्शी पर #0056d2 टेक्स्ट, r 8px, h 48px, 16px/400
बटन secondary
#ffffff पर #0056d2 टेक्स्ट, r 8px, h 36px, 14px/700
बटन primary
#0056d2 पर #ffffff टेक्स्ट, r 8px, h 36px, 14px/600
इनपुट
h 48px, 0px solid #0d0f12, r 0px
कार्ड
transparent, 1px solid #c1cbdb, r 8px
लिंक
#ffffff, बिना underline, 600
हेडर
105px, static, 16px पर 8 लिंक
h1
48px / 600, start अलाइन, अधिकतम 1px
avatar
Avatar 18px, radius 4px, border 1px rgb(193, 203, 219)
फ़ॉर्म
1 forms, 9 inputs. Required markers: 0. Help texts: 0. Submit button is content-width. Label placement: placeholder-only (1).
आइकन
Icons: 59 inline SVGs, filled, sizes 16px/20px/24px.

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

  • button primary: hover पर कोई बदलाव नहीं
  • button secondary "Join for Free": hover पर कोई बदलाव नहीं
  • nav link "For Individuals": background transparent → #ffffff, text #ffffff → #0d0f12, border #ffffff → #0d0f12, icon/inner colour → #0d0f12
  • body link "Google Data Analytics": text #0d0f12 → #0b408b, border #0d0f12 → #0b408b, moves up 4.5px
  • input: hover पर कोई बदलाव नहीं
  • focus button primary: outline 1px solid rgba(0, 0, 0, 0), offset 2px
  • focus body link: outline 1px solid rgba(0, 0, 0, 0), offset 2px
  • focus input: no visible focus style measured (may rely on :focus-visible with keyboard only)
  • tooltip: Tooltips: above the trigger, 0px gap, centered on trigger; transparent on #0d0f12, 16px/400, radius 0px, padding 0px 0px, yes (span.cds-197, 20x8); appears after a delay; removed instantly on leave; shows about 300ms after hover.
  • मेन्यू: Hover/click menus: below the trigger, 74px gap, shifted left; transparent, radius 0px, padding 0px 0px, shadow none; 20 items, 24px tall, 14px, padding 0px 0px; appears after a delay; hides within 400ms of leaving (transition or unmount).
  • मोशन: 85 elements carry transitions; typical 0.3s with cubic-bezier(0, 0, 0.5, 1), mostly on all, transform, width. 2 running keyframe animations (onetrust-fade-in 0.4s 1; mui-auto-fill-cancel 0.01s 1). No scroll-reveal: content is visible without scrolling into view.

डार्क थीम

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

background#ffffff → #ffffff
surface#e3eeff → #e3eeff
surface-2#ffeac9 → #ffeac9
surface-3#dae1ed → #dae1ed
foreground#0d0f12 → #0d0f12
muted-foreground#48546e → #48546e
primary#0056d2 → #0056d2
on-primary#ffffff → #ffffff
border#c1cbdb → #c1cbdb

डार्क मोड shadows: rgb(0, 86, 210) 0px 0px 0px 1px inset; rgba(0, 0, 0, 0) 0px 0px 0px 1px inset

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

coursera.org 1440 पिक्सेल चौड़ाई पर
1440px
coursera.org 1024 पिक्सेल चौड़ाई पर
1024px
coursera.org 768 पिक्सेल चौड़ाई पर
768px
coursera.org 390 पिक्सेल चौड़ाई पर
390px
coursera.org 1440 पिक्सेल चौड़ाई पर
1440px डार्क मोड
ViewportकंटेंटGutterBodyH1हेडरHeroGridsबटन
desktop 14401376px-1px16px48px, 0 lines, start105px, 7 links, 2 CTAmedia below text3→1 col; 3→3 col; 2→2 colcontent-width
laptop 1024960px-1px16px48px, 0 lines, start65px, hamburger (Open Navigation Menu), 1 CTAmedia below text3→3 col; 2→2 col; 2→2 colcontent-width
tablet 768736px-1px16px32px, 0 lines, start65px, hamburger (Open Navigation Menu), 1 CTAtext only3→3 col; 2→1 col; 2→1 colcontent-width
phone 390366px-1px16px32px, 0 lines, start65px, hamburger (Open Navigation Menu)text only3→3 col; 2→1 col; 2→1 colcontent-width
  • H1 goes 48px → 32px (67%), 0 → 0 lines.
  • Nav collapses to a hamburger by 390px (first seen at 1024px); header 105px → 65px.
  • Hero: media below text → text only.
  • Card grids: 3 columns → 3 columns on phones (gap 16px → 16px).
  • Body text stays 16px at every width.
  • Phone side gutter -1px.
  • Horizontal overflow at 1440, 1024, 768, 390px (the source has a responsive bug; do not copy it).

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

DESIGN.md
Google का DESIGN.md format; Stitch, Claude Code और Cursor इसे पढ़ते हैं
11 kB
tokens.json
Style Dictionary और Figma plugins के लिए W3C Design Tokens (DTCG)
11 kB
tokens.css
वही मान CSS custom properties के रूप में
1.4 kB
tailwind.css
Tailwind v4 @theme ब्लॉक
814 बाइट
SKILL.md
Claude Code / Cursor skill, जो एजेंट के लिए पैक को क्रम में लगाती है
2.1 kB
BEHAVIOR.md
Hover, focus, tooltip, मेन्यू, मोशन, स्क्रॉलिंग, टेबल, फ़ॉर्म, टेक्स्ट, रेस्पॉन्सिव, डार्क मोड, stack
13 kB
evidence.json
दोनों दस्तावेज़ों के पीछे के कच्चे माप (हर viewport, probe और नियम)
93 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.md263 लाइनें
---
version: alpha
name: "coursera.org"
description: "Design system extracted from https://www.coursera.org/ on 2026-09-28"
colors:
  background: "#ffffff"
  surface: "#e3eeff"
  surface-2: "#ffeac9"
  surface-3: "#dae1ed"
  foreground: "#0d0f12"
  muted-foreground: "#48546e"
  primary: "#0056d2"
  on-primary: "#ffffff"
  border: "#c1cbdb"
typography:
  headline-display:
    fontFamily: "Source Sans Pro"
    fontSize: "48px"
    fontWeight: 600
    lineHeight: "1.17"
    letterSpacing: "-0.48px"
  headline-lg:
    fontFamily: "Source Sans Pro"
    fontSize: "20px"
    fontWeight: 600
    lineHeight: "1.2"
    letterSpacing: "-0.06px"
  headline-md:
    fontFamily: "Source Sans Pro"
    fontSize: "14px"
    fontWeight: 600
    lineHeight: "1.29"
    letterSpacing: "-0.042px"
  body-md:
    fontFamily: "Source Sans Pro"
    fontSize: "14px"
    fontWeight: 400
    lineHeight: "1.43"
  label-md:
    fontFamily: "Source Sans Pro"
    fontSize: "12px"
    fontWeight: 400
    lineHeight: "1"
  button:
    fontFamily: "Source Sans Pro"
    fontSize: "14px"
    fontWeight: 400
    lineHeight: "1.43"
rounded:
  none: "0px"
  md: "8px"
  sm: "4px"
  xl: "24px"
  full: "9999px"
spacing:
  unit: "4px"
  1: "4px"
  2: "8px"
  3: "12px"
  4: "16px"
  5: "32px"
  6: "48px"
components:
  button-ghost:
    backgroundColor: "#ffffff"
    textColor: "#0056d2"
    typography: "{typography.button}"
    rounded: "8px"
    height: "48px"
    padding: "0px 0px"
  button-secondary:
    backgroundColor: "#ffffff"
    textColor: "#0056d2"
    typography: "{typography.button}"
    rounded: "8px"
    height: "36px"
    padding: "8px 12px"
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.button}"
    rounded: "8px"
    height: "36px"
    padding: "8px 16px"
  input:
    backgroundColor: "transparent"
    rounded: "0px"
    height: "48px"
  card:
    backgroundColor: "transparent"
    rounded: "8px"
    padding: "16px"
---

# coursera.org

## Overview

Coursera | Online Courses, Certificates, & Degrees: Learn job-ready skills with online courses, Professional Certificates, Specializations, and degrees from Google, Meta, Anthropic, DeepLearning.AI, Stanford, and more. Start learning today.

Gently rounded controls, layered shadows for depth, confident display type at 48px / 600, a single blue accent on neutrals. The site ships in light mode by default. Measured from 2384 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 | `#e3eeff` | Cards, panels, raised or recessed surfaces |
| surface-2 | `#ffeac9` | Secondary surface |
| surface-3 | `#dae1ed` | Secondary surface |
| foreground | `#0d0f12` | Primary text |
| muted-foreground | `#48546e` | Secondary text, captions |
| primary | `#0056d2` | Accent: primary buttons, links, focus |
| on-primary | `#ffffff` | Text on the accent |
| border | `#c1cbdb` | Hairlines, dividers, input borders |

Full painted palette by area (largest first): `#ffffff`, `#e3eeff`, `#002457`, `#0d0f12`, `#ffeac9`, `#0060eb`, `#dae1ed`, `#0056d2`.

Gradients in use: `linear-gradient(86deg, rgb(0, 96, 235) 3.56%, rgb(135, 184, 255) 40.71%, rgb(126, 216, 116) 96.44%)`; `linear-gradient(278deg, rgb(249, 245, 255) 17.86%, rgb(240, 246, 255) 75.22%)`; `linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 80%)`.

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

## Typography

- **Source Sans Pro** for h1, h2, h3, body, label, 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 | Source Sans Pro | 48px | 600 | 1.17 | -0.48px |
| headline-lg | Source Sans Pro | 20px | 600 | 1.2 | -0.06px |
| headline-md | Source Sans Pro | 14px | 600 | 1.29 | -0.042px |
| body-md | Source Sans Pro | 14px | 400 | 1.43 | normal |
| label-md | Source Sans Pro | 12px | 400 | 1 | normal |
| button | Source Sans Pro | 14px | 400 | 1.43 | normal |

Type scale in use: 12px, 14px, 16px, 20px, 28px, 48px. Base body size 14px.

The H1 renders at 48px / 600, start aligned, up to 1px wide, tracking -0.48px. Sample: "Learn without limits".

## Layout

- Spacing unit: 4px. Scale in use: 4, 8, 12, 16, 32, 48 (px).
- Flex and grid gaps: 4, 8, 12, 16 px.
- Content max width: 1376px, centred.
- Breakpoints: 600px, 767px, 1023px, 1024px, 1440px.
- Header: 105px tall, static, background `rgba(0, 0, 0, 0)`, bottom hairline 1px solid rgb(193, 203, 219); 8 nav links at 16px / 600 (For Individuals · For Businesses · For Universities · For Governments · Degrees · Log In · Join for Free).

## Elevation & Depth

Shadows in use, most common first:

- shadow-1: `rgb(0, 86, 210) 0px 0px 0px 1px inset`
- shadow-2: `rgba(0, 0, 0, 0) 0px 0px 0px 1px inset`

## Shapes

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

## Components

### Button, ghost

Background transparent (it sits on `#ffffff`, so place it on that colour), text `#0056d2`, border none, radius 8px, height 48px, padding 0px 0px, 16px / 400, shadow `rgba(0, 0, 0, 0) 0px 0px 0px 1px inset`.

### Button, secondary

Background `#ffffff`, text `#0056d2`, border none, radius 8px, height 36px, padding 8px 12px, 14px / 700, shadow `rgb(0, 86, 210) 0px 0px 0px 1px inset`. Sample label: "Join for Free".

### Button, primary

Background `#0056d2`, text `#ffffff`, border none, radius 8px, height 36px, padding 8px 16px, 14px / 600, shadow `rgb(0, 86, 210) 0px 0px 0px 1px inset`. Sample label: "Try Coursera for Busines".

### Input

Height 48px, background `transparent`, border 0px solid #0d0f12, radius 0px, 16px text, padding 12px 0px.

### Card

Background `transparent`, border 1px solid #c1cbdb, radius 8px, padding 16px, no shadow. Typical size about 324×226px.

### Link

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

## Dark Mode

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

| Token | Light | Dark |
| --- | --- | --- |
| background | `#ffffff` | `#ffffff` |
| surface | `#e3eeff` | `#e3eeff` |
| surface-2 | `#ffeac9` | `#ffeac9` |
| surface-3 | `#dae1ed` | `#dae1ed` |
| foreground | `#0d0f12` | `#0d0f12` |
| muted-foreground | `#48546e` | `#48546e` |
| primary | `#0056d2` | `#0056d2` |
| on-primary | `#ffffff` | `#ffffff` |
| border | `#c1cbdb` | `#c1cbdb` |

Dark-theme shadows: `rgb(0, 86, 210) 0px 0px 0px 1px inset`; `rgba(0, 0, 0, 0) 0px 0px 0px 1px inset`

The dark pass changed the page but the result still reads as light; check the dark screenshot.

## Responsive Behavior

| Viewport | Content width | Gutter | Body | H1 | Header | Hero | Grids | Buttons |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| desktop 1440px | 1376px | -1px | 16px | 48px, 0 lines, start | 105px, 7 links, 2 CTA | media below text | 3→1 col; 3→3 col; 2→2 col | content-width |
| laptop 1024px | 960px | -1px | 16px | 48px, 0 lines, start | 65px, hamburger (Open Navigation Menu), 1 CTA | media below text | 3→3 col; 2→2 col; 2→2 col | content-width |
| tablet 768px | 736px | -1px | 16px | 32px, 0 lines, start | 65px, hamburger (Open Navigation Menu), 1 CTA | text only | 3→3 col; 2→1 col; 2→1 col | content-width |
| phone 390px | 366px | -1px | 16px | 32px, 0 lines, start | 65px, hamburger (Open Navigation Menu) | text only | 3→3 col; 2→1 col; 2→1 col | content-width |

- H1 goes 48px → 32px (67%), 0 → 0 lines.
- Nav collapses to a hamburger by 390px (first seen at 1024px); header 105px → 65px.
- Hero: media below text → text only.
- Card grids: 3 columns → 3 columns on phones (gap 16px → 16px).
- Body text stays 16px at every width.
- Phone side gutter -1px.
- Horizontal overflow at 1440, 1024, 768, 390px (the source has a responsive bug; do not copy it).

## Interaction & Motion

85 elements carry transitions; typical 0.3s with cubic-bezier(0, 0, 0.5, 1), mostly on all, transform, width. 2 running keyframe animations (onetrust-fade-in 0.4s 1; mui-auto-fill-cancel 0.01s 1).

- Hover on button-primary: no visible change; cursor pointer.
- Hover on button-secondary ("Join for Free"): no visible change; cursor pointer; transition none | 0s | ease.
- Hover on nav-link ("For Individuals"): background transparent → #ffffff, text #ffffff → #0d0f12, border #ffffff → #0d0f12, icon/inner colour → #0d0f12; cursor pointer.
- Hover on body-link ("Google Data Analytics"): text #0d0f12 → #0b408b, border #0d0f12 → #0b408b, moves up 4.5px; cursor pointer.
- Hover on input: no visible change; cursor text.
- Focus on button-primary: outline 1px solid rgba(0, 0, 0, 0), offset 2px.
- Focus on body-link: outline 1px solid rgba(0, 0, 0, 0), offset 2px.
- Focus on input: no visible focus style measured (may rely on :focus-visible with keyboard only).
- Tooltips: above the trigger, 0px gap, centered on trigger; transparent on #0d0f12, 16px/400, radius 0px, padding 0px 0px, yes (span.cds-197, 20x8); appears after a delay; removed instantly on leave; shows about 300ms after hover.
- Hover/click menus: below the trigger, 74px gap, shifted left; transparent, radius 0px, padding 0px 0px, shadow none; 20 items, 24px tall, 14px, padding 0px 0px; appears after a delay; hides within 400ms of leaving (transition or unmount).
- 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 `#0056d2` for actions and focus; never paint large areas with it.
- Do keep body text at 14px in Source Sans Pro.
- Do match corner radii per element class (buttons 8px, cards 8px); 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.