Component Library
Visual Component Library
Interactive examples of all design system components with live previews and code.
Color Swatches
Royal Blue
#2563EB Cod Gray
#121212 Boulder
#757575 Success
#29B86B
Button Components
Primary Button
Primary Button
Secondary Button
Secondary Button
Button States
Default
Default
Hover
Hover
Disabled
Disabled
Card Components
Article Card
Image Placeholder
Technical
Understanding Cross-Chain Technology
Learn how Demos Network enables seamless communication between different blockchain networks...
Form Components
Input Field
Email Address
Search Bar
Usage Guidelines
Consistency: Use the same component variants across the application
Accessibility: Ensure all interactive elements have proper focus states and ARIA labels
Spacing: Maintain consistent padding and margins using the spacing scale
Colors: Always use colors from the design system palette
Typography: Follow the typography scale for text sizing
Responsive: Test components at all breakpoints (mobile, tablet, desktop)
Component Specifications
Button Sizes
Small: padding: 8px 16px; font-size: 14px;
Medium: padding: 12px 24px; font-size: 16px; (default)
Large: padding: 16px 32px; font-size: 18px;
Card Variants
Article Card: 344px max-width, 14px padding
Product Card: 400px max-width, 20px padding
Feature Card: Full width, 24px padding
Input States
Default: border: 1px solid rgba(255, 255, 255, 0.1)
Focus: border-color: rgb(37, 99, 235)
Error: border-color: rgb(239, 68, 68)
Success: border-color: rgb(41, 184, 107)
Disabled: opacity: 0.5; cursor: not-allowed
FOOTER
[ CYA ]
