Pixel art smiley face on a pink background, representing happiness and positivity in digital design.

Designing beyond the happy path in design systems

Stéphanie Walter
Written by Stéphanie Walter
Jan 20, 2026

As designers, we tend to work on pixel-perfect screens and focus on the happy path – where everything looks neat and goes according to plan. And then reality sets in: real content, different browsers, and of course, real users.  Pages take a long time to load. Errors happen. Sometimes there’s no content, or there’s too much. Users have specific preferences and settings, and they use different devices. 

The designer’s happy path is only a fraction of the real experience. A design system should help us anticipate this reality.

Design for technical states

One of the easiest ways to move beyond the happy path is to plan for technical states. Designers often only provide the perfect, fully loaded version: Everything is fine, content, and images are all there. Then, when things break, developers have to guess how to display the UI components.  

A flowchart showing everything that can go wrong after a user opens the page: loading state, page does load (error state), page loads but then there is no content (empty state), page loads and there is content (loaded page).

As designers, we also need to think about our loading states, error states, and empty states upfront.

Loading states

The first thing I ask myself is: How will my page behave while it loads? What will users see while they wait? A blank screen feels broken. A loading indicator might work for short waits. But for longer loading times, I usually prefer to bring parts of the screen in progressively to avoid the empty-page effect. 

This is where skeleton screens are super useful, especially on SPAs (Single Page Applications): They can make the wait feel shorter, while you populate the page with content. To build skeletons, I typically work backward: Start from the final screen, the result, then prepare a step-by-step on how the information will load progressively.

Error states

What happens when we encounter an error in the content loading? For example: Systems fail. Connections drop. APIs return bad data. This is where you want to design error screens, or error components, to reassure your users. 

These should explain the problem in plain language and guide users to the next step. And for component-level errors, display partial content where possible instead of blocking the whole page.

Empty states

Empty states can be interesting design opportunities: The Dr. Martens empty search results push for extra content, the task manager informs the user that they’re all caught up with a nice illustration.

Next step: The page loads, there’s no error, but what if there is nothing to show? Empty screens can frustrate or confuse users. But they can also be opportunities. 

Dr. Martens, in the example above, uses empty search results to suggest products and categories. In a task manager app I designed, we added a nice illustration to reinforce the fact that the user is all caught up – no tasks to validate. This is useful, because they know everything went fine. It’s not empty because there is a problem, but because they have already done their job. 

My advice: Add a touch of personality. Turn emptiness into value.

Document loading, error, and empty states as generic patterns, so you don’t reinvent the wheel for each component.

Design for flexibility across layouts and containers

We tend to think about components as reusable entities that need to adapt: They will  appear in different sizes, layouts, and containers. A robust design system prepares for that.

Adapting to viewport size

Responsive Web Design, with a cooking recipe card in three sizes: S, M, and L. The L size is used for medium to big screens, while small screens use M, and tiny screens use S.

Let’s say we have a cooking site with a card component. We might have a small, medium, and large version. We often assume small equals mobile and large equals desktop. So, we need to build our components to adapt for responsive design: different viewport sizes. 

Adapting to different layouts and containers

Reuse of the component in different containers: the cooking recipe thumbnail is used in the L size in the main content, and the S size is reused in a sidebar.

What about reusing that component in other contexts as well?  Our small component, for example, could be used on mobile. But we might also want to reuse it in a sidebar on the desktop. Or as a gallery of “related recipes” at the bottom of the page. 

To achieve this, we can now use container queries. While media queries are used for responsiveness and handle the viewport size, container queries let you query the container size in CSS. 

So, when we combine media queries and container queries, we can build flexible components that adapt to many contexts.  

Adapting to real user-generated content 

As designers, we also tend to imagine our components with all the necessary content. To avoid breaking the component, we need to anticipate what happens when the content isn’t what we expected. Especially when our content is user-generated.

What happens if there’s no content value (yet?). Three different examples of the cooking thumbnail component, without enough votes to get a star rating.

Let’s say my cooking site allows user ratings, and we decide to display this rating in the recipe card component. What happens if my recipe doesn’t have ratings yet? 

  • Do we show zero stars, with a 0 vote? 
  • Do we change it, hide the stars to avoid misleading users into thinking the recipe has a bad grade, and adapt the content to “No ratings available”?
  • Or, do we just hide all the ratings?

This is an example of content-related design decisions designers need to foresee when building components to make sure they won’t break. My advice: Set rules in advance for missing content, placeholders, growing content, etc. Modern CSS gives you a lot of flexibility (for example, flexbox, calc(), :has) to adapt the content. But designers need to align with developers on how content should adapt in advance!  

Designing for inclusive interactions

Beyond visuals, interactions also have happy paths. We often imagine the path for a user with a mouse. But users interact in diverse ways. We need to account for that.

Interaction states

