Hugging Face sistem desain & panduan gaya DESIGN.md
AIProv1.0.0 (Terbaru)The open hub of machine learning — dense white directories, black pill CTAs, and a hugging emoji over per-Space generated gradients.
Anda dapat membaca narasi desain lengkap Hugging Face dan hingga 8 warna utama secara gratis. Upgrade ke Pro untuk semua 123 token desain, unduhan DESIGN.md lengkap, dan 1 revisi.
Upgrade ke DesignMD Pro untuk menyalin semua warna sebagai :root variabel CSS, memeriksa referensi token komponen, dan mengunduh file sumber lengkap.
Panduan Desain
Overview
Hugging Face is the open hub of machine learning, and its design system is a friendly utilitarian directory — the visual equivalent of a well-run public library. Pages are white, dense, and information-first: Source Sans Pro text in literal black, IBM Plex Mono for stats and code, 8px-radius cards separated by the faintest #F3F4F6 hairlines, and a single black pill as the universal primary action ("Sign Up", "Get Team").
What makes it unmistakably Hugging Face is the warmth layered onto the utility: the 🤗 emoji is the logo and section decoration, filter chips come in a dozen task colors, every Space card gets its own generated gradient cover (violet, teal, blue, pink — no two alike), the PRO tier glows with a soft 10%-alpha rainbow wash, and the homepage hero is a giant near-black (#0B0F19) billboard panel with 26px rounded corners. It is enterprise infrastructure wearing a smile.
Colors
- Primary — HF Blue (#3080FF): links, "Most popular" pills, hover states, focused rings, and blue task accents. White text on solid fills.
- Tertiary — Signal Orange (#FE6E00): task-category icons, "new" badges, and warm accents across filter chips.
- Brand accents: HF Yellow (#FFD236) powers the emoji-gold PRO touches and gradient stops; Inference Indigo (#625FFF) marks inference/provider branding. Task chips cycle a wider Tailwind palette — pink
#F6339A, teal#00BAA7, purple#8D54FF, green#00BB7F, red#FB2C36. - Surfaces: white pages;
#F9FAFB–#F3F4F6card washes and chip fills; pricing cards sit atwhite/40translucency over a45.4degrainbow wash (#F70059→#52FF00→#1400FF→#FF0000→#FFE600, all ≈10% alpha) — the signature "gradient-rainbow" backdrop. - Ink: pure
#000000primary text (an unusually hard black),#4A5565/#6A7282secondary,#99A1AFplaceholders, hairlines at#E5E7EBand#F3F4F6. - Inverse:
#0B0F19near-black for the hero billboard, dark preview mockups, and GitHub-adjacent code surfaces, with white text. - Space covers: every Space card generates its own duotone gradient (observed violet→blue, emerald→teal, magenta→rose, slate→indigo) — treat
brand.indigoas the flat fallback; white overlay text throughout.
Typography
- Source Sans Pro carries the entire interface — from the 48px hero down to 12px metadata — in weights 400–700. Remarkably, page titles like "Models" set at just 18px/400 beside a huge stat count ("3,255,845"), trusting the data to do the talking.
- Display (
display-hero48px/700,display-lg48px/700 −0.025em): white on the#0B0F19panel vs gray-900 on pricing ("Leveling up AI collaboration and compute."); scales to 60px at 2xl breakpoints. - Headlines (
headline-lg30px/700,headline-md24px/600,headline-sm20px/600): section and card-group titles ("Spaces", "Community Blog & Articles"). - Titles (
title-md16px/600): model/dataset names —moonshotai/Kimi-K2.5rendered semibold in black, keeping theorg/nameslug readable. - Body (
body-md16px,body-sm14px): nav, descriptions, filter chips, plan features. - IBM Plex Mono (
code-md14px,code-sm12px): stats, prices, "PRO" tags, kbd hints (⌘K), and code — the engineering accent against the humanist sans. - Charter (
serif-body17px/1.65): longform prose on the blog — a quiet serif reserved for reading.
Layout
A 65px sticky header (logo + emoji, center search pill, icon-led nav, black "Sign Up") sits over a 1280px-centered page. The homepage opens with the dark billboard hero — hugging emoji, 48px headline, white outline pill CTA, and a live dark-mode preview of the Models directory — then flows into "Trending on 🤗 this week" card grids. Directory pages (Models/Datasets) split into a 224px filter sidebar (task chips, parameter sliders, library pickers) plus a list of 62px overview cards. Pricing uses a 3-column translucent-card layout over the rainbow wash; Spaces uses a 4-column cover grid under a 50px pill search bar ("Ask anything you want to do with AI"). Rhythm is a tight 4px base: 2px micro-gaps, 6–8px chip padding, 12px card spacing, 16px gutters, 24–32px section breaks.
Elevation & Depth
Nearly flat — hairlines over shadows. Cards separate via 1px #F3F4F6–#E5E7EB borders; the default card shadow is a whisper (0 1px 2px black 5%). Inputs invert the depth: an inner 0 2px 4px 5% inset shadow makes fields feel debossed. The only real lift belongs to search-style surfaces (0 5px 5px/0 2px 2px/0 0 1px at 3%) and Space covers (0 1px 3px 10%). Focus rings are HF-blue tinted; hover states lift cards into a faint gray-50→white gradient.
Shapes
Friendly rounding at every level, pills for actions. The working radius is 8px — cards, tabs, chips, dropdowns. Inputs stay at 8px in the header but inflate to a 50px full pill on Spaces. Primary CTAs, badges, and kbd chips go 9999px (the black "Sign Up" is a true capsule). Space covers round at 16px, the hero billboard at ~26px, and buttons inside plan cards at 12–14px. Nothing is sharp-cornered; even directory density stays soft.
Motion & Micro-interaction
150ms utility, with alive status indicators. All chrome transitions run 150ms cubic-bezier(0.4, 0, 0.2, 1); card hovers and transforms stretch to 300ms. "Running on ZERO" status chips pulse (2s cubic-bezier(0.4,0,0.6,1)), notifications ping (1s), and ambient marquee/orbit decorations run 6–13s loops. Hover micro-details abound: underline-offset animates, Space covers darken toward the corner, and the hero preview mockup is a live product capture, not a static render.
Voice & Content Strategy
- Tone: warm, plainspoken, community-first — "The AI community building the future.", "The platform where the machine learning community collaborates on models, datasets, and applications." No hype adjectives; the numbers carry the credibility.
- Capitalization: sentence case; repo names keep
org/namelowercase slugs; plan names in title case ("PRO Account", "Team", "Enterprise"). - Terminology: "models", "datasets", "Spaces" (never "apps" in product UI — though the subtitle allows "The AI App Directory"), "Inference Providers", "runs"/"downloads"/likes as the stats triplet.
- Button labels: short verbs — "Sign Up", "Get Team (via credit card)", "Talk to sales", "New Space", "Get PRO", "Explore AI Apps", "Browse 2M+ models".
- Numbers: compact counts ("96.2k", "1.42k", "2,555,000"), mono-set prices ("$9/month"), "Updated 2 days ago" relative timestamps.
- Emoji as texture: 🤗 is a first-class brand glyph — in the logo, headings ("Trending on 🤗 this week"), and user-generated titles; UI also sprinkles 🔥⚡✨🧩 freely.
Components
Buttons
button-primary is the black 36px capsule — white 14px label, generous x-padding ("Sign Up", "Get Team", "Talk to sales"). button-outline is the white bordered pill second ("New Space", "Learn more"). button-hero inverts to a white-on-dark outline capsule inside the billboard ("Explore AI Apps"). button-pro is the rainbow-washed pill — ink text over the mint→pink→yellow PRO gradient with a sparkle icon ("Get PRO"). tab-active is a tiny black 8px rounded toggle ("Main") for tab bars.
Cards & chips
card-model is the directory row: white (fading to gray-50 on hover), 1px #F3F4F6 border, 8px radius, avatar + semibold repo name + icon-stat metadata row. card-space is a 16px-radius cover tile with a per-app duotone gradient, white title/description, and status pills ("Running on ✱ ZERO", "♥ 223"). card-plan is a translucent white/40 pricing panel over the rainbow wash with mono price figures. chip-filter (gray-100, 28px, 8px radius, colored leading icon) fills sidebars; badge-pill (white, gray-200 border, 30px) labels sections like "🔥 Spaces of the week".
Inputs & navigation
input-search is a 36px white field with #E5E7EB border, inset shadow, and a ⌘K kbd chip. input-hero is Spaces' 50px full-pill ask bar with a real drop shadow. nav-header is the 65px sticky bar — emoji logo + wordmark, icon+label links (Models/Datasets/Spaces/Buckets/Docs/Pricing), "Log In" ghost + black "Sign Up". meta-mono renders IBM Plex Mono stats in gray.
Surfaces
surface-hero is the #0B0F19 billboard (26px radius, white display type, embedded product mockup) — the homepage's anchor. Dark preview panels reuse it at smaller radii.
Do's and Don'ts
- Do keep the interface black-and-white by default; let task colors, Space gradients, and the rainbow wash supply all the chroma.
- Do use the black pill for every primary action and 8px rounding for all data containers; reserve
9999pxfor CTAs, badges, and kbd chips. - Do set repo names semibold in
org/nameslug form and stats in IBM Plex Mono — never spell out "thousand" when "k" fits. - Do treat 🤗 as a brand glyph — it can headline sections, but don't substitute generic emoji for it.
- Don't introduce drop shadows on directory cards; hairline borders plus the 5% whisper shadow is the entire elevation system.
- Don't use HF blue for fills beyond links, focus rings, and small pills — the rainbow gradient is the only multi-color surface.
- Do keep the PRO rainbow wash at ~10% alpha behind white content; saturated gradients belong to Space covers only.
- Don't round hero/billboard panels less than ~24px — the billboard's softness is the contrast to the dense grids below it.
- Do honor
prefers-reduced-motion— the pulse/ping status loops and marquee drifts are decorative, not critical. - Do keep sentence case and plain verbs; the brand voice is friendly documentation, not marketing copy.
Cara menggunakan DESIGN.md Hugging Face dengan agen AI
Dapatkan DESIGN.md Hugging Face
Ambil https://www.designmdpro.app/websites/hugging-face.md atau panggil alat get_design_md dengan slug "hugging-face" dari server MCP DesignMD Pro untuk versi publik. Kumpulan token lengkap memerlukan Pro.
Simpan sebagai DESIGN.md di root proyek Anda
Letakkan file ini di sebelah AGENTS.md atau CLAUDE.md agar Claude Code, Cursor, Codex, dan agen coding lain dapat menemukannya.
Minta agen Anda mengikutinya
Misalnya: "Buat halaman pengaturan mengikuti sistem desain Hugging Face di DESIGN.md — gunakan token warna, tipografi, dan spasinya."
Prompt AI bergaya Hugging Face
Buat halaman landing responsif dengan gaya visual Hugging Face (huggingface.co), mengikuti sistem desain DESIGN.md-nya.
## Warna
- primary: #3080FF
- surface: #FFFFFF
- tertiary: #FE6E00
- on-primary: #FFFFFF
- on-surface: #000000
- on-tertiary: #FFFFFF
- inverse-surface: #0B0F19
- surface-container: #F9FAFB
## Tipografi
- body-lg: "Source Sans Pro", 18px, weight 400, line-height 1.56, letter-spacing 0em
- code-md: "IBM Plex Mono", 14px, weight 400, line-height 1.43, letter-spacing 0em
- serif-body: "Charter", 17px, weight 400, line-height 1.65, letter-spacing 0em
## Radius sudut
- lg: 8px
- md: 6px
- sm: 4px
## Aturan
- Gunakan hanya warna di atas untuk latar belakang, teks, garis batas, dan aksen; jangan membuat warna baru.
- Terapkan gaya tipografi di atas untuk seluruh teks serta pertahankan hierarki ukuran dan ketebalannya.
- Ambil radius sudut dan spasi dari skala di atas agar komponen terlihat konsisten.
DESIGN.md lengkap: https://www.designmdpro.app/websites/hugging-face.mdSesuaikan di generator prompt v0 →Pertanyaan yang sering diajukan
Apa warna utama Hugging Face?
Warna merek utama Hugging Face adalah Biru (#3080FF). File DESIGN.md-nya mendefinisikan total 11 token warna.
Font apa yang digunakan Hugging Face?
Jenis huruf utama Hugging Face adalah Source Sans Pro dan IBM Plex Mono.
Apakah Source Sans Pro merupakan font gratis?
Ya. Source Sans Pro gratis dan sumber terbuka, serta tersedia di Google Fonts.
Bagaimana cara menggunakan token desain Hugging Face di Tailwind CSS atau shadcn/ui?
Warna utama Hugging Face (#3080FF) bersifat publik di halaman ini. Membuat tema Tailwind atau shadcn lengkap memerlukan DESIGN.md penuh yang tersedia dengan DesignMD Pro.
Apakah DESIGN.md Hugging Face ini resmi?
Tidak. DesignMD Pro mengekstraknya dari situs web publik huggingface.co. Proyek ini tidak berafiliasi dengan atau didukung oleh Hugging Face.
Kapan DESIGN.md Hugging Face terakhir diperbarui?
Versi 1.0.0 diambil pada 11 November 2026.
Hugging Face dan merek dagangnya adalah milik masing-masing pemiliknya. DesignMD Pro adalah proyek independen, tidak berafiliasi dengan atau didukung oleh Hugging Face; DESIGN.md ini diekstrak dari situs web publik hanya sebagai referensi.