Stop building components, start building patterns

Luke Murphy
Written by Luke Murphy
Nov 8, 2024

It seems to be the way that most people start their design system. First, sort out the basics of your foundation layer, including some colors, typography, and maybe some spacing. Then, it’s straight into crafting the perfect button, complete with 14 variants and every state imaginable. It’s tempting, too, as they feel like they’re the parts that will be the most useful. The cards, buttons, form elements, and all the other lovely components make up what most people think of as a ‘design system.’

I think we’re doing it wrong.

To me, the analogy is kind of like focusing only on the quality of the individual ingredients without having a recipe. Not only do you not have the instructions on how to get from ingredients to cake, but you also don’t have an overarching idea of what kind of cake you’re making. Or like building a house by focusing on fixtures, wall colors, and appliances without understanding how it all goes together. That level is how you differentiate your product or service. It’s the thing that allows you to say, ‘This is how we do it. This is how we’re different from other people. But first components…

Why components aren’t that special

Components are important. There are a lot of important decisions around usability, accessibility and inclusivity that are wrapped up in how we build a component. The first problem is, at their base we all use very similar components with different style wrappers.

Three examples of modals from IBM's Carbon, Salesforce's Lightning and Uber's Base design systems. All are styled differently, but have the same base elements.

Take modals as an example. These three modals above are all stylistically different (albeit not that different). However, when you break it down, they all have the same characteristics:

  • A container that sits above another screen or piece of content
  • A title
  • Some kind of content
  • An action to exit the container
  • Some form of call-to-action buttons

Most components are remarkably similar. And this makes sense. We rely on common patterns and affordances to make our components as usable as possible. We have the same set of guidelines on accessibility we all follow (right?). Why, then, are we building the same buttons, cards, accordions, modals, and bloody popups?

It’s why I support the call for a ‘global design system’, as Brad Frost suggests. It’s also why I’m not strictly opposed to starting with pre-built libraries, like MUI, Simple, Material, or the inbuilt iOS. Heck, if you’re building native apps, you’d be mad not to start with the system libraries. The reason is because these should be well thought out, well researched, and well-specced components, and are probably based on well-trodden best practices. Yes, you still need a healthy dose of skepticism when deciding what to do from your base, but it’s a good starting point.

Why components aren’t important to do first

The second problem with components goes back to the recipe analogy. Focusing on the quality of your ingredients without any context as to how they’ll be used, or what you’re aiming for, is a little bit useless. It’s obviously more nuanced than that, as we all have a lot of knowledge and experience when it comes to building interfaces and experiences. It’s the difference between a Victoria Sponge cake and an Angels Food cake. Both have similar ingredients, but one requires a lot more skill, expertise, and precision. If you don’t follow the recipe, have experience, and be precise with your decisions and ingredients, you’re probably going to have a bad time along with the people trying to eat it (now I’m hungry).

So in this analogy, what is the recipe?

Patterns as a recipe for the best outcome

At their base level, patterns are a combination of components and/or behaviors that come together to form a unified experience or outcome. If that sounds like a complicated explanation, it’s because patterns are complicated.

The important thing with patterns is that patterns are opinionated. Components often work best when they’re un-opinionated and have a degree of flexibility. The only reason that you’d make a component opinionated is if there is a pattern that backs it up. A pattern takes a stance and says ‘we do it this way’, which is usually backed up by user research, industry research and/or business needs. They are a conscious decision that has been made as to how you’re designing your product.

I really like Dave House’s breakdown of the different types of patterns: UI patterns, behavioral patterns, and service patterns. When many people think of patterns, especially in the context of Atomic Designs, they think of UI patterns. Things like page templates, UI scaffolding, or simple collections of components. However, the behavioral and service patterns are where I think the effort should be focused.

Service patterns

Service patterns are zoomed-out views that encapsulate an idea, outcome or principle. These could involve different components, and could span over multiple screens, product points, or even approaches. A good example of one is the ‘Check before you start’ pattern that gov.uk use across their services. Government sites have tons of services to apply for, and there was a real need to make sure that the right people are applying for the right things. This not only means happier users, but also time and money saved on running costs. Implementing a pattern across multiple services that checks the suitability and eligibility of a service before the user starts the process, saved everyone time and money.

A screenshot of the 'Check a service is suitable' pattern used on Gov.UK design system

A more business-minded service pattern would be the ‘one thing per page’ pattern for forms. It’s been proven multiple times that splitting the steps of a process into individual pages can increase its effectiveness. However, it’s also been proven that it’s not the case for all use-cases. This is a great example where defining this as a service pattern codifies that this is the approach you are taking for your product.

Behavioral patterns

Behavioral patterns are the next step down from a service pattern. Again, they can be a collection of components, but they are focused on a specific process, concept, or user flow, and often target a lower level than service patterns. A bigger behavioral pattern would be how you help users handle their passwords, encompassing rules, incorrect login flows, forgetting passwords, etc.

