modal
A window that appears over the page and blocks the content behind it until it is closed.
In more detail
Modals focus attention on one task, such as confirming a delete or viewing a photo. They must trap keyboard focus while open and return it when closed.
Example
Next.js intercepting routes give a modal its own URL, so a refresh or shared link opens the full page.Related terms
- intercepting routes — Routes that show a different page, often a modal, when you navigate to a URL from inside the app, while a direct visit shows the normal page.
- parallel routes — Rendering several pages side by side in one layout, each from a folder prefixed with @, such as @analytics.
- ARIA — The W3C standard of HTML attributes, such as role and aria-expanded, that tell assistive technology what a custom widget is and what state it is in.
Taught in
- Client Components: use client & Hydration Models — Next.js 15 & Modern App Router Architecture
- Component Tree Composition: Interleaving RSC & Client — Next.js 15 & Modern App Router Architecture
- Route Groups & Private Folders: Modular Structures — Next.js 15 & Modern App Router Architecture
- Parallel & Intercepting Routes: Modals & Split Views — Next.js 15 & Modern App Router Architecture