Hugging Face tasarım sistemi.

Hugging Face tasarım sistemi — ML topluluk merkezi. Güneşli sarı vurgu, monospace kimliği, neşeli ve yoğun.

Bağlam içinde görün

Aynı tasarım token’ları farklı çıktı türlerine uygulandı — bir web sitesi, bir uygulama, bir slayt, bir poster. Bu sistemle yeniden giydirilmiş özgün mock’lar, ekran görüntüleri değil.

Web sitesi
Slaytlar
Uygulama
Poster

Tasarım token’ları

Open Design token sözleşmesine uyan 56 token — agent’ınızın herhangi bir çıktıyı temalandırmak için okuduğu aynı yapılandırılmış palet, tipografi, boşluk ve hareket değerleri.

Yüzey

  • --bg #fafafa
  • --surface #ffffff
  • --surface-warm #fff4cc

Metin

  • --fg #0d1117
  • --fg-2 #374151
  • --muted #6b7280
  • --meta var(--muted)

Kenarlık

  • --border #e5e7eb
  • --border-soft #f3f4f6

Vurgu

  • --accent #ffd21e
  • --accent-on #0d1117
  • --accent-hover #f59e0b
  • --accent-active color-mix(in oklab, var(--accent), black 20%)

Semantik

  • --success #16a34a
  • --warn #f59e0b
  • --danger #dc2626

Tipografi

  • --font-display "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace
  • --font-body "Source Sans Pro", Inter, system-ui, -apple-system, sans-serif
  • --font-mono "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace

Tipografi ölçeği

  • --text-xs 12px
  • --text-sm 13px
  • --text-base 15px
  • --text-lg 18px
  • --text-xl 24px
  • --text-2xl 32px
  • --text-3xl 40px
  • --text-4xl 48px
  • --leading-body 1.55
  • --leading-tight 1.1
  • --tracking-display -0.01em

Boşluk

  • --space-1 4px
  • --space-2 8px
  • --space-3 12px
  • --space-4 16px
  • --space-5 20px
  • --space-6 24px
  • --space-8 32px
  • --space-12 48px
  • --section-y-desktop 80px
  • --section-y-tablet 48px
  • --section-y-phone 32px

Köşe yarıçapı

  • --radius-sm 4px
  • --radius-md 6px
  • --radius-lg 8px
  • --radius-pill 9999px

Yükseklik

  • --elev-flat none
  • --elev-ring 0 0 0 1px var(--border)
  • --elev-raised 0 2px 8px color-mix(in oklab, var(--fg), transparent 90%)

Odak

  • --focus-ring 0 0 0 3px rgba(13, 17, 23, 0.1)

Hareket

  • --motion-fast 120ms
  • --motion-base 200ms
  • --ease-standard cubic-bezier(0.2, 0, 0, 1)

Yerleşim

  • --container-max 1280px
  • --container-gutter-desktop 24px
  • --container-gutter-tablet 16px
  • --container-gutter-phone 12px

Design System Inspired by Hugging Face

Category: AI & LLM ML community hub. Sunny yellow accent, monospace identity, cheerful and dense.

1. Visual Theme & Atmosphere

