Skip to content
Musterlab
LibraryPricingGuideFavourites
Connect your AI
All stylesStyle reference

Hugging Face

huggingface.co
Website preview
The character

Friendly ML workshop on white paper

lightaiSource Sans Pro
Colors
12
Typefaces
2
Components
13
Visit website

Copy a design guide, CSS variables or tokens into your next project.

The design language

Hugging Face operates as a friendly, utilitarian machine-learning workshop: nearly all-white canvas, hairline gray dividers, and compact, data-dense rows that feel like reading a spreadsheet. The brand voice arrives through a single warm yellow emoji logo (πŸ€—) and one dark navy panel per page that acts as a stage for that mascot β€” everything else stays in grayscale so the yellow never has to compete. Typography is one workhorse humanist sans (Source Sans Pro) carrying the full hierarchy from 10px metadata to 96px display, with IBM Plex Mono punching in only for model names and technical labels. Components are flat, low-elevation, and rounded at a tight 8px β€” the interface reads more like a research tool than a marketing site, letting the 2M+ models and datasets be the visual content.

Inside this designColorsTypographySpacing & shapeGuidelinesComponentsSurfacesCompositionNotes

Color palette

brand

Hugging Yellow

#ffd210

The πŸ€— emoji logo mark β€” the only warm color in the system, appears as a small brand stamp

accent

Link Blue

#155dfc

Violet supporting accent for decorative details and low-frequency emphasis. Do not promote it to the primary CTA color

neutral

Paper White

#ffffff

Page background, card surfaces, input fields

Cloud Gray

#f3f4f6

Secondary surface, subtle card backgrounds, tag fills

Mist Border

#e5e7eb

Hairline dividers, card borders, input borders, the dominant structural line color

Fog Border

#d1d5dc

Slightly stronger dividers, placeholder text on inputs

Ink Black

#000000

Dark supporting neutral for text, icons, and strong contrast. Do not promote it to the primary CTA color

Midnight Panel

#101828

Dark hero panel background, dark navigation wells β€” the high-contrast stage for the mascot

Deep Night

#0b0f19

Deepest panel surface used in gradients and product UI previews; Hero panel and product preview gradient β€” subtle two-stop from slate to near-black

Slate Body

#4a5565

Supporting neutral for secondary UI, dividers, and muted labels. Do not promote it to the primary CTA color

Steel Caption

#6a7282

Metadata, timestamps, helper text, nav links, muted icon fills

Ash Disabled

#99a1af

Tertiary text, inactive icons, disabled controls, the quietest neutral

Typography

Type scale

Minor Third (1.2) Β· 15px base
hero96px Β· 400 Β· 1

The quick brown fox jumps

display-lg60px Β· 400 Β· 1

The quick brown fox jumps

display48px Β· 700 Β· 1.2

The quick brown fox jumps

heading-lg30px Β· 700 Β· 1.25

The quick brown fox jumps

heading24px Β· 600 Β· 1.33

The quick brown fox jumps

heading-sm20px Β· 700 Β· 1.37

The quick brown fox jumps

subheading18px Β· 400 Β· 1.4

The quick brown fox jumps

body-md16px Β· 400 Β· 1.5

The quick brown fox jumps

Font samples use locally available fonts and fallbacks.

Aa
Primary typeface

Source Sans Pro

Weights
400, 600, 700
Sizes
10, 12, 13, 14, 15, 16, 18, 20, 24, 30, 48, 60, 96
Line height
1.20–1.56 body, 1.00–1.25 display
Fallback
Inter, IBM Plex Sans, system-ui

The single workhorse family β€” handles every UI surface from 10px metadata to 96px display headlines. Weight 400 carries body and most UI; 600 takes section labels and button text; 700 is reserved for the largest headlines where the humanist letterforms need extra weight to hold the page.

Aa
Additional typeface

IBM Plex Mono

Weights
400
Sizes
15
Line height
1.60
Fallback
JetBrains Mono, IBM Plex Mono, ui-monospace