Providing different interaction states for components: examples of links and buttons in different states, including default, hover, focused (default browser), active, visited (only for links), and disabled (only for buttons).

In our design systems, we can document all states for buttons and links: default, hover, focus, active, disabled. If you don’t keep the default browser focus state, it’s very important to design and document an accessible alternative for keyboard support. 

You can refer to “A guide to designing accessible, WCAG-conformant focus indicators” by Sara Soueidan for a good example. 

Forms beyond the happy path

We imagine that everyone will be able to fill out forms smoothly. But, again, that’s unlikely to happen. Forms often fail. Users mistype, forget fields, or misunderstand instructions. To make form interactions inclusive, plan ways to:

  • help users prevent errors (expected format, instructions, mandatory fields, etc.) 
  • help recover from errors (errors are marked, clear messages, etc.)

 Basically: Hope for the best, but plan for the worst!

Interaction flows for complex components

Interactive flow describing how a dropdown menu is working for mouse and keyboard interaction.

Considering all the interactions with a complex component (like dropdowns, accordions, or modals) isn’t easy. My go-to method is to create an interactive flow. 

This is a step-by-step flow of how someone might interact with a component using a mouse. And then it replicates that flow for keyboard navigation. This helps me make sure the interaction works, that I didn’t forget some in-between cases, and also that it’s accessible. 

Designing for user preferences and environments

Not every user has the same setup. Devices, environments, and preferences all influence how people experience our products.

Zoom and scaling

Some users need to zoom in to be able to use our products effectively. It can be browser zoom, but also enlarging the font to a bigger default. 

We need to ensure that our components and products work under those constraints. We won’t create all the mockups at 100% and 200% of course. This is more a job for the development and testing team:

  • Don’t block the zoom in the browser (sounds obvious, but so many websites do, it’s very annoying on mobile, especially).
  • Test components and products at multiple zoom levels, with different text zooms, and check that the layout doesn’t break. And that features and contents are not hidden.

Orientation changes

Some users prefer to use their devices in portrait, others in landscape. Here again, we often forget to take this into consideration and assume a single orientation.

Support both portrait and landscape modes. And, again, don’t block orientation changes. And then, of course, test both for missing or hidden content.

Offline and poor connections

Design for periodically synchronized data in the background, with an example of four states for a messenger app: ideal state, synchronization fail, synchronizing, synchronization success.

Last but not least, not everyone has a stable connection. I’ve worked on projects in car dealerships, where wifi was often very bad. To account for this, you can offer multiple options at the component or product level:

  • Options to work offline
  • Option to synchronize data in the background

And then, document what users see when content can’t load, and what can be cached or queued.

How to make it happen

So, how do we make this all happen? For me, it’s about designers collaborating efficiently with developers. Designers don’t need to mock up every single case. But they must define the rules that go beyond their pixel-perfect mockups. 

Early collaboration with developers

Designers can ask developers about technical constraints early: database limits, maximum and minimum amount of content, APIs, synchronization options. Knowing this helps us design realistic states. Treat design systems as a shared tool. Designers bring structure and usability. Developers bring technical insights. Together, you cover all cases.

Peer reviews in the browser

We often tend to show those happy paths in our mockups.  But real life happens in the browser. So, don’t stay in the design tool for too long. Review components live with developers. Adjust messages, spacing, and flows together, and in the browser.  

Research sessions in users’ context  

Don’t forget to go and understand users in their real context and environment. This can be done earlier in the process, during the discovery phase, by running contextual inquiries. Observe users in their own environment. And then, once you have prototypes, you can run usability testing sessions in the same contexts.

There are no edge cases…

My new slogan is “There are no edge cases. Only cases you haven’t designed for – yet.” And, of course, your real users will face them. It’s inevitable. But when we design beyond the happy path, we build resilient components and anticipate messy realities.  

Use this article as a checklist: Document states, plan for flexibility, design inclusive interactions, adapt to preferences, collaborate with developers, and study your users’ real environment. These steps help you move from perfect pixels in design tools to real, useful systems.

All images in this article were created by Stéphanie Walter. If you want to hear more from Stéphanie, check out her website and sign up to her excellent newsletter Pixels of the Week. 

Stéphanie Walter
Stéphanie Walter
Stéphanie is a UX researcher and strategist based in Luxembourg with over 15+ years of experience, specializing in enterprise UX, inclusive design, and accessibility. She teaches, speaks, and writes about design, UX research, cognitive biases, and the design-dev relationship, among other topics. When she doesn’t work, she enjoys good tea, bike rides, and drawing illustrations. Her D&D alignment is chaotic neutral, and she is better at keeping her teammates alive in video games than her plants, though she makes an effort. 🌱 Feel free to reach out to her for questions about research and design!
Try zeroheight
The design systems platform that keeps teams and agents in sync
Start for free
Share this post