UI — overlays

Dialog

Focus-trapped modal built on Radix's accessible primitive. Handles scroll-lock, escape-to-close, and return-focus — we only layer the editorial-dark surface on top.

Sourcesrc/components/ui/dialog.tsx

Default

Trigger opens a centred modal with header, body, and footer regions.

Destructive confirm

Pair a danger-styled primary with a clear cancel. Escape + backdrop click still cancel.