π¨ 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
Learn how to implement expandable text components in your web applications. Discover best practices for progressive disclosure, accessibility, and user experience with practical examples.
Display focused content or actions
π§ Moderate complexity β’ π Full guide β’ βΏοΈ WCAG 2.1 β’ π± Mobile-ready β’ π» Examples
Create effective modal dialogs for your web applications. Learn best practices for implementing accessible modal windows with proper focus management and keyboard interactions.
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
Implement user-friendly autocomplete functionality in your web applications. Learn best practices for search suggestions, keyboard navigation, and accessibility with practical examples.
Trigger actions and submit forms
β‘οΈ Simple implementation β’ π Full guide β’ βΏοΈ WCAG 2.1 β’ π± Mobile-ready β’ π» Examples
Learn how to implement accessible and user-friendly buttons in your web applications. Discover best practices for button design, states, accessibility, and implementation with code examples and 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
Implement secure and user-friendly password fields in your web applications. Learn best practices for password validation, strength indicators, and accessibility with practical examples.
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
Learn how to implement accessible text input fields in your web applications. Discover best practices for validation, error handling, and user experience with practical examples.
Coming soon
Coming soon
Quickly navigate back to the top of the page
β‘οΈ Simple implementation β’ π Full guide β’ βΏοΈ WCAG 2.1 β’ π± Mobile-ready β’ π» Examples
Learn how to implement a Back to Top button pattern to enhance user navigation on long pages. Discover best practices for placement, accessibility, and user experience with code examples and implementation guidelines.
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
Implement infinite scroll for seamless content loading in your web applications. Learn best practices for performance, accessibility, and user experience with practical code examples.
Load additional content on user demand
π§ Moderate complexity β’ π Full guide β’ βΏοΈ WCAG 2.1 β’ π± Mobile-ready
Learn how to implement a Load More pattern for efficient content pagination. Discover best practices for user experience, accessibility, and performance when loading content incrementally.
Coming soon
Coming soon
Navigate through multiple pages of content
π§ Moderate complexity β’ π Full guide β’ βΏοΈ WCAG 2.1 β’ π± Mobile-ready β’ π» Examples
Master pagination implementation in web applications. Learn best practices for building accessible, user-friendly page navigation with clear guidelines for design, accessibility, 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 βοΈ