A comprehensive collection of reusable UI components built with atomic design principles.
Selected and used for the fitness tracking app Fytforge.
Foundation
The design tokens that power the entire system — colors, typography, spacing, radius, and shadows. Every component is built on top of these tokenized values, ensuring consistency and theme-ability across the product.
Semantic Surfaces
Tokens that map UI roles (background, card, popover, etc.) to actual color values. These adapt automatically when switching themes.
Background
--background
#0F0F0F
Card
--card
#1A1A1A
Popover
--popover
#1A1A1A
Secondary
--secondary
#27272A
Muted
--muted
#27272A
Accent
--accent
#27272A
Sidebar
--sidebar
#18181B
Primary
--primary
#818CF8
Primary Scale
11-step indigo color scale from --primary-50 to --primary-950.
--primary-50
#EEF2FF
--primary-100
#E0E7FF
--primary-200
#C7D2FE
--primary-300
#A5B4FC
--primary-400
#818CF8
--primary-500
#6366F1
--primary-600
#4F46E5
--primary-700
#4338CA
--primary-800
#3730A3
--primary-900
#312E81
--primary-950
#1E1B4B
Success Scale
--success-50
#ECFDF5
--success-100
#D1FAE5
--success-200
#A7F3D0
--success-300
#6EE7B7
--success-400
#34D399
--success-500
#10B981
--success-600
#059669
--success-700
#047857
--success-800
#065F46
--success-900
#064E3B
--success-950
#022C22
Warning Scale
--warning-50
#FFFBEB
--warning-100
#FEF3C7
--warning-200
#FDE68A
--warning-300
#FCD34D
--warning-400
#FBBF24
--warning-500
#F59E0B
--warning-600
#D97706
--warning-700
#B45309
--warning-800
#92400E
--warning-900
#78350F
--warning-950
#451A03
Error Scale
--error-50
#FEF2F2
--error-100
#FEE2E2
--error-200
#FECACA
--error-300
#FCA5A5
--error-400
#F87171
--error-500
#EF4444
--error-600
#DC2626
--error-700
#B91C1C
--error-800
#991B1B
--error-900
#7F1D1D
--error-950
#450A0A
Info Scale
--info-50
#EFF6FF
--info-100
#DBEAFE
--info-200
#BFDBFE
--info-300
#93C5FD
--info-400
#60A5FA
--info-500
#3B82F6
--info-600
#2563EB
--info-700
#1D4ED8
--info-800
#1E40AF
--info-900
#1E3A8A
--info-950
#172554
Neutral Scale
--neutral-50
#FAFAFA
--neutral-100
#F5F5F5
--neutral-200
#E5E5E5
--neutral-300
#D4D4D4
--neutral-400
#A3A3A3
--neutral-500
#737373
--neutral-600
#525252
--neutral-700
#404040
--neutral-800
#262626
--neutral-900
#171717
--neutral-950
#0A0A0A
Activity Tokens
Domain-specific tokens for the FytForge product. Each represents a workout category or achievement type.
Strength
--color-strength
#DC2626
Cardio
--color-cardio
#EC4899
Flexibility
--color-flexibility
#A855F7
Recovery
--color-recovery
#06B6D4
Energy
--color-energy
#F97316
Streak
--color-streak
#FBBF24
Personal Record
--color-pr
#FDE047
Typography
Two font families: --font-primary (Poppins) for UI text and --font-mono (JetBrains Mono) for code.
Display
--text-5xl48px / Bold
Heading 1
--text-4xl36px / Bold
Heading 2
--text-3xl30px / Semibold
Heading 3
--text-2xl24px / Semibold
Heading 4
--text-xl20px / Semibold
Heading 5
--text-lg18px / Medium
Body Default
--text-base16px / Normal
Body Small
--text-sm14px / Normal
Caption / Overline
--text-xs12px / Medium
const x = 'mono'
--font-monoJetBrains Mono
Spacing
Spacing scale used for padding, margin, and gap properties throughout the system.
--spacing-xs4px
--spacing-sm8px
--spacing-md16px
--spacing-lg24px
--spacing-xl32px
--spacing-2xl48px
--spacing-3xl64px
Border Radius
Corner radius scale from sharp edges to fully rounded.
--radius-none
0px
--radius-sm
4px
--radius-md
8px
--radius-lg
12px
--radius-xl
16px
--radius-full
9999px
Shadows / Elevation
Elevation system for layering UI elements like cards, dropdowns, and modals.
--shadow-xs
--shadow-sm
--shadow-md
--shadow-lg
--shadow-xl
--shadow-glow
Atoms
The fundamental building blocks of the design system - buttons, inputs, badges, and other basic elements.
This is a comprehensive collection of reusable UI components built with atomic design principles. It includes atoms, molecules, organisms, and templates.
Simply copy the HTML structure and CSS classes to use any component in your project. All styles are included in this single file.
Yes! All components are built with responsive design in mind and will adapt to different screen sizes.