figma.com design system
Figma: The collaborative canvas for design, code, and AI
figma.com टाइपोग्राफ़ी के लिए figmaSans, figmaMono और एक्सेंट रंग के रूप में #000000 इस्तेमाल करता है। 28 सितंबर 2026 को मापा गया।
अपने AI के साथ इस्तेमाल करेंzip में README.md और PROMPT.md के रूप में भी
- .
- पैक को अपने प्रोजेक्ट में unzip करें, ताकि फ़ोल्डर
design/figma.com-design-pack/पर रहे। - वैकल्पिक: फ़ोल्डर को
.claude/skills/figma-com-design/में भी कॉपी करें। अंदर की SKILL.md की वजह से Claude Code जब भी UI बनाता है, पैक को अपने आप लोड कर लेता है। - नीचे दिया prompt Claude Code में पेस्ट करें और भरें कि आप क्या बनवाना चाहते हैं।
Prompt
Prompt अंग्रेज़ी में ही रहता है: उसमें पैक की फ़ाइलों के नाम हैं, और आपकी भाषा कोई भी हो, आपका AI उसे पढ़ लेता है।
Use the design pack in `design/figma.com-design-pack/` as the source of truth for how the UI looks and behaves. It was measured from https://www.figma.com/.
1. Read DESIGN.md (colours, type, spacing, radii, shadows, components) and BEHAVIOR.md (hover, focus, tooltips, menus, motion, scrolling, forms, responsive rules) before writing any code.
2. Look at every image in `design/figma.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/figma.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. The site has no dark mode, so do not add one.
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.रंग7 tokens
background
#ffffff
foreground
#000000
muted-foreground
#ffffff
primary
#000000
on-primary
#ffffff
secondary
#874fff
border
#ffffff
Spacing4px यूनिट
- कंटेंट की चौड़ाई
- 1360px
- Breakpoints
- 480, 768, 960, 1024, 1280px
Radius
बटन 8pxइनपुट 8pxकार्ड 0pxइमेज 0px
Shadows2
1
2
टाइपोग्राफ़ी2 फ़ैमिली
figmaSansसेल्फ़-होस्टेड, विकल्प InterfigmaMonoसेल्फ़-होस्टेड, विकल्प Inter
headline-displayQuick brown fox56px / 400 / lh 1 / -1.25px
headline-lgQuick brown fox30px / 400 / lh 1.2 / -0.66px
headline-mdQuick brown fox16px / 400 / lh 1.4
body-mdThe quick brown fox jumps over the lazy dog16px / 400 / lh 1.45
label-mdThe quick brown fox jumps over the lazy dog12px / 400 / lh 1 / 0.6px
buttonThe quick brown fox jumps over the lazy dog16px / 400 / lh 1.45
इस्तेमाल हो रहे साइज़
12141618304456
कंपोनेंट
Contact salesGet started for free
- बटन ghost
- #ffffff के ऊपर पारदर्शी पर #000000 टेक्स्ट, r 8px, h 46px, 16px/400
- बटन primary
- #000000 पर #ffffff टेक्स्ट, r 8px, h 46px, 18px/330
- लिंक
- #000000, बिना underline, 400
- हेडर
- 78px, fixed, 16px पर 5 लिंक
- h1
- 56px / 400, start अलाइन, अधिकतम 328px
- फ़ॉर्म
- 0 forms, 0 inputs. Required markers: 0. Help texts: 0. Label placement: no labelled inputs.
- आइकन
- Icons: 47 inline SVGs, outline/stroke, sizes 20px/24px/18px/16px, stroke 0.13/1.25.
स्क्रीनशॉट1440 और 390 चौड़ाई
इंटरैक्शन और मोशन
- button primary "Save your spot": background #000000 → oklch(0 0 none / 0.85)
- button secondary "Contact sales": shadow deepens
- nav link "Pricing": hover पर कोई बदलाव नहीं
- focus button primary: outline 2px dashed rgb(255, 255, 255), offset 4px
- tooltip: No tooltip could be triggered from the first viewport, but the stylesheet defines tooltip rules (a, a *, button:not(.tooltip-btn), button:not(.tooltip-btn) *, select, input[type="checkbox"]): .
- मेन्यू: No dropdown menus found in the header.
- मोशन: 59 elements carry transitions; typical 0.18s with ease-out, mostly on all, background, box-shadow. 1 running keyframe animations (animation-1ps4q2h 25s infinite). No scroll-reveal: content is visible without scrolling into view.
थीम
No dark mode responded to prefers-color-scheme, a theme toggle, or a root class/attribute.
रेस्पॉन्सिव1440 / 1024 / 768 / 390 px




| Viewport | कंटेंट | Gutter | Body | H1 | हेडर | Hero | Grids | बटन |
|---|---|---|---|---|---|---|---|---|
| desktop 1440 | 1360px | 40px | 16px | 56px, 3 lines, start | 78px, 4 links, 2 CTA | media below text | 3→1 col; 2→2 col; 2→1 col | content-width |
| laptop 1024 | 944px | 40px | 16px | 56px, 4 lines, start | 0px, 0 links | media below text | 3→1 col; 2→2 col; 2→1 col | content-width |
| tablet 768 | 720px | 24px | 16px | 36px, 1 line, start | 0px, 0 links | media below text | 12→2 col; 6→1 col | content-width |
| phone 390 | 358px | 16px | 16px | 36px, 2 lines, start | 0px, 0 links | media below text | 12→2 col; 6→1 col | content-width |
- H1 goes 56px → 36px (64%), 3 → 2 lines.
- Nav never collapses to a hamburger (0 links still visible at 390px).
- Card grids: 4 columns → 2 columns on phones (gap 16px → 16px).
- Body text stays 16px at every width.
- Phone side gutter 16px.
- Section top padding 80px → 40px.
पैक की फ़ाइलें14 फ़ाइलें
DESIGN.md
Google का DESIGN.md format; Stitch, Claude Code और Cursor इसे पढ़ते हैं
tokens.json
Style Dictionary और Figma plugins के लिए W3C Design Tokens (DTCG)
tokens.css
वही मान CSS custom properties के रूप में
tailwind.css
Tailwind v4 @theme ब्लॉक
SKILL.md
Claude Code / Cursor skill, जो एजेंट के लिए पैक को क्रम में लगाती है
BEHAVIOR.md
Hover, focus, tooltip, मेन्यू, मोशन, स्क्रॉलिंग, टेबल, फ़ॉर्म, टेक्स्ट, रेस्पॉन्सिव, डार्क मोड, stack
evidence.json
दोनों दस्तावेज़ों के पीछे के कच्चे माप (हर viewport, probe और नियम)
screenshots/
desktop-1440-fold.png, desktop-1440-full.jpg, laptop-1024-fold.png, tablet-768-fold.png, phone-390-fold.png, phone-390-full.jpg
DESIGN.md215 लाइनें
---
version: alpha
name: "figma.com"
description: "Design system extracted from https://www.figma.com/ on 2026-09-28"
colors:
background: "#ffffff"
foreground: "#000000"
muted-foreground: "#ffffff"
primary: "#000000"
on-primary: "#ffffff"
secondary: "#874fff"
border: "#ffffff"
typography:
headline-display:
fontFamily: "figmaSans"
fontSize: "56px"
fontWeight: 400
lineHeight: "1"
letterSpacing: "-1.25px"
headline-lg:
fontFamily: "figmaSans"
fontSize: "30px"
fontWeight: 400
lineHeight: "1.2"
letterSpacing: "-0.66px"
headline-md:
fontFamily: "figmaSans"
fontSize: "16px"
fontWeight: 400
lineHeight: "1.4"
body-md:
fontFamily: "figmaSans"
fontSize: "16px"
fontWeight: 400
lineHeight: "1.45"
label-md:
fontFamily: "figmaMono"
fontSize: "12px"
fontWeight: 400
lineHeight: "1"
letterSpacing: "0.6px"
button:
fontFamily: "figmaSans"
fontSize: "16px"
fontWeight: 400
lineHeight: "1.45"
rounded:
none: "0px"
md: "8px"
sm: "2px"
xl: "24px"
full: "9999px"
spacing:
unit: "4px"
1: "4px"
2: "8px"
3: "12px"
4: "16px"
5: "20px"
6: "24px"
7: "32px"
8: "40px"
9: "80px"
components:
button-ghost:
backgroundColor: "#ffffff"
textColor: "#000000"
typography: "{typography.button}"
rounded: "8px"
height: "46px"
padding: "12px 22px"
button-primary:
backgroundColor: "{colors.primary}"
textColor: "{colors.on-primary}"
typography: "{typography.button}"
rounded: "8px"
height: "46px"
padding: "12px 22px"
---
# figma.com
## Overview
Figma: The collaborative canvas for design, code, and AI: Figma is the canvas where design, code, and AI come together. From first idea to shipped product — go from concept to production with your whole team, in one place.
Gently rounded controls, layered shadows for depth, large display type at 56px / 400, a single neutral accent on neutrals. The site ships in light mode by default. Measured from 1287 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/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 |
| foreground | `#000000` | Primary text |
| muted-foreground | `#ffffff` | Secondary text, captions |
| primary | `#000000` | Accent: primary buttons, links, focus |
| on-primary | `#ffffff` | Text on the accent |
| secondary | `#874fff` | Secondary accent (violet) |
| border | `#ffffff` | Hairlines, dividers, input borders |
Full painted palette by area (largest first): `#ffffff`, `#000000`, `#874fff`.
Gradients in use: `repeating-conic-gradient(rgb(0, 182, 255) 0deg, rgb(0, 182, 255) 18deg, rgba(0, 0, 0, 0) 18deg, rgba(0, 0, 0, 0) 30deg)`.
The accent `#000000` is used sparingly: primary buttons, links and focus rings. Everything else stays neutral.
## Typography
- **figmaSans** for h1, h2, h3, body, button: self-hosted webfont, not freely available; use **Inter** from Google Fonts as the stand-in.
- **figmaMono** for label: self-hosted webfont, not freely available; use **Inter** from Google Fonts as the stand-in.
| Role | Family | Size | Weight | Line height | Tracking |
| --- | --- | --- | --- | --- | --- |
| headline-display | figmaSans | 56px | 400 | 1 | -1.25px |
| headline-lg | figmaSans | 30px | 400 | 1.2 | -0.66px |
| headline-md | figmaSans | 16px | 400 | 1.4 | normal |
| body-md | figmaSans | 16px | 400 | 1.45 | normal |
| label-md | figmaMono | 12px | 400 | 1 | 0.6px |
| button | figmaSans | 16px | 400 | 1.45 | normal |
Type scale in use: 12px, 14px, 16px, 18px, 30px, 44px, 56px. Base body size 16px.
The H1 renders at 56px / 400, start aligned, up to 328px wide, tracking -1.25px. Sample: "The full-stack creative canvas".
## Layout
- Spacing unit: 4px. Scale in use: 4, 8, 12, 16, 20, 24, 32, 40, 80 (px).
- Flex and grid gaps: 4, 8, 12, 16, 24, 32, 40, 60 px.
- Content max width: 1360px, centred.
- Breakpoints: 480px, 768px, 960px, 1024px, 1280px.
- Header: 78px tall, fixed, background `rgb(255, 255, 255)`; 5 nav links at 16px / 400 (Pricing · Log in · Contact sales · Get started for free).
## Elevation & Depth
Shadows in use, most common first:
- shadow-1: `oklch(0 0 none / 0.16) 0px 0px 0px 1px inset`
- shadow-2: `oklch(0 0 none / 0.16) 0px 1px 0px 0px`
## Shapes
- Buttons: 8px
- Inputs: 8px
- Cards and panels: 0px
- Images and media: 0px
- Radius scale: none 0px, md 8px, sm 2px, xl 24px, full 9999px
## Components
### Button, ghost
Background transparent (it sits on `#ffffff`, so place it on that colour), text `#000000`, border none, radius 8px, height 46px, padding 12px 22px, 16px / 400, shadow `oklch(0 0 none / 0.16) 0px 0px 0px 1px inset`. Sample label: "Contact sales".
### Button, primary
Background `#000000`, text `#ffffff`, border none, radius 8px, height 46px, padding 12px 22px, 18px / 330. Sample label: "Get started for free".
### Link
Colour `#000000`, no underline at rest, weight 400.
## Dark Mode
No dark mode responded to prefers-color-scheme, a theme toggle, or a root class/attribute.
## Responsive Behavior
| Viewport | Content width | Gutter | Body | H1 | Header | Hero | Grids | Buttons |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| desktop 1440px | 1360px | 40px | 16px | 56px, 3 lines, start | 78px, 4 links, 2 CTA | media below text | 3→1 col; 2→2 col; 2→1 col | content-width |
| laptop 1024px | 944px | 40px | 16px | 56px, 4 lines, start | 0px, 0 links | media below text | 3→1 col; 2→2 col; 2→1 col | content-width |
| tablet 768px | 720px | 24px | 16px | 36px, 1 line, start | 0px, 0 links | media below text | 12→2 col; 6→1 col | content-width |
| phone 390px | 358px | 16px | 16px | 36px, 2 lines, start | 0px, 0 links | media below text | 12→2 col; 6→1 col | content-width |
- H1 goes 56px → 36px (64%), 3 → 2 lines.
- Nav never collapses to a hamburger (0 links still visible at 390px).
- Card grids: 4 columns → 2 columns on phones (gap 16px → 16px).
- Body text stays 16px at every width.
- Phone side gutter 16px.
- Section top padding 80px → 40px.
## Interaction & Motion
59 elements carry transitions; typical 0.18s with ease-out, mostly on all, background, box-shadow. 1 running keyframe animations (animation-1ps4q2h 25s infinite).
- Hover on button-primary ("Save your spot"): background #000000 → oklch(0 0 none / 0.85); cursor pointer; transition background, box-shadow | 0.18s, 0.18s | ease-out, ease-out | delay 0s, 0s.
- Hover on button-secondary ("Contact sales"): shadow deepens; cursor pointer; transition background, box-shadow | 0.18s, 0.18s | ease-out, ease-out | delay 0s, 0s.
- Hover on nav-link ("Pricing"): no visible change; cursor pointer.
- Focus on button-primary: outline 2px dashed rgb(255, 255, 255), offset 4px.
- No tooltip could be triggered from the first viewport, but the stylesheet defines tooltip rules (a, a *, button:not(.tooltip-btn), button:not(.tooltip-btn) *, select, input[type="checkbox"]): .
- 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 `#000000` for actions and focus; never paint large areas with it.
- Do keep body text at 16px in figmaSans.
- Do match corner radii per element class (buttons 8px, 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.
- 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.