Design System inspired by Hugging Face
ML community. Yellow brand, friendly emoji aesthetic, developer hub.
npx getdesign@latest add huggingfaceRun this command from your project root, then ask your AI assistant to use DESIGN.md for UI work.
ML community. Yellow brand, friendly emoji aesthetic, developer hub.
DESIGN SYSTEM INSPIRATION OF HUGGING FACE
ML community. Yellow brand, friendly emoji aesthetic, developer hub.
Color Palette
ML community. Yellow brand, friendly emoji aesthetic, developer hub.
Typography
A type system inspired by Hugging Face.
Cards
Card patterns inspired by Hugging Face.
Components
Other component primitives mapped from the Hugging Face spec.
Design System Inspired by Hugging Face
1. Visual Theme & Atmosphere
ML community. Yellow brand, friendly emoji aesthetic, developer hub.
Key Characteristics:
- Yellow (#FFD21E) as friendly brand color
- Hugging face emoji as iconic brand
- Community hub layout with model/dataset cards
- Developer-friendly documentation aesthetic
- Open source collaborative platform feel
2. Color Palette & Roles
Primary
- HF Yellow (
#FFD21E): Brand color - Dark (
#1A1A2E): Brand color - White (
#FFFFFF): Brand color - Light BG (
#F9FAFB): Brand color - Gray (
#6B7280): Brand color - Blue (
#3B82F6): Brand color - Green (
#10B981): Brand color - Border (
#E5E7EB): Brand color
3. Typography Rules
Font Family
- Display & UI:
Source Sans Pro,Source Code Pro
Hierarchy
| Role | Size | Weight | Line Height |
|---|---|---|---|
| Display | 64px | 700 | 1.1 |
| H1 | 48px | 700 | 1.2 |
| H2 | 32px | 600 | 1.3 |
| Body | 16px | 400 | 1.6 |
| Small | 14px | 400 | 1.5 |
| Code | 14px | 400 | 1.6 |
4. Component Stylings
Buttons, cards, and inputs follow the brand's visual language with consistent use of the primary color palette and border-radius conventions.
5. Layout Principles
- Base unit: 4-8px
- Max container: 1100-1200px
- Consistent section spacing: 80-120px vertical
6. Depth & Elevation
Depth communicated through background color shifts, subtle shadows, or border treatments.
7. Do's and Don'ts
Do
- Follow the established color palette strictly
- Maintain typographic hierarchy
- Use brand-consistent border-radius
Don't
- Introduce off-brand colors
- Use inconsistent spacing
- Override the established visual language
8. Responsive Behavior
| Breakpoint | Width |
|---|---|
| Mobile | <640px |
| Tablet | 640-1024px |
| Desktop | >1024px |
9. Agent Prompt Guide
Quick Color Reference
- HF Yellow:
#FFD21E - Dark:
#1A1A2E - White:
#FFFFFF - Light BG:
#F9FAFB - Gray:
#6B7280 - Blue:
#3B82F6
Typography
- Font:
Source Sans Pro,Source Code Pro