Dialog
- from @pinfold
A native modal dialog from one config: centred, full screen, or a sheet or drawer from any edge; an alert dialog with one option. Free content, header and footer, the body scrolls inside or with the page and its edges show what is hidden. Focus trap, Escape and focus return come from the browser.
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 @pinfold/dialogComponent source
No live preview has been built for this component yet.
Registry dependencies0
The CLI adds no other registry items with this one.
