Skip to content

Getting Started

Getting Started

WEC Design System is a collection of reusable components, design tokens, and guidelines for building consistent and accessible digital products. This documentation showcases all available components with their variants, states, and usage patterns.

The foundation layer provides the building blocks for designs:

  • Colors - Color palette and semantic color tokens
  • Typography - Type scale, font families, and text styles
  • Spacing - Spacing scale for consistent layouts
  • Shadows - Elevation and depth tokens
  • Design Tokens - Complete token reference

Ready-to-use UI components built with accessibility in mind:

  • Button - Interactive buttons with multiple variants
  • Input - Form input fields with validation states
  • Card - Container component for content grouping
  • Badge - Status indicators and labels
  • Package Detail - Package information display organism

View all components →

Best practices for designing with WEC:

Each component documentation includes:

SectionDescription
OverviewComponent purpose, tags, and related components
AnatomyVisual breakdown of component elements
VariantsAvailable styles and configurations
StatesDefault, hover, focus, error, disabled states
BehaviorInteractions, animations, responsiveness
Usage GuidelinesWhen to use, best practices, do’s and don’ts
AccessibilityARIA attributes, keyboard navigation, screen reader support

Our design tokens are synchronized between design and code:

  • Semantic Naming - Clear, descriptive token names
  • Consistent Scale - 4px base spacing, modular type scale
  • Theme Support - Light and dark mode ready
  • Cross-Platform - Same tokens for web, mobile, and other platforms

For complete token reference, see Design Tokens.

All components in WEC Design System are built to meet WCAG 2.1 AA standards:

  • Keyboard navigation support
  • Screen reader friendly
  • Proper ARIA labels and roles
  • Focus management
  • Color contrast compliance

For interactive component examples, code implementation, and live previews, visit our Storybook.