Hugging Face is the rare ML brand that refuses to look serious. The hub leans into a sunshine-yellow accent (#ffd21e), a cartoon hugging-face emoji as the logo, and a confident IBM Plex Mono voice that reads more like a community zine than a research lab. The page background is a clean off-white (#fafafa) with text in a deep slate (#0d1117), and the yellow appears in pull quotes, tags, “new” badges, and the model-card header strip — never as an entire surface, always as punctuation.

The typographic system is monospace-forward in a way few product brands attempt: IBM Plex Mono for headings and tags, Source Sans Pro (or Inter) for body. The mix gives every page a “config file is the README” vibe — fitting for a platform built around .gitattributes and model-card.md.

Shapes are crisp, not soft: 4–6px radii, 1px solid borders that announce themselves rather than hide. Tables are dense, with row hover in a faint gray (#f3f4f6). The brand emoji punctuates everything — chips, headings, even error states wear a 🤗 — so the system feels human even when displaying technical data.

Key Characteristics:

  • Sunshine yellow #ffd21e as the lone saturated accent
  • IBM Plex Mono for headings and tags; Source Sans Pro for body
  • Off-white canvas (#fafafa) with crisp 1px borders (#e5e7eb)
  • 4–6px radii — closer to brutalist than rounded
  • Hugging-face emoji 🤗 used unironically as a system glyph
  • Dense tables, minimal padding — a community hub for power users
  • Color-coded model categories (NLP blue, vision green, audio purple)

2. Color Palette & Roles

Primary

  • HF Yellow (#ffd21e): Brand primary, badges, “new” pill, model-card header bar.
  • HF Yellow Deep (#f59e0b): Hover/active for yellow.
  • HF Yellow Soft (#fff4cc): Surface tint, callout background.

Surface & Background

  • Canvas (#ffffff): Primary page background.
  • Canvas Subtle (#fafafa): Alternate section background, footer.
  • Canvas Inset (#f3f4f6): Code block background, hover row.
  • Canvas Dark (#0d1117): Dark theme background.

Ink & Text

  • Ink Primary (#0d1117): Primary text, headings.
  • Ink Secondary (#374151): Body prose.
  • Ink Muted (#6b7280): Captions, file paths, model authors.
  • Ink Inverse (#f9fafb): Text on dark surface.

Category Accents (Model Tasks)

  • NLP Blue (#2563eb): Text/NLP task badges.
  • Vision Green (#16a34a): Computer-vision task badges.
  • Audio Purple (#9333ea): Audio/speech task badges.
  • Multimodal Pink (#db2777): Multimodal/diffusion task badges.
  • Tabular Orange (#ea580c): Tabular/structured task badges.

Semantic

  • Success (#16a34a): Build succeeded, deploy live.
  • Warning (#f59e0b): Slow inference, rate limit.
  • Error (#dc2626): Failed build, broken model.
  • Info (#2563eb): Notice banner.

Border

  • Border Default (#e5e7eb): Standard 1px hairline.
  • Border Strong (#d1d5db): Emphasized border on hover.
  • Border Subtle (#f3f4f6): Inner divider.

3. Typography Rules

Font Family

  • Display / UI / Headings / Tags: IBM Plex Mono, with fallback: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace
  • Body / Prose: Source Sans Pro, with fallback: Inter, system-ui, -apple-system, sans-serif
  • Editorial (rare, blog only): Source Serif Pro, with fallback: Georgia, serif

Hierarchy

RoleFontSizeWeightLine HeightLetter SpacingNotes
DisplayIBM Plex Mono48px (3rem)6001.1-0.01emMarketing hero
H1IBM Plex Mono32px (2rem)6001.2normalPage heading, model name
H2IBM Plex Mono24px (1.5rem)6001.25normalSection heading
H3IBM Plex Mono18px (1.125rem)6001.3normalSub-section
Body LargeSource Sans Pro18px (1.125rem)4001.6normalLede, blog intro
BodySource Sans Pro15px (0.9375rem)4001.55normalStandard prose, model card
CaptionSource Sans Pro13px (0.8125rem)5001.40.01emAuthor byline, timestamp
Tag / BadgeIBM Plex Mono12px (0.75rem)5001.20.02emTask tags, framework chips
CodeIBM Plex Mono14px (0.875rem)4001.55normalCode blocks, inline model_id

Principles

  • Mono everywhere it matters: nav links, headings, tags, and metadata are all monospaced. Sans is reserved for paragraphs of prose.
  • Weight under 600: 600 is the cap; 700 is too loud against yellow. Hierarchy is size and color.
  • Tags read as code: model tags use mono so they look like the strings developers will paste into Python.

4. Component Stylings

Buttons

Primary

  • Background: #0d1117
  • Text: #ffffff
  • Padding: 8px 16px
  • Radius: 6px
  • Hover: #374151
  • Use: “Use this model”, primary forms.

Yellow CTA

  • Background: #ffd21e
  • Text: #0d1117
  • Padding: 8px 16px
  • Radius: 6px
  • Hover: #f59e0b
  • Use: “Pro upgrade”, “Sponsor”.

Outline

  • Background: #ffffff
  • Text: #0d1117
  • Border: 1px solid #e5e7eb
  • Hover: background #f3f4f6

Cards / Model Cards

  • Background: #ffffff
  • Border: 1px solid #e5e7eb
  • Radius: 6px
  • Padding: 16px 20px
  • Header strip: #ffd21e background, 4px tall, only on featured model cards.

Inputs

  • Background: #ffffff
  • Border: 1px solid #e5e7eb
  • Radius: 6px
  • Padding: 8px 12px
  • Focus: border #0d1117, ring 0 0 0 3px rgba(13,17,23,0.1)

Tags / Chips (Task / Framework)

  • Background: category-tinted soft (#dbeafe for NLP, #dcfce7 for vision, etc.)
  • Text: matching strong category color.
  • Padding: 2px 8px
  • Radius: 4px
  • Font: IBM Plex Mono 12px / 500

Tables

  • Header: background #fafafa, border-bottom 1px #e5e7eb.
  • Row: border-bottom 1px #f3f4f6, hover #f3f4f6.
  • Padding: 8px 16px per cell — dense by design.

5. Spacing & Layout

  • Base unit: 4px. Scale: 4, 8, 12, 16, 24, 32, 48, 64.
  • Container: max 1280px, 24px gutter.
  • Sidebar (model browser): 280px wide.
  • Section rhythm: 64–96px vertical between major sections.

6. Motion

  • Duration: 120ms for hover; 200ms for menu open.
  • Easing: ease-out.
  • Tag pop: a 1.05× scale on hover at 120ms — the only exception to flat-on-hover.

7. Usage Guardrails

  • Preserve the yellow accent, mono metadata, and dense model-card layout together; yellow alone does not create a Hugging Face-like surface.
  • Use tags, tables, and repository-style metadata for model browsing or evaluation contexts rather than decorative marketing cards.
  • Keep motion minimal and functional, reserving the small tag pop for interactive taxonomy chips.
Mod
design-system
Sahne
design
Yüzey
web
Manifest ID
design-system-huggingface

Etiketler

  • design-system
  • first-party
  • design
  • ai-llm