The first time I was asked for system design in an interview, I expected to talk about databases, queues and load balancers. The question was something else: design the screen of a product, from the point of view of whoever is in the browser. There was no code to write. There was a blank whiteboard, forty-five minutes and an interviewer waiting for me to ask the right questions before drawing a single box.
Since then I have gone through interviews that asked for the whole system, front and back, and others that only wanted the front-end architecture. And, more than in interviews, I ran into these same problems at work, in systems that had to hold up under real use. This guide comes from all of that.
What Front-end System Design Is
In classic system design, the challenge is the server: how to store billions of records, how to handle millions of requests, what to do when a machine goes down. In the front-end version, the server becomes a black box that answers over HTTP or WebSocket. The focus is everything that happens on the user's side.

In practice, the questions look like this:
- Design a news feed with infinite scroll and real-time updates.
- Design a search box with suggestions as the person types.
- Design an online store catalog, with filters, search and a cart, that needs to show up on Google.
- Design a chat, a collaborative text editor or a live metrics dashboard.
What usually stays out is exactly what dominates the back-end version: database schema, SQL versus NoSQL, sharding, server high availability (Front End Interview Handbook). If you spend fifteen minutes talking about database replicas in a front-end interview, you are answering the wrong question.
Why It Separates Mid-level from Senior
Almost every mid-level developer knows how to build the screen the question describes. The difference shows up somewhere else. The GreatFrontEnd guide puts it well: performance, accessibility and internationalization are what separate a senior candidate from a junior one, and the candidate is expected to bring these topics up without waiting for the interviewer to ask (GreatFrontEnd).
I agree, and I would add a fourth point: trade-offs said out loud. A senior does not say "I would use GraphQL". They say "I would use GraphQL because this screen pulls data from four entities and the phone pays a high price for every round trip to the server, and I accept the cost of a more complex cache". The choice matters less than the reason.
The Front-end System Design Interview in Forty-five Minutes
Most interviews follow a similar format. A time split that works (System Design Handbook):
| Step | Time | What to do |
|---|---|---|
| Requirements | 5 to 10 min | Ask about scope, users, devices, volume, offline |
| Overview | about 5 min | Draw the main parts and how they connect |
| Deep dive | about 20 min | Pick 2 or 3 critical points and go deep |
| Trade-offs | about 10 min | What you gave up, what you would do with more time |
The most common mistake is skipping the first row. Drawing components without asking whether the screen needs to work offline, or whether it runs on an entry-level phone, is drawing in the dark.
RADIO, Step by Step
The best-known framework for organizing the answer is RADIO, created by Yangshun Tay, author of the Front End Interview Handbook. The suggestion is to literally write the five letters in the corner of the whiteboard and cross them off as you go.
R for requirements. Which features are in and which are out? Who uses it, and mostly on which device? Does it need to work without internet? Is there more than one language? How many items can a list have? Every answer changes the design. A feed with ten items and one with ten thousand are different problems.
A for architecture. The main pieces and how they talk to each other: the view layer, the state manager, the layer that talks to the API, the cache. This is also where the rendering strategy comes in, which is one of the decisions that weighs the most. When the layer that talks to the API becomes a server built only for the interface, it has a name: BFF, the Backend for Frontend.
D for data model. Which entities exist, which fields each one has and who owns each piece of state. The split that matters most: server state (posts, products, messages, which are a copy of what is in the database and need caching and invalidation) and client state (the open tab, the typed text, the selected filter, which only exist on the screen).
I for interface. The contract between the parts. In an application, it is the network API: which endpoints exist, what they take, what they return, how they paginate. In a standalone component, it is the component's API: which props it receives and which events it emits.
O for optimizations. Where the senior shows up. Performance, accessibility, internationalization, behavior on a slow network, security. You do not need to cover everything. You need to pick what matters most for that product and explain why.
A Quick Example: Search with Suggestions
Autocomplete is one of the classic questions, and it fits entirely in one example.

Requirements. Suggestions show up as the person types. It needs to work on a phone. Results come from an API. Keyboard and screen reader need to work.
Architecture. A text input, a list of suggestions, a controller that decides when to search, and a cache per search term.
Data model. For each term, the list of results and the time it arrived. Client state: the typed text and the highlighted item in the list.
Interface. GET /search?q=term&limit=8, returning items with id, text and, if there is one, an image.
Optimizations, where the good conversation is:
- Do not search on every keystroke. Waiting for the person to stop typing for a few milliseconds (debounce) cuts most of the calls.
- Cache per term. Someone who deletes a letter goes back to a term that was already searched. No need to hit the server again.
- Race between responses. The person types "rea" and then "react". If the response for "rea" arrives last, the screen shows the wrong result. The fix is to cancel the previous call:
let controller: AbortController | undefined;
async function search(term: string) {
controller?.abort(); // the old response must not overwrite the new one
controller = new AbortController();
const response = await fetch(`/search?q=${encodeURIComponent(term)}`, {
signal: controller.signal,
});
return response.json();
}- Accessibility. The WAI-ARIA combobox pattern: arrow keys navigate, Enter selects, Esc closes, and the screen reader announces how many results came up. Whoever forgets this in a senior front-end interview loses points, and rightly so.
Notice that none of these points depends on a framework. That is what the interview wants to see.
The Topics That Always Come Back
Whatever the question, a few subjects show up almost every time. It is worth having a formed opinion on each one.
How the Page Is Rendered
| Strategy | Good for | Cost |
|---|---|---|
| In the browser (CSR) | Dashboard behind a login, lots of interaction | More JavaScript, slower first screen, worse for search |
| On the server (SSR) | Page that changes per user and needs to show up on Google | Server works on every visit |
| Static (SSG) | Content that rarely changes: blog, documentation | Hard with thousands of pages that change all the time |
| Streaming and Server Components | Page with slow parts and fast parts | More complexity at the boundary between server and client |
The web.dev guide on rendering makes a point worth quoting: hydrating a server-rendered page is often paying twice for the same app (web.dev, Rendering on the Web). That is why the mature answer is usually to mix strategies per page, not to pick one for the whole system. This site does exactly that: pages come ready from the server and only the interactive parts load JavaScript. I compared SSGStrategy that generates page HTML once, at build time, and serves the ready files. Very fast, but content only changes with a new build., ISRVariant of static generation where prebuilt pages are rebuilt in the background after a time limit or a trigger, without a new build., SSRStrategy where the server builds the page HTML on each request, with current data, so the browser receives content ready to display. and CSRWay of building the page in the browser: the server sends almost empty HTML and JavaScript fetches the data and draws the screen. in detail in choosing between SSR, SSG, ISR and CSR.
Pagination: Offset or Cursor
Offset pagination (?page=3) is simple and lets you jump to a specific page and show the total. But in a feed that keeps getting new items, it repeats or skips items when the list changes between one page and the next. Cursor pagination (?after=abc123) solves this, because the next page starts from an item, not from a position. Relay's connections specification is the most used reference for the format (Relay, Cursor Connections).
Performance You Can Measure
The three Core Web VitalsGoogle's set of metrics on the real experience of page visitors: loading (LCP), responsiveness to input (INP) and visual stability (CLS)., with the thresholds Google considers good, measured at the 75th percentile of real visits (web.dev, Web Vitals):
- LCP (largest content visible on the screen): up to 2.5 seconds.
- INP (response time to a click or tap): up to 200 milliseconds. It replaced FID in 2024; material that still talks about FID is outdated.
- CLS (how much the screen jumps while it loads): up to 0.1.
Quoting these numbers with confidence, and saying which one your architecture puts at risk, shows you have measured a real site before.
Where to Store the Token
Language and URL
If the product has more than one language, each language needs its own URL, or Google indexes only one of them. I wrote about that mistake, which I made myself, in the article why Google only indexes one language of your site.
What I Saw Outside the Interview
The same topics show up at work, only with consequences.
In the AYA Energia Portal, an operations system for solar plants, the most delicate screens are the large lists with filters: pending items, payments, generation per plant. The conversation that mattered there was about server state, caching and invalidation, because stale data on an operations screen turns into a wrong decision. On this site, the most important decision was about rendering: pages ready from the server, because they need to show up on Google, and JavaScript only where there is interaction.
None of these decisions fit into an answer to "which framework do you use". All of them fit into RADIO.
The Mistakes I See Most
- Starting with code. Writing JSX in the first few minutes sends the message that you do not know what you are building.
- Answering with a library name. "I would use Redux" is not architecture. Saying which problem Redux solves there, and why something else would not, is.
- Not asking anything. The interviewer leaves the question vague on purpose. Whoever does not ask loses the chance to show how they think.
- Forgetting the phone. Designing with the office laptop in mind, when most of the usage is on a phone with an unstable connection.
- Leaving accessibility for the end, or for never. It is one of the three points that set the senior apart. Bring it up early.
Where to Practice
- GreatFrontEnd, Front End System Design Playbook. Where the full RADIO lives. The autocomplete and news feed questions are free; the others, like image carousel, chat and collaborative editor, are paid.
- Front End Interview Handbook. Free, by the same author, with the essentials of the framework.
- awesome-front-end-system-design. A list of real case studies organized by product type.
- Frontend Masters, Front-End System Design. A course of about four and a half hours with a mock news feed interview.
- System Design Handbook, front-end guide. A good overview of the topics and the time split.
- patterns.dev. Rendering patterns explained with diagrams.
- How the new facebook.com was built. A 2020 Meta engineering article that is still a lesson in front-end decisions at scale: CSS that dropped to less than 20% of its size and JavaScript loaded in layers.
- roadmap.sh. To see where system design fits in the front-end path.
- Excalidraw. A browser whiteboard, the same kind many interviews use. Practice drawing the boxes while you talk.
The best practice, though, is doing it out loud. Pick a question, set a forty-five minute timer and explain it to someone, or record yourself. The gap between knowing something and being able to explain it under pressure only shows up that way.
I am also building DevFlash, a practice tool with front-end challenges and tests running in the browser, still in development.
Frequently Asked Questions
Does the front-end system design interview show up for mid-level roles?
Sometimes, in a lighter version, focused on a single component. For senior roles and above, it is more and more common, and it often weighs on which level you get.
Do I need to know back-end system design too?
For pure front-end, the basics are enough: what a cache, a queue and a CDN are, and why an API paginates. For a full stack role, yes, both halves.
Which framework should I use in the answer?
None, ideally. Talk about components, state and contracts. If the interviewer asks, mention what you know well and explain why. If your doubt is whether React is still a good bet, I wrote about that in is React still worth learning in 2026.
Does RADIO have to be followed in order?
No. It is a reminder of what to cover, not a rigid script. Often the conversation about data leads to a change in the architecture, and it is fine to go back.
References
- GreatFrontEnd. Front End System Design Playbook and the RADIO framework.
- Yangshun Tay. Front End Interview Handbook: system design.
- System Design Handbook. Frontend System Design.
- Mukesh Sharma. Frontend System Design: A Practical Guide for Engineers.
- web.dev. Rendering on the Web and Web Vitals.
- Relay. GraphQL Cursor Connections Specification.
- OWASP. HTML5 Security Cheat Sheet.
- W3C WAI. Combobox pattern in the ARIA Authoring Practices.
- Meta Engineering. Rebuilding our tech stack for the new Facebook.com.