Overlays

Alert Dialog

A compact confirmation that has to be answered.

npx shadcn-svelte@latest add http://localhost:5173/r/alert-dialog.json

Destructive

Compact and centered like a system alert. It can't be dismissed by clicking outside: it has to be answered. Focus starts on Cancel.

light
dark

Plain and stacked

Without media; with three choices the buttons stack.

light
dark