An open API service indexing awesome lists of open source software.

https://github.com/thedaviddias/ux-patterns-for-developers

๐Ÿงฉ Collection of UX patterns for everyone but specially towards developers who want to understand how to build effective UI components accessible and usable.
https://github.com/thedaviddias/ux-patterns-for-developers

best-practices documentation-website frontend patterns ux ux-design ux-patterns web-design web-development

Last synced: 12 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# UX Patterns for Devs

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

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Contributions Welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/thedaviddias/ux-patterns-for-developers/blob/main/.github/CONTRIBUTING.md)
[![GitHub Stars](https://img.shields.io/github/stars/thedaviddias/ux-patterns-for-developers?style=social)](https://github.com/thedaviddias/ux-patterns-for-developers)
[![Twitter Follow](https://img.shields.io/twitter/follow/thedaviddias?style=social)](https://twitter.com/thedaviddias)

[View Documentation](https://uxpatterns.dev) ยท [Report Bug](https://github.com/thedaviddias/ux-patterns-for-developers/issues) ยท [Request Pattern](https://github.com/thedaviddias/ux-patterns-for-developers/issues/new)

![Screenshot of the homepage of UX Patterns for Devs](https://raw.githubusercontent.com/thedaviddias/ux-patterns-for-developers/refs/heads/main/public/img/ux-patterns-developers-2.jpeg)

## โœจ 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

#### [Accordion](https://uxpatterns.dev/patterns/content-management/accordion)

> 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.

#### [Carousel](https://uxpatterns.dev/patterns/content-management/carousel)

> 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

#### [Expandable Text](https://uxpatterns.dev/patterns/content-management/expandable-text)

> 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.

#### [Modal](https://uxpatterns.dev/patterns/content-management/modal)

> 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.

#### [Popover](https://uxpatterns.dev/patterns/content-management/popover)

> 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.

#### [Tooltip](https://uxpatterns.dev/patterns/content-management/tooltip)

> 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

#### [Autocomplete](https://uxpatterns.dev/patterns/forms/autocomplete)

> 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.

#### [Button](https://uxpatterns.dev/patterns/forms/button)

> 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.

#### 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

#### [Password](https://uxpatterns.dev/patterns/forms/password)

> 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.

#### Phone Number

> Coming soon

#### Radio

> Coming soon

#### Rating Input

> Coming soon

#### Rich Text Editor

> Coming soon

#### Search Field

> Coming soon

#### [Selection Input](https://uxpatterns.dev/patterns/forms/selection-input)

> 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

#### [Text Field](https://uxpatterns.dev/patterns/forms/text-field)

> 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.

#### Time Input

> Coming soon

#### Toggle

> Coming soon

### Navigation

#### [Back To Top](https://uxpatterns.dev/patterns/navigation/back-to-top)

> 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.

#### [Breadcrumb](https://uxpatterns.dev/patterns/navigation/breadcrumb)

> 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

#### [Infinite Scroll](https://uxpatterns.dev/patterns/navigation/infinite-scroll)

> 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 More](https://uxpatterns.dev/patterns/navigation/load-more)

> 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.

#### Megamenu

> Coming soon

#### Navigation Menu

> Coming soon

#### [Pagination](https://uxpatterns.dev/patterns/navigation/pagination)

> 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.

#### 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:

```bash
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.

```bash
pnpm run generate
```

## โœจ Contributors

You are welcome to contribute to this project!

- ๐Ÿ› [Report bugs](https://github.com/thedaviddias/ux-patterns-for-developers/issues)
- ๐Ÿ’ก [Suggest new patterns](https://github.com/thedaviddias/ux-patterns-for-developers/issues/new)
- ๐Ÿ“ [Improve documentation](https://github.com/thedaviddias/ux-patterns-for-developers/blob/main/.github/CONTRIBUTING.md)
- ๐Ÿ”ง [Submit pull requests](https://github.com/thedaviddias/ux-patterns-for-developers/pulls)

Please read our [Contributing Guide](https://github.com/thedaviddias/ux-patterns-for-developers/blob/main/.github/CONTRIBUTING.md) 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](./LICENCE.md)

### 2. Commercial License

- ๐Ÿ’ผ Required for commercial use
- ๐Ÿข Suitable for businesses and commercial projects
- ๐Ÿ”’ Includes additional rights and support
- [View Commercial License Details](.github/COMMERCIAL-LICENSE.md)

---

If you find this project useful, please consider giving it a โญ๏ธ