Dialogs

Modal dialogs and side sheets for confirmations, sharing, commands and upgrades, built with shadcn/ui.

Edit in DS Manager
5 shadcn blocks1 free

Confirm, delete and invite dialogs

Free

Install: npx shadcn@latest add @shadcndesign/dialog-1

Command palette dialog with search and shortcuts

Pro

Install: npx shadcn@latest add @shadcndesign/dialog-2

Task detail sheet with properties, subtasks and comments

Pro

Install: npx shadcn@latest add @shadcndesign/dialog-3

Share dialog with people, roles and link access

Pro

Install: npx shadcn@latest add @shadcndesign/dialog-4

Upgrade plan dialog with seats and payment summary

Pro

Install: npx shadcn@latest add @shadcndesign/dialog-5

Dialogs

A dialog block, built with shadcn/ui, opens on top of the current page for a short task: confirm a delete, share a document, run a command from a palette or upgrade a plan, all without leaving the page.

FAQs

When should I use a dialog instead of a new page?

For short tasks that need the user's full attention, like a confirmation or a small form. Longer work belongs on its own page.

How do I make destructive actions safe?

Say exactly what will be deleted and ask the user to type its name or press a clearly labelled button.

Should a dialog close when I click outside it?

For simple confirmations, yes. For forms with unsaved input, keep it open so nothing gets lost.

Can people use these dialogs with a keyboard?

Yes. Focus moves into the dialog when it opens, Escape closes it and focus goes back to the button that opened it.