UI Component Library
Advanced
40 XP
You're trying this as a guest: your result shows here but isn't saved.
Sign in
Design a cohesive set of UI components — the foundation of any design system.
This challenge tests your ability to create consistent, reusable components that work together as a system.
The brief
Design a mini UI component library with the following components:
Required components (design all of these):
- Buttons — Primary, secondary, and ghost variants. Show default, hover, and disabled states.
- Input field — With label, placeholder, helper text, and error state.
- Card — With image area, title, description, and action button.
- Badge/Tag — Success, warning, error, and info variants.
Design constraints:
- Use a consistent 8px spacing grid.
- Use no more than 2 font sizes per component.
- Maintain a consistent border-radius across all components.
- Use a cohesive color palette (max 5 colors + neutrals).
Arrange all components on a single canvas, organized by type.
To pass
- Rectangles for buttons, cards, inputs
- Labels, button text, descriptions
- Minimum 15 elements for a complete library
Need a hint?
- Start with your color palette and spacing scale. Everything else flows from these.
- Design one component fully (with states), then apply the same tokens to the next.
- Group components by type and add labels — this is a reference sheet, so clarity matters.