Technical identifiers β€” model names like moonshatai/Kimi-K2.5, dataset slugs, parameter values, repo paths. The monospace grid signals 'this is a machine-readable handle' and gives the interface a workshop feel.

Spacing & shape

Spacing

Density
compact
Max width
1200px
Section gap
64px
Card padding
16px
Element gap
8px

Border radius

nav4px
tags4px
cards8px
inputs8px
buttons8px
pillButtons25.6px
largeContainers12px

Spacing scale

1px
2px
4px
6px
8px
10px
12px
14px
16px
20px
22px
24px
28px
32px
34px
40px
48px
56px
73px
80px
96px
112px
128px

Guidelines

Do

  • Use Source Sans Pro weight 400 for all body and list text; reserve weight 700 for the largest headlines and weight 600 for button labels and section headers.
  • Set cards and inputs to 8px radius and tags/small chips to 4px radius; only auth pills get the 25.6px full-round.
  • Keep the page on #ffffff canvas with #e5e7eb hairline borders β€” let the single midnight hero panel be the only dark surface on the page.
  • Use IBM Plex Mono 15px for any model name, dataset slug, repo path, or technical identifier β€” the monospace grid signals 'this is a handle, not prose'.
  • Reference the πŸ€— emoji as the brand mark; it is the only warm color allowed in the system and should stay small (16–80px).
  • Apply 2px vertical padding for tight metadata rows and 8px row gaps inside lists to keep the data-dense spreadsheet feel.
  • Use Link Blue (#155dfc) sparingly β€” active nav state, focused link, and a single accent per view. Never as a fill.

Don’t

  • Don't introduce additional brand colors or gradient backgrounds on white sections β€” the gradient Spaces cards are the only exception, and only in the trending column.
  • Don't stack shadows deeper than a single 1px-y layer; the design rejects heavy elevation.
  • Don't use Source Sans Pro below 10px or above 96px; the scale is the scale.
  • Don't round buttons to 8px and pills to 25.6px in the same row β€” the radius difference carries semantic meaning (control vs action).
  • Don't apply the midnight gradient (#101828) to anything other than the hero panel and product preview β€” the rest of the page is white.
  • Don't use the yellow logo color (#ffd21e) as a fill for buttons, backgrounds, or text β€” it lives only in the emoji.
  • Don't use 0px or 6px letter-spacing on display sizes; Source Sans Pro's humanist forms need their default tracking at large sizes.

Components

01

Midnight Hero Panel

Primary hero block anchoring the top of the page

Dark gradient panel (#101828 β†’ #0b0f19) with generous padding (~48px), the πŸ€— emoji at ~60–80px, 48px weight 700 white headline, 16px Slate Body description, and a dark pill button. This is the one place the page gets loud β€” the rest of the site whispers.

02

Dark CTA Button (Ink)

Primary call-to-action on the dark hero

Solid Ink Black background (#000000), white text, 8px radius, ~10px 20px padding, 14px Source Sans Pro weight 600. Sits on the midnight panel so the contrast inverts β€” a black button on a near-black background reads as a recessed well.

03

Ghost Secondary Button

Companion action next to the primary CTA

Transparent background with white text and a thin white border at low opacity, same 8px radius and 14px weight 600. Labeled with a small 'or' divider between it and the primary.

04

Sign Up Pill Button

Account creation in the top nav

Black fill, white text, fully rounded ~25.6px radius (pill), 8px 16px padding, 14px weight 600. The pill shape distinguishes auth actions from inline controls.

05

Top Navigation Bar

Global header

White background, ~56px tall, left-aligned πŸ€— logo + 'Hugging Face' wordmark in weight 700 16px, centered search input, right-aligned nav links in 14px Steel Caption with an active state in Link Blue (#155dfc). Sticky on scroll.

06

Search Input

Global model/dataset/user search

White fill, 1px Mist Border (#e5e7eb), 8px radius, ~10px 16px padding, 14px body placeholder in Steel Caption, left-aligned πŸ” icon. Wide β€” takes ~40% of header width.

07

Trending Column Card

One of three side-by-side cards in the 'Trending' row (Models, Spaces, Datasets)

White surface, 1px Mist Border, 8px radius, 16px padding, 18px weight 600 column header, then a vertical list of 5 entries. Each entry is a model name in IBM Plex Mono 15px weight 400 (Slate Body color), with a 12px Steel Caption metadata line below (relative time, download count, like count). No card shadow on the container β€” only the faintest hairline separates it from the canvas.

08

Spaces Card (Gradient)

Entry in the middle 'Spaces' column

Unlike the model/dataset cards, Spaces cards carry vivid color gradients (tealβ†’green, redβ†’pink, blueβ†’indigo, purpleβ†’violet). 8px radius, 16px padding, white text, small πŸ”₯ emoji + like count, and the space title in weight 600 14px white.

09

Stat List Item

Row inside a trending column

Two-line stack: model/dataset name in IBM Plex Mono 15px, metadata line in 12px Steel Caption showing relative time, download icon + count, and heart icon + count. 12px vertical gap between rows, no row dividers β€” whitespace does the separation.

10

Browse Link Button

Footer action under each trending column

Centered, 14px Link Blue, plain text with underline-on-hover, no background. Sits ~24px below the last list item.

11

Logo Wordmark

Brand mark in nav and footer

πŸ€— emoji at ~24px next to 'Hugging Face' in Source Sans Pro weight 700 16px Ink Black. The emoji is the brand β€” the wordmark is the caption.

12

Dark Product Preview Card

Screenshot-style product UI shown beside the hero copy

A ~560px wide floating panel with the same midnight gradient, 12px radius, faint shadow, containing a mock filter sidebar and model list. This is the only place shadows and larger radii appear β€” it acts as a 'window' into the product.

13

Filter Sidebar

Left column in the product preview

Dark surface with section headers in 12px uppercase Steel Caption, checkbox/filter rows in 14px white, tag chips with colored emoji prefixes (🐍 PyTorch, 🌊 TensorFlow, ⚑ JAX). Tag chips are 4px radius, 6px 10px padding, dark fill with white text.

Surfaces & elevation

Level 1

Page Canvas

#ffffff

Default page background, all content sits directly on white

Level 2

Soft Surface

#f3f4f6

Subtle background tone for tags, code blocks, secondary card wells

Level 3

Midnight Panel

#101828

Dark hero block and product preview surfaces β€” creates the dark/light yin-yang

Elevation is whisper-quiet β€” single-layer 1px-y shadows at 5–10% black. The interface stays flat; cards sit on the canvas with the faintest hint of lift. No heavy drop shadows, no glow, no colored shadow tints. The visual hierarchy comes from contrast (white vs midnight panel) and whitespace, not from stacked shadows.

Card

rgba(0, 0, 0, 0.05) 0px 1px 2px 0px

Button, Link

rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px

Layout & imagery

Layout

Centered max-width ~1200px container with generous horizontal padding. Hero is an asymmetric two-column split: dark midnight panel on the left (~55%) carrying the headline and CTAs, floating product preview card on the right (~45%) with a slight negative offset. Below the hero, a clean 3-column equal-width grid for Models/Spaces/Datasets, then a centered single-column 'The Home of Machine Learning' closer with a book emoji. Vertical rhythm is built from 64px section gaps and consistent 8px element gaps. Navigation is a single sticky top bar β€” no sidebar, no mega-menu, no footer in the main view.

Imagery

Imagery is minimal and utilitarian. The πŸ€— emoji is the primary visual asset β€” used at logo size (24px) and as a large brand stamp (60–80px) inside the dark hero. The only product 'imagery' is a screenshot-style dark UI panel showing filters and model lists, which functions as proof-of-product rather than lifestyle photography. No human photography, no abstract illustrations, no decorative graphics. The 2M+ models and datasets ARE the visual content β€” each row in the trending columns carries a tiny color emoji (🐍, 🌊, πŸ”₯, etc.) that acts as the only chromatic punctuation.

Design notes

Agent Guide

## Quick Color Reference - text: #000000 (primary), #4a5565 (body), #6a7282 (caption), #99a1af (disabled) - background: #ffffff (page), #f3f4f6 (soft surface), #101828 (midnight panel) - border: #e5e7eb (hairline), #d1d5dc (stronger) - accent: #155dfc (link blue, active states) - primary action: no distinct CTA color - brand mark: #ffd210 πŸ€— emoji only ## 3-5 Example Component Prompts 1. **Trending Column Card**: 3-column grid, each card is white with 1px #e5e7eb border, 8px radius, 16px padding. Column header at 18px Source Sans Pro weight 600 #000000. 5 list items, each with model name in IBM Plex Mono 15px #4a5565 and metadata in 12px #6a7282. 24px gap between cards. No distinct primary action color was observed; use the extracted neutral button treatments instead of inventing a filled CTA color. 3. **Search Input**: 400px wide, 1px #e5e7eb border, 8px radius, 10px 16px padding, 14px Source Sans Pro weight 400. Placeholder 'Search models, datasets, users…' in #6a7282. Left πŸ” icon in #99a1af. 4. **Spaces Gradient Card**: One in the middle column of the trending grid. 8px radius, 16px padding, teal-to-green gradient background (#0d9488 β†’ #65a30d), white text. Title in 14px Source Sans Pro weight 600, πŸ”₯ emoji + like count in 12px. 5. **Top Navigation Bar**: 56px tall, white background, left πŸ€— + 'Hugging Face' wordmark (16px weight 700 #000000), centered search input (see above), right-aligned nav links at 14px #6a7282 with active 'Spaces' in #155dfc. Sign Up pill at far right: #000000 fill, white text, 25.6px radius, 8px 16px padding.

Similar brands

GitHub

Same utilitarian data-dense list pattern with monospace identifiers, hairline gray borders, and one dark accent (the GitHub dark mode) contrasting a white canvas

npm

Identical ingredient-list aesthetic β€” white canvas, 8px-radius cards, package names in monospace, copy-paste install commands, zero decorative imagery

Replicate

AI/ML platform using the same single-mascot hero strategy with a dark product panel floating beside white headline copy

Vercel

Minimal black-on-white typography hierarchy with one dark inverted surface for the hero and the rest of the page left to typography and whitespace

Papers with Code

Research-platform list density with the same compact 2px vertical padding rhythm and monochrome-with-one-accent color discipline

Take this style into your next project.

Use the design exports or connect Musterlab to your AI.

Connect your AI

Keep exploring

Browse the library
Orderful
O

Orderful

industrial command deck β€” a logistics dispatcher's printed control sheet in black ink and surgical vermillion, every page restrained enough to let a single CTA shout.

lightsaastelegraf
Waabi
W

Waabi

Concrete monolith with molten-pink ignition. Warm gray editorial canvas where a single chromatic accent cuts through like a signal flare.

lightaiZagma
Voicenotes

Voicenotes

cream-paper notebook with a single inkwell. A warm parchment workspace where oversized editorial serifs meet whisper-quiet Inter UI, and almost every pixel is neutral except a single green check that says "you're safe."

lightaiui-sans-serif
Limitless
L

Limitless

monochrome editorial on plaster white. A single weight-contrast typeface, no accent color, and one violet spark β€” the system achieves identity through restraint, not decoration.

lightaiGreycliff
Generative AI

Generative AI

8-bit playground on clean white paper. A white canvas interrupted by flat colored bands and scattered pixel-art creatures, held together by one bold geometric typeface and zero shadows.

lightaifocal
OpenAI
O

OpenAI

Research lab notebook at noon.

lightaiOpenAI Sans
Musterlab. A closer look at good design.About the library