# Design pattern
> A design pattern is a proven solution to a recurring problem: breadcrumb, modal, accordion. These conventions exist because they work for users.
- Language : en
**Concept**

## Designing with design patterns in UX/UI

A design pattern is a proven solution to a design problem that comes up from one interface to the next. The breadcrumb trail for finding your way around a tree structure, the confirmation dialog before a deletion, the accordion that folds up an FAQ, all of them answers that thousands of products adopted before they turned into reflexes for users.

Their strength comes precisely from that familiarity. A user spends most of their time on services other than the one they are using, and they arrive with expectations already formed about how an interface should behave. Relying on a known pattern means drawing on what they already know how to do, rather than making them learn something new.

A design pattern is not the component that embodies it. The pattern is the principle behind the solution, independent of any technology, while the component is its concrete implementation in a given interface. That is the logic that connects patterns to design systems, where they are documented, supported by tools and paired with usage rules.

## What is a design pattern for?

- Reusing proven interface solutions rather than reinventing what already works
- Reducing the learning effort asked of users, who recognise a behaviour they have already met elsewhere
- Sharing a common vocabulary between designers and developers ('breadcrumb', 'modal', 'accordion')
- Speeding up design work by building on blocks whose behaviour is predictable
- Assessing an existing interface against the conventions users already know

## Why use a design pattern?

- A pattern is justified as long as it serves the need well
- Jakob's law, formulated in 2000 by Jakob Nielsen: users arrive with expectations already formed elsewhere
- Innovating is only justified where existing patterns fail, on a new problem or a genuine point of friction
- Departing from them has to bring a benefit greater than the learning cost it imposes on the user
- A pattern's familiarity does not make it neutral: some widespread ones serve interests that run counter to those of the user (the 'dark patterns')

## How do you choose the right design pattern?

A pattern is not applied mechanically. The right choice depends on the context, the content and the habits of the users you are designing for.

- **Start from the problem, not the solution** : A pattern answers a specific interaction problem: finding your way, entering data, confirming, comparing. You state that problem first, before going through the patterns that answer it, otherwise you pick a fashionable solution for a need it does not serve.
- **Compare the candidate patterns** : Several patterns often answer the same need. Long content lends itself better to an accordion than to tabs, and a secondary or tertiary action does not call for the same treatment as a primary one. You weigh the options against the density of the information, the frequency of use and the constraints of the interface.
- **Take the device and its conventions into account** : Habits differ between the web and mobile, and between systems. A pattern that works well on a website can be disconcerting in an app, where users expect the conventions of their operating system.
- **Check with users when in doubt** : When two patterns are equally good on paper, a quick test settles it better than a discussion. Half a day of testing on two competing options often reveals which one is understood without effort.

## Frequently asked questions

### What is a design pattern in UX/UI?

A design pattern is a reusable solution to an interface problem that comes up often. It is a convention, a way of solving a problem that enough products have adopted for users to recognise it and know how to use it without having to learn it. Tab navigation, the multi-step form with a progress indicator and the confirmation dialog before a deletion are common design patterns.

### Why use a design pattern rather than invent your own interaction?

Because users do not have to relearn an interaction for every product. A recognised pattern draws on what they already know how to do. That is the point of Jakob's law, formulated by Jakob Nielsen: users spend most of their time on other services and expect yours to work the same way. Inventing an interaction only makes sense if the existing patterns answer the need poorly.

### Where can you find reference design patterns?

The platforms' official guides are the most stable source: Apple's Human Interface Guidelines for iOS and Google's Material Design for Android document the patterns recommended on each mobile system. Public design systems are another, with components that embody these patterns and their usage rules. There are also online libraries that gather screenshots of real products, useful for observing how the same problem is handled from one interface to the next.

### Design pattern and design system, what is the relationship?

The design pattern is the principle, the way of solving an interaction problem, independent of any technology. The design system is its concrete implementation in a given product, in the form of documented components paired with usage rules. So a design system contains components that embody patterns, specifying in which contexts to use them.

### What is a dark pattern?

It is a design pattern that uses the user's familiarity against their own interest. Unsubscribing made deliberately difficult, a pre-ticked box that commits them without their knowledge, an accept button given prominence while the refusal is hidden. They work precisely because they use familiar conventions. So recognising a pattern never removes the need to judge what it does to the user.

## Design pattern in examples

![Example of design pattern 1 of 1](https://www.akiani.fr/_astro/exemple-de-dark-patterns-1-sur-1-900w.webp)
