


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

As designers, we also need to think about our loading states, error states, and empty states upfront.
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.
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.

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

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.

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

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

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.
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:
Basically: Hope for the best, but plan for the worst!

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.
Not every user has the same setup. Devices, environments, and preferences all influence how people experience our products.
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:
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.

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:
And then, document what users see when content can’t load, and what can be cached or queued.
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.
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.
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.
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.
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.
