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

Taught in

References