What problem does it solve?
This Skill provides a comprehensive guide and reusable patterns for building user interfaces with a focus on accessibility, performance, and maintainability. It helps developers create consistent, high-quality UIs across different frameworks and component libraries.
Core Features & Use Cases
- Component Organization: Demonstrates Atomic Design principles for structuring UI components.
- Server vs. Client Components: Explains the differences and best practices for Next.js Server and Client Components.
- Accessibility Patterns: Covers best practices for buttons, links, forms, and focus management to ensure WCAG compliance.
- Loading & Error States: Provides patterns for implementing skeleton loaders, Suspense, and Error Boundaries.
- Form Handling: Illustrates form creation using
react-hook-form and zod for validation.
- Responsive Design: Shows how to implement responsive layouts using Tailwind CSS and media queries.
- Use Case: A developer needs to build a new feature with a complex form and ensure it's accessible and performs well. They can refer to this Skill for guidance on component structure, accessibility attributes, form validation, and loading states.
Quick Start
Refer to the UI Patterns Skill for guidance on building accessible and performant React components.