Aller au contenu principal
Meta for Developers

Meta for Developers design system DESIGN.md et guide de style

Developer ToolsProv1.0.0 (Dernière)
developers.facebook.com•Associé le 29 nov. 2026, 04:00•Vérifié par Bestony

Meta's developer portal: a shadowless white system in the Optimistic type superfamily, one blue, a four-step grey ramp, a six-stop pastel hero wash, and photo legibility solved with gradient scrims instead of shadows.

Site Pro

Vous pouvez lire gratuitement le récit de design complet et jusqu'à 8 couleurs principales de Meta for Developers. Passez à Pro pour accéder aux 189 design tokens, aux téléchargements complets de DESIGN.md et à 1 révisions.

Affichage de 8 sur 28 couleurs
Sombre (2%)
Aa Exemple#1C2B33
ink
rgb(28, 43, 51)
Sombre (0%)
Aa Exemple#000000
scrim
rgb(0, 0, 0)
Sombre (14%)
Aa Exemple#0064E0
primary
rgb(0, 100, 224)
Clair (100%)
Aa Exemple#FFFFFF
surface
rgb(255, 255, 255)
Sombre (1%)
Aa Exemple#0A1317
ink-deep
rgb(10, 19, 23)
Sombre (2%)
Aa Exemple#232323
ink-warm
rgb(35, 35, 35)
Sombre (1%)
Aa Exemple#1C1E21
ink-label
rgb(28, 30, 33)
Clair (81%)
Aa Exemple#DAEBFD
wash-blue
rgb(218, 235, 253)
Obtenez la palette complète, les variables CSS et la source DESIGN.md

Passez à DesignMD Pro pour copier toutes les couleurs en :root variables CSS, inspecter les références de tokens de composants et télécharger le fichier source complet.

Règles de design

Overview

Meta for Developers is the entry point for everything you can build on Facebook, Instagram, Messenger, WhatsApp and Threads. It is a marketing portal built on Meta's internal design system, and it shows in the best way: the CSS is machine-generated with obfuscated class names and a full token layer, so the visual language is unusually disciplined — one blue, one grey ramp, one type superfamily, and a component set that repeats across all 6,128px of the page.

The visual idea is a white page with one pastel gesture at the top and photography doing the rest. The hero is a single wide card filled with a six-stop gradient running mint → light blue → lavender → pink → peach, holding one 64px line of type. Everything below it is white, grey or dark bands separated by whitespace and 1px hairlines, with photographs — product shots, headshots, event photography — carrying the colour.

