Modal
- from @lema-ds
A flexible modal dialog built on Dialog with size variants (sm/md/lg/xl/2xl/full), intent system (default/destructive/success/warning/info), defaultOpen for uncontrolled usage, scrollable body, auto async confirm tracking, loading skeleton, escape/pointer-down-outside/interact-outside event handlers, and i18n support.
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 @lema-ds/ds-modalLive preview
No live preview has been built for this component yet.
Registry dependencies8
- @lema-ds/dialog
- @lema-ds/button
- @lema-ds/skeleton
- @lema-ds/ui-i18n
- @lema-ds/separator
- @lema-ds/spinner
- @lema-ds/ds-locale-provider
- @lema-ds/tokens
