π¨ A comprehensive collection of UX patterns for developers who want to build effective, accessible, and usable UI components.
- π Comprehensive Documentation: Detailed guides for each pattern with best practices
- βΏοΈ Accessibility-First: Every pattern follows WCAG guidelines and includes ARIA best practices
- π― Real-World Examples: Interactive examples and code snippets you can copy and use
- π SEO Optimized: Guidelines for making each pattern search-engine friendly
- π± Responsive Patterns: Mobile-first approach with cross-device compatibility
- π¨ Design Tokens: Customizable design system integration
- π Analytics Ready: Built-in tracking recommendations for each pattern
- π Internationalization: i18n considerations and best practices
- β‘οΈ Performance Focused: Optimization guidelines for each component
Note
This project is a work in progress. New content and updates should be expected regularly.
This is an updated list of available and incoming patterns.
Expand and collapse content sections
π§ Moderate complexity β’ π Full guide β’ βΏοΈ WCAG 2.1 β’ π± Mobile-ready
Create effective accordion components for your web applications. Learn best practices for implementing expandable content sections with proper accessibility and keyboard support.
Display multiple items in a rotating view
π οΈ Complex implementation β’ π Full guide β’ βΏοΈ WCAG 2.1 β’ π± Mobile-ready β’ π» Examples
Build effective carousel components for your web applications. Learn best practices for implementing accessible, responsive carousels with proper navigation and touch support.
Coming soon
Show or hide additional text content on demand
β‘οΈ Simple implementation β’ π Full guide β’ βΏοΈ WCAG 2.1 β’ π± Mobile-ready β’ π» Examples
Create expandable text components with progressive disclosure and accessibility features for better content management.
Display focused content or actions
π§ Moderate complexity β’ π Full guide β’ βΏοΈ WCAG 2.1 β’ π± Mobile-ready β’ π» Examples
Build accessible modal dialogs with proper focus management, keyboard interactions, and user experience best practices.
Display focused content or actions
π§ Moderate complexity β’ π Full guide β’ βΏοΈ WCAG 2.1 β’ π± Mobile-ready β’ π» Examples
Implement user-friendly popover components in your web applications. Learn best practices for contextual information display, positioning, and accessibility with practical examples.
Provide additional context on hover or focus
β‘οΈ Simple implementation β’ π Full guide β’ βΏοΈ WCAG 2.1 β’ π± Mobile-ready β’ π» Examples
Implement effective tooltip components in your web applications. Learn best practices for contextual help, positioning strategies, and accessibility considerations.
Suggest options as users type
π§ Moderate complexity β’ π Full guide β’ βΏοΈ WCAG 2.1 β’ π» Examples
Build user-friendly autocomplete with search suggestions, keyboard navigation, and accessibility features.
Trigger actions and submit forms
β‘οΈ Simple implementation β’ π Full guide β’ βΏοΈ WCAG 2.1 β’ π± Mobile-ready β’ π» Examples
Create accessible and user-friendly buttons with proper states, design patterns, and implementation guidelines.
Coming soon
Coming soon
Coming soon
Coming soon
Coming soon
Coming soon
Coming soon
Coming soon
Coming soon
Coming soon
Coming soon
Secure password entry with feedback
π§ Moderate complexity β’ π Full guide β’ βΏοΈ WCAG 2.1
Build secure and user-friendly password fields with validation, strength indicators, and accessibility features.
Coming soon
Coming soon
Coming soon
Coming soon
Coming soon
Choose from predefined options
π Full guide β’ βΏοΈ WCAG 2.1 β’ π» Examples
Learn how to implement user-friendly selection inputs in your web applications. Discover best practices for dropdowns, comboboxes, and list boxes with accessibility and usability guidelines.
Coming soon
Coming soon
Coming soon
Enter and edit text content
β‘οΈ Simple implementation β’ π Full guide β’ π± Mobile-ready β’ π» Examples
Implement accessible text input fields with validation, error handling, and user experience best practices.
Coming soon
Coming soon
Coming soon
Quickly navigate back to the top of the page
β‘οΈ Simple implementation β’ π Full guide β’ βΏοΈ WCAG 2.1 β’ π± Mobile-ready β’ π» Examples
Implement a Back to Top button for enhanced navigation on long pages with best practices for placement and accessibility.
Help users understand their current location
π§ Moderate complexity β’ π Full guide β’ βΏοΈ WCAG 2.1 β’ π± Mobile-ready β’ π» Examples
Create effective breadcrumb navigation for better site orientation. Learn implementation techniques, accessibility requirements, and design best practices for clear hierarchical navigation.
Coming soon
Loads additional content automatically as users scroll down.
π οΈ Complex implementation β’ π Full guide β’ βΏοΈ WCAG 2.1 β’ π± Mobile-ready
Create seamless content loading with infinite scroll, focusing on performance, accessibility, and user experience best practices.
Load additional content on user demand
π§ Moderate complexity β’ π Full guide β’ βΏοΈ WCAG 2.1 β’ π± Mobile-ready
Build efficient content loading with the Load More pattern, focusing on user experience and performance optimization.
Coming soon
Coming soon
Navigate through multiple pages of content
π§ Moderate complexity β’ π Full guide β’ βΏοΈ WCAG 2.1 β’ π± Mobile-ready β’ π» Examples
Learn best practices for building accessible, user-friendly page navigation with clear guidelines for design and performance.
Coming soon
Coming soon
Coming soon
Coming soon
Coming soon
Coming soon
Coming soon
Coming soon
To start the project locally, run:
pnpm run dev
This command will generate a new pattern template. Simply specify the language, the category and the name of the pattern starting with a capital letter.
pnpm run generate
You are welcome to contribute to this project!
- π Report bugs
- π‘ Suggest new patterns
- π Improve documentation
- π§ Submit pull requests
Please read our Contributing Guide before submitting a pull request.
This project is available under a dual license:
- β Free for personal use and non-commercial projects
- β Attribution required
- β Modifications and distributions allowed
- β Commercial use not permitted
- View MIT License Details
- πΌ Required for commercial use
- π’ Suitable for businesses and commercial projects
- π Includes additional rights and support
- View Commercial License Details
If you find this project useful, please consider giving it a βοΈ