The system's most distinctive decision is that it has no shadows at all, and says so explicitly. Meta's token layer defines --shadow-1, --shadow-2 and --shadow-inset, and this theme sets all three to transparent. Where other sites would reach for elevation, this one uses surface steps (#ffffff → #f1f4f7 → #1c2b33) and, over photography, gradient scrims.

Colors

  • Primary / Meta blue (#0064e0): Links (17), the filled buttons (9), and the active states. The button gradient is a separate, lighter pair — 45deg, #0065e0 → #0f8bff — so a blue button is never flat. Note the two blues are one digit apart (#0064e0 for links, #0065e0 for the gradient's start); they are not the same token and are not interchangeable.
  • Primary-soft (#385898): The older Facebook blue, still used for the product pills, the quiet buttons and the inverse button labels. It is the site's second blue and it does a lot of quiet work.
  • Primary-ink (#0457cb): The pressed/link-hover blue, used once.
  • Ink (#1c2b33): The primary text colour (27 uses) and the ground of the dark bands and the footer (3 uses). A blue-grey near-black, never pure black.
  • Ink-deep (#0a1317): The darkest text, 11 uses, for the heaviest headings.
  • Grey ramp — four steps, and they are the real workhorse: #465a69 (secondary copy, 15 uses) → #5d6c7b (muted copy and nav links, 19 uses) → #67788a (faintest, the 12px eyebrows, 3 uses). Body ink #1c2b33 sits above them.
  • Surface (#ffffff): The page ground (21 uses) and every card.
  • Subdued (#f1f4f7): The grey band ground and the product pills (5 uses).
  • Borders: #cbd2d9 and #dadde1, used sparingly — separation comes from surface steps, not lines.
  • The hero wash is the only saturated colour block on the page, and it is six stops of pastel: 295.2deg, #def9ea → #ddf7ec 10% → #daebfd 28% → #e1e6fa 67% → #f5e4f4 89% → #fdefe6. Mint at the top left, peach at the bottom right, with light blue and lavender between. It reads as a soft light source rather than as a brand colour.
  • Scrim (#000000b8): The black-to-transparent gradient laid over photographs — 180deg, #0000 75%, #000 and 180deg, #0000, #000000b8. This is how white type stays legible over imagery in a system with no shadows.

The inner pages add four more surfaces: #f8f9fb (a faintly blue-grey band ground, three uses on the blog and success-stories pages — one step off #f1f4f7 and easy to confuse with it), #f2f2f2 (a neutral grey, one use), #232323 (a warm near-black used for blog body copy, seventeen uses) and, on /docs only, #e1edf7 (a pale blue surface) and #283943 (a dark slate band).

Typography

One superfamily, "Optimistic", in three roles. It is Meta's own house family and it ships as several separately-named cuts, which the rendered font-family list makes visible:

Design system specification
CutWeights loadedRole
Optimistic Display500, 700Every heading
Optimistic Text (+ Text Normal / Text Bold)400, 500, 700Body and UI
Optimistic AI VFvariable 300–800Links and nav

Fallbacks are Helvetica / Helvetica Neue / Arial, with Montserrat and Noto Sans behind the Display and AI VF cuts. A fourth family, Freight Sans, is declared with a complete twelve-face @font-face set (300–900, roman and italic) but is used by a single class and never appears in the rendered families — it is framework ballast on this page.

The /docs section does not use Optimistic at all. It renders in Graphik LCG Web (79 of its 84 measured text elements) with Optimistic AI VF only for links, plus a cut called "Optimistic 95" on six elements. Its text colour is #1c1e21 rather than #1c2b33, it carries a pale-blue #e1edf7 surface and a dark-slate #283943 band that appear nowhere on the marketing pages, and its radii drop to 4px — the marketing site's loosest radius is 64px. So the portal is really two systems sharing one header and footer: a rounded, Optimistic-set marketing surface, and a tight, Graphik-set documentation surface. If you are copying this design, pick one.

The scale is 1.1 leading for display and 1.5 for body, with the component token layer stating it directly: --body-font-size: 16px; --body-line-height: 22px; --display1-font-size: 48px; --display1-line-height: 52px.

Design system specification
LevelFaceSize / weightLeading
Hero h1Optimistic Display64px / 50070.4px
Section h2Optimistic Display48px / 50052.8px
Card h3Optimistic Display36px / 50039.6px
Sub h3 / h4Optimistic Display24px / 500–60026.4px
Lead pOptimistic Text24px / 40036px
Body pOptimistic Text18px / 50027px
Link / button / navOptimistic AI VF15px / 40020px
EyebrowOptimistic Text12px / 40013.2px, +0.48px

Three details define the voice of the type:

  • Headings are 500, not bold. The 64px hero line is Optimistic Display Medium, which is why it reads as calm rather than loud at that size. Only the 24px card headings go to 600.
  • The 12px eyebrow with +0.48px tracking is the system's small-label style, used for "SUCCESS STORIES" and the section kickers, in the faintest grey #67788a. It is the only place tracking is positive.
  • One heading carries −1px tracking — a single inverse 36px heading over a dark band, tightened to fit its measure.

Layout

A 1296px container (nine uses) with a wider 1504px variant for full-bleed bands, and a 16px gutter. The page is 6,128px tall and is a vertical stack of full-width bands:

  1. Header — 80px tall, white, with the Meta wordmark left, four nav items with dropdown chevrons, "Login" and a search icon right. No border; the separation from the hero is whitespace alone.
  2. Hero — one wide gradient card at 64px radius, centred 64px type and a dek, inset from the page edges rather than full-bleed.
  3. "Get started" — four icon tiles in a row, each a dark rounded square beside a blue link with a trailing arrow.
  4. "What's new" — a horizontal carousel of cards: a photo card, a dark card with a metallic ring render, and a light card, with prev/next chevrons.
  5. "Build with us" — rows of product pills (#f1f4f7 grounds, 100px radius, ~77–85px tall), one per platform: Facebook, Messenger, Instagram, WhatsApp, Threads.
  6. "Success stories" — a dark #1c2b33 band with a 36px inverse heading and three photo cards with names, one-line stories and "Learn more" links.
  7. "Explore all our products" — a list of rows, each a title, a one-line description and an "Overview" link on the right. No cards, no borders between rows.
  8. "Latest news" — three cards with a date, a headline, an excerpt and a source tag.
  9. Newsletter — a blue gradient card with a "Sign up" inverse button.
  10. Footer — dark #1c2b33, four link columns, a social icon row and a language picker.

The rhythm is 72px and 48px of vertical padding, with 32px the default inner gap and 16px the tight one. Spacing runs on a strict 4px base: 4, 8, 10, 16, 24, 32, 48, 72, 80.

Elevation & Depth

None — and the token layer proves it is intentional. There is not a single drop shadow on the marketing pages, and the CSS contains --shadow-1: transparent; --shadow-2: transparent; --shadow-inset: transparent. Meta's design system ships elevation tokens and this theme turns them off.

Depth is expressed three other ways:

  • Surface steps. #ffffff for cards, #f1f4f7 for subdued bands, #1c2b33 for the dark bands and footer. A pill on a grey band and a card on white both read as raised with no shadow applied.
  • Gradient scrims over photography. 180deg, #0000 75%, #000 and 180deg, #0000, #000000b8 darken the bottom of photos so white captions stay legible. This is the system's answer to "text over image" and it is the only place a black appears at partial opacity.
  • Inset hairlines. #cbd2d9 and #dadde1 at 1px, used to separate rows in the product list and the footer columns.

The one quasi-elevation effect is the pill's 100px radius, which makes a flat #f1f4f7 rectangle read as a physical chip without any shadow.

There is exactly one box-shadow in the whole system, and it is not a drop shadow: 0 0 0 10px var(--primary-deemphasized-button-background) — a 10px spread ring in the deemphasised button colour, used on the blog and success-stories pages to knock a card out of a busy ground. Zero blur, zero offset, pure outline.

Shapes

Generous and rounded, with a full ladder available. The measured radii are 100px (16 uses), 32px (10), 30px (9), 24px (13), 20px (1) and 64px (1), plus a 9999px token.

  • 100px / 9999px — every pill: the product pills, both button variants, and the quiet "Explore all products" control. Anything interactive is a pill.
  • 32px and 30px — the large cards and the carousel tiles.
  • 24px — the mid-size cards and the icon tiles.
  • 64px — the hero gradient card, the single largest radius on the page.
  • 20px — one component, the smallest card.

There are no square corners anywhere in the resting state. The shape rule is: pills for controls, 24–32px for cards, 64px for the hero, nothing sharp.

The blog and success-stories pages then add the system's one structural trick: a card is rounded on the corners that meet open space and left square where two surfaces meet. A photo-over-text card is built as two elements — .border-radius: 24px 24px 0 0 on the image and 0 0 24px 24px on the body beneath it — so the pair reads as one 24px-rounded card while the seam between them stays flush. The side-by-side variant rounds only the outer pair: 24px 0 0 24px on the image column. This is the same compensation idea as Bootstrap's calc(.25rem - 1px), applied at a much larger radius.

Motion & Micro-interaction

One house curve, applied to transforms. The dominant transition by far is transform 0.333s cubic-bezier(0, 0, 0.1, 1) — sixteen declarations. That curve is Meta's signature: a very fast, very aggressive ease-out that front-loads almost all of the movement into the first tenth of a second, so a 333ms transition feels like a 100ms one.

The rest of the vocabulary:

  • opacity, transform, visibility 0.3s ease — nine uses, the standard enter/exit for dropdowns and overlays.
  • background, opacity 0.333s cubic-bezier(0.53, 0, 0.28, 1) — seven uses, a second, gentler curve for colour washes.
  • all 0.2s linear — nine uses, a snap for small state changes.
  • padding 0.2s cubic-bezier(0.08, 0.52, 0.52, 1) — two uses, on a control that grows when focused.
  • One delayed entrance: opacity, transform 0.333s cubic-bezier(0, 0, 0.1, 1) 0.6s — a single element that waits 600ms before arriving.

There are no keyframe animations, no looping motion, no parallax and no scroll-linked effects. The carousel advances with the house transform curve, and the dropdowns use the opacity/transform/visibility trio.

Voice & Content Strategy

  • Tone of voice: Plain and infrastructural. The hero is one sentence — "Build technologies that help people connect, find communities and grow businesses." — with no adjective in it. The page never sells; it routes.
  • The four doors: "Get started" offers exactly four entrances — Explore all products, Browse documentation, Developer tools, Get support — each an icon plus a blue link with an arrow. The whole page's job is to get you through one of them.
  • Capitalization: Sentence case in headings and body. The one uppercase string is the "SUCCESS STORIES" eyebrow, and it is the system's only small-caps-style label.
  • Products are named exactly as Meta names them: Ads and Monetization, Artificial Intelligence, Authentication, Business Messaging, Gaming, Open Source, Social Integrations. Each row is a title, a one-line description and an "Overview" link — no marketing verb.
  • Success stories are named customers with one-line outcomes: "Concepto Móvil boosts business solutions and aligns teams through Meta Certification", "Universal Pictures engaging fans through interactive multimedia messaging campaigns". Real companies, real platforms, no superlatives.
  • The scale claim is one number: "200M+ businesses use our services every month to connect with customers and grow." It appears once, as the dark band's heading, and is not repeated.
  • News is dated and versioned: "Introducing Graph API v25.0 and Marketing API v25.0", "Announcing WhatsApp Business Tools MCP: Set-up and Manage WhatsApp Business from your AI Agent". Version numbers are the headline.
  • Outbound links are wrapped. Every external destination goes through l.facebook.com/l.php?u=… — Meta's link shim — including links to its own other properties (llama.com, developers.meta.com/horizon). Nothing leaves the domain unwrapped.
  • Support is multi-channel and specific: Developer Support, Bug tool, Platform status (metastatus.com), Developer community forum, Report an incident. Five distinct destinations rather than one contact form.

Components

  • hero — The gradient card: 64px radius, 64px of padding, centred, inset from the page edges. Filled with the six-stop pastel wash and holding one 64px Optimistic Display 500 line plus a dek.
  • hero-wash — The wash itself, in five stepped tokens (mint, blue, lavender, pink, peach) so any one stop can be used alone as a tinted surface.
  • display-heading — Optimistic Display 500 at 64px on a 70.4px line in ink. The largest type on the site and the only 64px.
  • display-heading-inverse — A 36px white heading over a dark band, carrying the system's only negative tracking (−1px) to fit its measure.
  • section-heading — 48px / 500, used for "Get started", "What's new", "Build with us", "You can help families"-scale section titles.
  • subheading / card-heading — 24px, at 500 on light grounds and 600 with +0.84px tracking in white on dark ones.
  • eyebrow — 12px / 400 in #67788a with +0.48px tracking. Uppercase. Used for "SUCCESS STORIES" and section kickers.
  • lead — 24px / 400 on a 36px line, the hero dek and the band introductions.
  • body — 18px / 500 on 27px, the default paragraph.
  • link — #0064e0 at 15px, the default inline and standalone link, with a trailing arrow on the navigation-style variants.
  • button-primary — A 100px-radius pill, 45deg #0065e0 → #0f8bff gradient, white label, 12px 20px padding, 46px tall.
  • button-inverse — The newsletter card's "Sign up": a white pill with a #385898 label, same metrics.
  • button-quiet — "Explore all products": no fill at all, just a #385898 label in a 100px-radius pill outline at 12px 20px, 48px tall.
  • product-pill — The "Build with us" chips: #f1f4f7 ground, 100px radius, a platform icon plus a #385898 label, 77–85px tall with 20px 35px of padding. The most-repeated interactive shape on the page.
  • icon-tile — The four "Get started" tiles: a dark #1c2b33 rounded square (24px radius, 48px) holding a white glyph, beside a blue link.
  • band-dark — #1c2b33 full-width with 72px of padding, white inverse headings, and photo cards floating on it.
  • band-subdued — #f1f4f7 full-width with 48px of padding, for the quieter mid-page sections.
  • hairline — 1px #cbd2d9 / #dadde1 / #f1f4f7, separating product rows and footer columns.
  • photo-scrim — 180deg, #0000 75%, #000 laid over the bottom of a photograph so a white caption or headline stays legible. The system's substitute for a shadow.
  • product-row — A title, a one-line description and a right-aligned "Overview" link, at 24px radius and 24px padding, with no border.
  • footer — Dark #1c2b33, four link columns at 15px, a social icon row, a legal row and a language picker.
  • language-picker — "English (US)" in the footer's last row, set in #0a1317 — the darkest ink in the system — at 15px Optimistic AI VF.
  • split-card — The blog and success-stories card, built as two stacked elements: the image takes 24px 24px 0 0 and the body beneath it 0 0 24px 24px, with 32px of padding on the body. Read together they are one 24px-rounded card with a flush seam; the side-by-side variant rounds only the outer pair (24px 0 0 24px) so the inner seam against the sibling column stays square.
  • halo-ring — box-shadow: 0 0 0 10px in the deemphasised button background colour. No blur, no offset — a 10px outline that lifts a card off a busy ground. The only box-shadow in the system.
  • band-faint / band-neutral — #f8f9fb and #f2f2f2 grounds used by the blog and success-stories pages, one step off the marketing site's #f1f4f7.
  • docs-surface / docs-band — The /docs subsystem's tighter treatment: #e1edf7 surfaces and #283943 bands at a 4px radius and 16px padding, in Graphik LCG Web rather than Optimistic.

Do's and Don'ts

  • Do keep the three Optimistic cuts in their lanes. Optimistic Display for headings, Optimistic Text for body, Optimistic AI VF for links and nav. Never set body copy in Display or a heading in Text.
  • Do set headings at 500, not bold. The 64px hero line is Medium and that is why it reads as calm; reserve 600 for the 24px card headings.
  • Do hold display leading at 1.1 and body leading at 1.5. The token layer states both explicitly (--display1-line-height: 52px for 48px type).
  • Do use the 12px / +0.48px eyebrow for section kickers, in the faintest grey. It is the only uppercase and the only positive tracking in the system.
  • Do make every interactive element a pill. 100px radius on buttons, quiet buttons and product pills alike.
  • Do keep cards at 24–32px and the hero at 64px. Nothing is ever square.
  • Do turn shadows off. The theme sets --shadow-1, --shadow-2 and --shadow-inset all to transparent; use surface steps and gradient scrims instead.
  • Do solve text-over-photo with a 180deg, #0000 75%, #000 scrim. It is the system's only partial-opacity black and it is the reason white type stays legible over imagery.
  • Do keep the four-step grey ramp in order: #465a69 → #5d6c7b → #67788a under ink #1c2b33. Hierarchy is carried entirely by that ramp plus size.
  • Do round a card on the corners that meet open space and leave it square where two surfaces meet — 24px 24px 0 0 over 0 0 24px 24px for a stacked card, 24px 0 0 24px for a side-by-side one. The seam stays flush while the outer silhouette reads as fully rounded.
  • Do wrap every outbound link. The page routes all external destinations, including Meta's own other properties, through l.facebook.com/l.php.
  • Do use the six-stop pastel wash exactly once, on the hero. It is the page's single ornamental gesture and it works because nothing else is coloured.
  • Don't confuse the two blues. #0064e0 is the link blue; #0065e0 is only the first stop of the button gradient. They are one digit apart.
  • Don't reach for #385898 as a generic blue. It is the older Facebook blue, still doing real work on pills and quiet buttons, but it is not the primary.
  • Don't ship Freight Sans. Twelve @font-face rules are declared for it and nothing on this page renders it — dead weight in the critical path.
  • Don't add a drop shadow to a card or a pill to make it "pop". Raise it with a surface step instead (#ffffff on #f1f4f7, or #f1f4f7 on white). The one permitted box-shadow is the 10px zero-blur spread ring, and only to knock a card out of a busy ground.
  • Don't assume /docs inherits the marketing system. It renders in Graphik LCG Web at a 4px radius with #e1edf7 and #283943 surfaces — a second, unrelated type and shape system sharing one header. Decide which one you are building before you copy a token.
  • Don't confuse #f1f4f7 with #f8f9fb. The blog and success-stories pages use the latter, one faintly bluer step off the marketing band ground.
  • Don't forget the container is 1296px, not 1440. The wider 1504px value is reserved for full-bleed bands.

Comment utiliser le DESIGN.md de Meta for Developers avec un agent IA

  1. Récupérer le DESIGN.md de Meta for Developers

    Récupérez https://www.designmdpro.app/websites/meta-for-developers.md ou appelez l'outil get_design_md avec le slug "meta-for-developers" depuis le serveur MCP DesignMD Pro pour obtenir la version publique. Le jeu complet de tokens nécessite Pro.

  2. Enregistrez-le en tant que DESIGN.md à la racine de votre projet

    Placez le fichier à côté d'AGENTS.md ou CLAUDE.md afin que Claude Code, Cursor, Codex et les autres agents de code puissent le trouver.

  3. Demandez à votre agent de le suivre

    Par exemple : « Construis la page de paramètres en suivant le design system de Meta for Developers dans DESIGN.md — utilise ses tokens de couleurs, de typographie et d'espacement. »

Prompt IA style Meta for Developers

Construis une landing page responsive dans le style visuel de Meta for Developers (developers.facebook.com), en suivant son design system DESIGN.md.

## Couleurs
- ink: #1C2B33
- scrim: #000000
- primary: #0064E0
- surface: #FFFFFF
- ink-deep: #0A1317
- ink-warm: #232323
- ink-label: #1C1E21
- wash-blue: #DAEBFD

## Typographie
- nav: "Optimistic AI VF", 15px, weight 400, line-height 1.33
- label: "Optimistic Text", 15px, weight 400, line-height 1.33
- display-lg: "Optimistic Display", 48px, weight 500, line-height 1.1
- label-strong: "Optimistic Text Bold", 14px, weight 700, line-height 1.4, letter-spacing 0.07px

## Rayons de bordure
- lg: 30px
- md: 24px
- sm: 20px

## Règles
- Utilise uniquement les couleurs ci-dessus pour les arrière-plans, textes, bordures et accents ; n'invente pas de nouvelles couleurs.
- Applique les styles typographiques ci-dessus à tout le texte en respectant leur hiérarchie de tailles et de graisses.
- Reprends les rayons de bordure et les espacements des échelles ci-dessus afin que les composants restent cohérents.

DESIGN.md complet : https://www.designmdpro.app/websites/meta-for-developers.md
Personnaliser dans le générateur de prompt v0 →

Questions fréquentes

Quelle est la couleur principale de Meta for Developers ?

La couleur principale de la marque Meta for Developers est Bleu (#0064E0). Son DESIGN.md définit 28 color tokens au total.

Quelle police utilise Meta for Developers ?

Les polices principales de Meta for Developers sont Optimistic AI VF et Optimistic Text.

Comment utiliser les design tokens de Meta for Developers dans Tailwind CSS ou shadcn/ui ?

La couleur principale de Meta for Developers (#0064E0) est publique sur cette page. Générer un thème Tailwind ou shadcn complet nécessite le DESIGN.md intégral, disponible avec DesignMD Pro.

Ce DESIGN.md de Meta for Developers est-il officiel ?

Non. DesignMD Pro l'a extrait du site public developers.facebook.com. Il n'a aucune affiliation avec Meta for Developers et n'est pas approuvé par cette marque.

Quand le DESIGN.md de Meta for Developers a-t-il été mis à jour pour la dernière fois ?

La version 1.0.0 a été capturée le 29 novembre 2026.

Meta for Developers et ses marques appartiennent à leurs propriétaires respectifs. DesignMD Pro est un projet indépendant, sans affiliation ni approbation de Meta for Developers ; ce DESIGN.md est extrait du site public à titre de référence uniquement.