Modals
- from @dentil
Promise-based modal registry: await openModal(key, props) for a typed result, with lazy-loaded contents and stacking.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @dentil/modalsRegistry dependencies2
- button
- dialog
