DESIGN.md · Analysis
Hugging Face
huggingface.com · 14 Nov 2026 · 47 colors · Source Sans Pro, IBM Plex Mono
Hugging Face
The open-source home of machine learning: a platform where the ML community collaborates on models, datasets, Spaces and applications. Built on a near-black canvas with a crisp light-mode counterpart, the system leans on a dense, data-first utilitarian aesthetic.
Colors
Typography
- display
- fontFamily: Source Sans Pro · fontSize: 48px · fontWeight: 700 · lineHeight: 48px
- headline-lg
- fontFamily: Source Sans Pro · fontSize: 36px · fontWeight: 700 · lineHeight: 40px
- headline-md
- fontFamily: Source Sans Pro · fontSize: 18px · fontWeight: 600 · lineHeight: 28px
- title-lg
- fontFamily: Source Sans Pro · fontSize: 20px · fontWeight: 600 · lineHeight: 28px
- body-lg
- fontFamily: Source Sans Pro · fontSize: 18px · fontWeight: 400 · lineHeight: 28px
- body-md
- fontFamily: Source Sans Pro · fontSize: 16px · fontWeight: 400 · lineHeight: 24px
- label-md
- fontFamily: Source Sans Pro · fontSize: 16px · fontWeight: 400 · lineHeight: 16px
- label-sm
- fontFamily: IBM Plex Mono · fontSize: 12px · fontWeight: 400 · lineHeight: 16px · letterSpacing: 0em
Design guidance
Overview
Hugging Face presents an open, community-first AI platform: models, datasets, Spaces and now Buckets, all browsable from one search surface. The aesthetic is a utilitarian, data-dense take on dark-mode developer tooling. The UI does not perform; it indexes. Users arrive to compare checkpoints and get to work, and the interface should feel like a well-organised registry rather than a marketing site. Light and dark modes are both first-class, switched by a `.dark` class on the root element.
Voice is direct, technical and friendly without being cute. Headlines are short declaratives ("The AI community building the future."), supporting copy names concrete nouns (models, datasets, applications), and CTAs are imperative verbs with a number when useful ("Browse 2M+ models"). Example sentence: "Search models, datasets, users…"
Colors
The canvas is a deep blue-black, #0b0f19, with stacked containers #101623 and #141c2e used for cards, the hero panel and the model browser. Borders and dividers sit at #30363d; muted text is #86898f and placeholder/inactive icons #4a4e57. Primary (#0a60b5) is the signature interactive accent: it is reserved for the solid CTA and key links, and its tonal pair #1d3f6e carries hover and selected states. Secondary (#7624f4) marks the violet family used for tags and category accents, and Tertiary (#ffa51e) is the amber used for warm highlights, likes and lightning-bolt status glyphs. Category icons on the nav use distinct hues: indigo for Models, red for Datasets, blue for Spaces, yellow for Docs, so each nav item keeps its own colour on hover (text shifts to -700, icon to -500). Gradients are
Typography
Source Sans Pro carries the entire interface at 16px body and 48px/48px bold display, a pairing that reads as humanist and open. Use weight 700 only for display and page headlines; 600 for card titles and nav emphasis; 400 for body. IBM Plex Mono is reserved for code, keyboard hints (the `Ctrl K` chip uses 12px mono at #6b7280) and model identifiers, so technical strings are visually distinct from prose. Headlines use tight leading (48px on 48px) while body uses a 1.5 ratio (24px on 16px). Apply no letter-spacing on the Source Sans levels; the default tracking keeps the humanist shapes open.
Layout
The layout is a fixed container of 1280px centred with 16px gutters on desktop, collapsing to a single column below md. The hero splits roughly 45/55 between copy and a product mock; below 1024px the mock is hidden. Vertical rhythm is built from the spacing scale: lg (16px) between related items, xl (20px) between card rows, and 2xl (32px) between major sections. Whitespace is generous around the hero headline but tight inside list rows, which pack model metadata (downloads, likes, updated time) into a single 12px mono line.
Elevation & Depth
Depth is communicated by surface-colour steps rather than shadows. Level 0 is the page canvas #0b0f19; Level 1 is a container at #141c2e; Level 2 is a hovered or elevated card at #1c2538. Where a true shadow is needed (dropdowns, the search dialog), use a two-layer stack: 0 10px 20px #0000000a, 0 2px 6px #0000000a with a 1px border of #30363d. Dialogs use rounded.xl (12px) and sit at z-index 40.
Shapes
The shape language is softly rectangular, closer to developer tooling than consumer app. Cards and containers use 8px (rounded.lg); inputs, icon buttons and list rows use 6px (rounded.DEFAULT / md); tiny tags and the keyboard chip use 5px (rounded.sm). The one exception is the pill: the primary CTA and nav chips use fully rounded 9999px so they read as actions rather than containers. Avatars are 50% circles.
Components
Action Elements The primary button is a 36px-high pill with 4px 12px padding, solid #0a60b5 background and white Source Sans Pro 16px text. On hover it transitions to #1d3f6e with on-primary-container text over 150ms cubic-bezier(0.4, 0, 0.2, 1). The secondary button is a 44px-high transparent pill with a 1px #30363d border and on-surface text; hover fills with #1c2538 in the same 150ms curve. Focus rings are 2px solid rgba(190, 219, 255, 0.5) offset 2px.
Containers & Surfaces Cards use surface-container (#141c2e) with an 8px radius and 16px internal padding. On hover, the card lifts to #1c2538 and gains the lg shadow over 150ms. Model and dataset rows use no card chrome at all: they are list items with a transparent background, 6px radius and 8px padding, switching to surface-con
Do's and Don'ts
**Do**
- Do reserve #0a60b5 for the single most important action on a screen so the CTA remains the unambiguous focal point.
- Do pair every model or dataset identifier with IBM Plex Mono so machine-readable names stand apart from prose.
- Do express hierarchy through surface-colour steps (#0b0f19 → #141c2e → #1c2538) before reaching for shadows.
- Do keep each category's nav hue consistent: indigo for Models, red for Datasets, blue for Spaces, yellow for Docs.
**Don't**
- Don't use the primary blue for body text or decorative borders; it is an action colour and dilutes CTA emphasis.
- Don't add gradients to chrome or buttons; the brand's visual energy comes from the content, not the frame.
- Don't set Source Sans Pro headlines with negative letter-spacing; the humanist letterforms lose their openness.
- Don't round CTA-adjacent containers beyond 8px except for the pill-shaped primary and secondary buttons.
Edit, then copy or download.
More analyses
All 1799 →Made by Sokosumi: AI coworkers for marketing
This tool is free. Sokosumi gives marketing teams AI coworkers that deliver finished work as files: research, briefings, reports and content.
*No Credit Card required