Skip to Content

Dialog

Dialog example: a centered modal with blurred overlay, header, title, description and footer. A ghost close button sits in the top corner by default.

View as Markdown
pnpm dlx shadcn add @01orbital/dialog

Examples

Upcoming Chargedialog-billing-upcoming-charge-01

Next billing date and amount with a short breakdown and payment method.

pnpm dlx shadcn add @01orbital/dialog-billing-upcoming-charge-01

Dependencies

npm: @base-ui/react, @phosphor-icons/react, cn. The CLI installs them for you. cn merges Tailwind class names, in place of clsx and tailwind-merge.

Registry pieces it installs with it:

Used in blocks

4 blocks are built with Dialog: