Frontend System Design
A beginner to advanced frontend system design library: the RADIO framework and estimation, rendering and delivery, performance and Core Web Vitals, state and data management, real-time and offline sync, architecture and micro-frontends, security, accessibility and i18n, testing and release, 16 worked UI and application designs, and an interview playbook.
Start here for frontend and full-stack design rounds, from "design a typeahead" to "design the web client for a collaborative editor used by 20 teams".
Each page teaches the topic the way interviews probe it: the requirement, the architecture, the data flow, the trade-off, and how you would measure and defend the result.
Every runnable snippet was executed, and current facts are folded in: INP as a Core Web Vital, React Server Components and streaming, speculation rules, the Popover and dialog top layer, passkeys, Trusted Types, and CRDT libraries.
- 01Frontend System Design Fundamentals
How frontend system design interviews work: what is being tested, the RADIO framework with a 45 minute time budget, requirements and clarifying questions, frontend estimation (bytes, requests, DOM nodes, memory), component API design, data model and API contract, trade-off vocabulary, and how to communicate a design.
Beginner - 02Rendering and Delivery
Where and when HTML is produced and how it reaches the user: the critical rendering path, CSR, SSR, SSG, ISR, streaming, React Server Components, islands, partial prerendering, hydration and its alternatives, CDN and edge delivery, HTTP caching headers, resource hints, speculation rules, and SEO.
Beginner to mid - 03Performance Engineering
Frontend performance for system design: Core Web Vitals (LCP, INP, CLS) and how they are measured, loading performance (bundles, code splitting, images, fonts, third parties), runtime performance (long tasks, scheduling, rendering cost, virtualization, workers), memory, performance budgets, and a debugging playbook.
Mid to advanced - 04State and Data Management
Where state lives and how data flows in a large frontend: server state vs client state vs URL state, query caches (stale-while-revalidate, deduplication, invalidation), normalization, pagination and infinite queries, optimistic updates and rollback, race conditions, forms and drafts, client persistence, and fetching architecture.
MidTable of Contents1. Kinds of State2. Where Should State Live?3. Server State and Query Caches4. Normalization5. Pagination and Infinite Lists6. Mutations and Optimistic Updates7. Race Conditions and Ordering8. Client State Tools9. Forms10. Persistence and Cross-Tab Sync11. Fetching Architecture+1 more - 05Real-Time, Offline, and Sync
Keeping a client live and usable on bad networks: polling, long polling, SSE, WebSockets, WebTransport and push, reconnect with backoff and resume, ordering and dedupe, backpressure, multi-tab connections, service workers and caching strategies, IndexedDB, offline-first with an outbox, background sync, conflict resolution, and CRDTs.
Mid to advancedTable of Contents1. Choosing a Transport2. WebSockets in Practice3. Server-Sent Events4. Reconnection, Resume, and Ordering5. Backpressure and Update Batching6. Multi-Tab and Multi-Device7. Service Workers and Caching Strategies8. Offline-First Architecture9. Conflict Resolution and CRDTs10. Push Notifications and Background Work11. Questions - 06Architecture and Scalability
Scaling a frontend codebase and the teams behind it: layered and feature-sliced architecture, module boundaries, design systems and tokens, headless components, styling strategy, monorepos and build caching, micro-frontends (Module Federation, iframes, web components, edge composition), feature flags and experiments, migrations, and error containment.
Senior - 07Security, Accessibility, and i18n
The quality bars every frontend design must meet: browser security model (same-origin, CORS, XSS, CSRF, CSP, Trusted Types, cookies and tokens, clickjacking, supply chain), authentication flows (sessions, OAuth with PKCE, passkeys), accessibility (semantics, keyboard, focus, ARIA patterns, WCAG), and internationalization (ICU messages, Intl, RTL, locale loading).
Mid to advanced - 08Testing, Observability, and Release
Shipping a frontend safely: the testing pyramid and trophy (unit, component, integration, contract, end-to-end, visual regression, accessibility, performance), test strategy for flaky and async UI, RUM and error tracking, logging and tracing correlation, analytics design, CI/CD, progressive delivery (canary, flags, rollback), versioning, and incident response.
Mid to senior - 09UI Component Designs
Worked frontend system designs for reusable UI components: typeahead, news feed with infinite scroll, image carousel, modal and toast overlay manager, data table, file uploader, nested comments, and date picker. Each covers requirements, architecture, state, API, performance, accessibility, and edge cases.
All levels - 10Application Designs
Worked frontend system designs for full applications: chat, collaborative document editor, e-commerce storefront and checkout, real-time analytics dashboard, video streaming UI, kanban board with drag and drop, maps and ride tracking, and photo library. Each covers requirements, architecture, data flow, real-time, performance, and trade-offs.
Mid to senior - 11Frontend System Design Interview Playbook
Frontend system design interview rehearsal: what each level is expected to know, a 60-question bank with strong-answer checklists, a mock 45 minute walkthrough, 30 design prompts with key points, diagnose-the-problem scenarios, cheat sheets, common mistakes, and a 7-day study plan.
All levels
Reading Path
Pick Your Level
| You are | Read in this order |
|---|---|
| New to design rounds | Fundamentals, Rendering and Delivery, UI Component Designs |
| Preparing for a mid-level loop | Add State and Data Management, Performance Engineering, and Security, Accessibility, and i18n |
| Preparing for senior or staff | Add Real-Time, Offline, and Sync, Architecture and Scalability, Testing, Observability, and Release, and Application Designs |
| One week left | The Interview Playbook study plan |
| Short on time (one page) | The Frontend System Design summary in HLD |
Related Sections
- System Design covers backend HLD and LLD, which frontend designs lean on for APIs and real-time infrastructure.
- React and Next.js cover the rendering model and the framework behind many designs.
- Redux covers Redux Toolkit and RTK Query for client and server state.
- JavaScript and TypeScript cover the language, event loop, and async patterns used throughout.
- Server-Driven UI is a full frontend architecture case study.
- Networking covers HTTP, TLS, DNS, and QUIC behind delivery and caching.
- Backend covers auth, caching, queues, and API design behind the contracts you negotiate.