UI & interactionNewAccessible dialogs: modal, sheet, confirm
One small dialog core that does the whole job: a modal, side and bottom sheets you can drag away, and awaitable confirm() and prompt().

A sticky site header with logo, navigation, an optional call to action and a responsive phone menu.
The header condenses without shifting content. Includes a skip link, current-page state, one level of desktop dropdowns and a separate site footer with link columns, social links, a legal row and a form slot.
Measured 20 November 2026 on RTX 4060 Laptop, 13th Gen Intel(R) Core(TM) i9-13900H, Chrome 157, 1920×1080 at 1×. 600 frames × 3 rounds, median kept (rounds ranged CPU <0.01–<0.01 ms). What ran: Phone-width company page. The menu opens and closes twice from real input while sampled. Scroll and navigation otherwise run only in response to input. Phones: tiers are being measured next.
Frames run on a 60 Hz timer (a page demo), so most frames take about one tick, 16.7 ms: the spread around it is what matters.
install("site-shell")Your coding agent reads its pitfalls and installs it through the library’s MCP server. Set it upWritten for the library. Adapted from published work, named below.
Hannes Andersson: Feature Library accessible-dialog scroll lock and focus handling.