A screenshot of the 'Gender field' pattern on the Newskit design system.

Behavioral patterns explain how you approach behaviors on your product. As mentioned before, they are opinionated, and say ‘of all the ways we could approach this behaviour, this is how we do it’. A simple example is how IBM define their common actions. That is, they are explicitly constraining the possible language used to make their interface more usable. Newskit has provided a whole series of patterns to do with forms. Instead of focussing on the technical how, they talk more about the behavioural ‘how and why’. The importance of this is that there is some behavioral pattern guidance that would dictate the technical implementation and also explain why it’s implemented the way it is. For example, without the pattern context, something as innocuous as a gender field might be implemented in a way that causes harm to users.

But where do we start?

As mentioned by Michelle in her article on pattern creation, one of the best ways to start is to audit your current patterns. Take a step back and analyze what design decisions you’ve made across your products, and whether they still suit or whether they need updating. Look at your user research to see if there are common areas where you could improve your patterns and make them more intentional. It’s also worth doing some desk research on existing patterns, especially ones that are fuelled by biases and systemic exclusion. UI-Patterns.com is a good resource for this.

From there, make sure that patterns are something that are widely understood by your wider product team, to ensure that any opportunities aren’t missed when doing user testing. As Dave House mentions in his article, patterns will most often come from feedback gathered in watching people use your product. Also, make sure you’re doing semi-regular audits of your system to make sure you are spotting any opportunities to enshrine patterns at a higher level, as they’ll make it clear what components need updating, and ultimately end with a more cohesive, usable, inclusive, consistent and higher quality product.

But surely we need some components at the beginning?

I think one of the biggest problems I’ve seen from design systems teams is that they think they need a perfect version of every component before it can be used. While this is an admirable goal, it’s not very realistic when it comes to the way most people build products. It’s almost like we need different levels of ‘done’ for components. Something like:

  • Alpha — documenting either what you already have or the core versions. It’s ready to use but patchy
  • MVP — the minimum viable component to say ‘this is usable, and if we don’t iterate on it, it’s probably ok’.
  • Stable — this is well documented, covers off all use cases, been thoroughly tested with users and is likely going to remain this way for a while. It’s also been considered as part of the wider patterns that it plays into Ie. we’re happy with this and we won’t change it unless there’s good reason.

I asked on Bluesky how other folks approach this, and it seems that having something similar to these three stages is relatively common amongst the leading design systems folks. However, even then, there’s some hesitation around the early stage.

I see design systems use varied terms like:Alpha: Not for production use, demonstrates how things will be builtExperimental / Draft / Beta: Good enough for production use, but not yet stable or subject to breaking changeGA / Launch / Stable: It's complete enough and subject to breaking changes

— Nathan A Curtis (@nathanacurtis.bsky.social) November 5, 2024 at 6:49 PM

In my mind, the focus should be getting the most common components to an MVP state, and then the next layer of common usage to an alpha state. Even then, we could possibly complicate it and say that it’s the most common components that also take a lot of time to replicate. We should also be more comfortable with things being in an alpha state, as it’s an understanding that these things take time. Our design system isn’t a three month project, it’s something that needs to grow over time like any product or piece of infrastructure.

The reality is that the most common complex components probably comprise a relatively small list. Also, patterns will likely bubble up the important components in the most impactful contexts. And you might not prioritize those impactful components until you sort out your patterns.

Patterns are the way you differentiate

Components are important. They are the building blocks of how we build things. Now I’m not trying to be click-baity and controversial, I can say that components are important to focus on. However, I think the importance that we place on them is way too overstated. Not only because a large majority of our components are really similar, but also because components out of context can often have less power than if they’re thought about in their larger context. Patterns are the pieces that allow us to do that.

Patterns are essentially the way you differentiate your product or service from other folks doing similar things. Design system consultant Amy Hupe wrapped it up well They’re the way that you display what your organization values. Amy Hupe said it well:

Patterns are the thing that gives your whole product or service an opinion, and tells people what your organization values. The reason to pay more attention to them is that they’re ultimately the thing that defines your relationship with your audience.

They’re also agents for change, which Amy beautifully covered in her Converge 2024 talk. Because they’re opinionated, they allow us to draw lines in the sand and say, ‘This is how we’re making our users' lives better. This is the stand we want to take.'

So, how about we focus on patterns first?

A big thank you to Amy Hupe for sense-checking this article, and also for providing the initial inspiration for the topic. If you’re in the market for a design system or content lead, you should check out her company Frankly.

Luke Murphy
Luke Murphy
Luke (they/them) is Lead Design Advocate @ zeroheight. When they’re not enthusing about DesignOps, they are playing in bands, drawing silly things or writing academic articles about Josie and the Pussycats.
Try zeroheight
The design systems platform that keeps teams and agents in sync
Start for free
Share this post