Skip to content

🧩 Collection of UX patterns for everyone but specially towards developers who want to understand how to build effective UI components accessible and usable.

License

Notifications You must be signed in to change notification settings

thedaviddias/ux-patterns-for-developers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

UX Patterns for Devs

🎨 A comprehensive collection of UX patterns for developers who want to build effective, accessible, and usable UI components.

License: MIT Contributions Welcome GitHub Stars Twitter Follow

View Documentation Β· Report Bug Β· Request Pattern

Screenshot of the homepage of UX Patterns for Devs

✨ Features

  • πŸ“š 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

🎯 Available Patterns

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.

Content Management

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.

Drag And Drop

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.

Forms

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.

Checkbox

Coming soon

Code Confirmation

Coming soon

Color Picker

Coming soon

Currency Input

Coming soon

Date Input

Coming soon

Date Picker

Coming soon

Date Range

Coming soon

File Input

Coming soon

Form Validation

Coming soon

Input Selection Guide

Coming soon

Multi Select Input

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.

Phone Number

Coming soon

Radio

Coming soon

Rating Input

Coming soon

Rich Text Editor

Coming soon

Search Field

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.

Signature Pad

Coming soon

Slider

Coming soon

Tag Input

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.

Textarea

Coming soon

Time Input

Coming soon

Toggle

Coming soon

Navigation

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.

Hambuger Menu

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.

Megamenu

Coming soon

Navigation Menu

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.

Sidebar

Coming soon

Tabs

Coming soon

User Feedback

Cookie Consent

Coming soon

Empty States

Coming soon

Loading Indicator

Coming soon

Notification

Coming soon

Progress Indicator

Coming soon

Skeleton

Coming soon

Getting Started

To start the project locally, run:

pnpm run dev

Generate new pattern

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

✨ Contributors

You are welcome to contribute to this project!

Please read our Contributing Guide before submitting a pull request.

πŸ“„ Dual License

This project is available under a dual license:

1. MIT License (Non-Commercial)

  • βœ… Free for personal use and non-commercial projects
  • βœ… Attribution required
  • βœ… Modifications and distributions allowed
  • ❌ Commercial use not permitted
  • View MIT License Details

2. Commercial License

  • πŸ’Ό 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 ⭐️

About

🧩 Collection of UX patterns for everyone but specially towards developers who want to understand how to build effective UI components accessible and usable.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Contributors 3

  •  
  •  
  •