Report a problem or share feedback← Catalog
Dialog
freemotion-primitives/dialog
A modal dialog component with smooth entrance and exit animations.
$
npx shadcn@latest add @motion-primitives/dialognpm deps: motion
- Source
- Motion Primitives
- Kind
- component
- Categories
- modal
- Use as
- drop-in — replaces your component
- Applies to
- modal
- Motion
- on state, enter · medium · motion · medium cost
- Tags
- motion
- Licence
- MIT (ibelick/motion-primitives). Motion Primitives Pro is a separate paid product — not catalogued.
- Live demo
- motion-primitives.com
- Docs
- motion-primitives.com
Similar
Compare all 4 →- Morphing Dialogmotion-primitives/morphing-dialogCard that morphs into a dialog (shared layout) — the signature motion-primitives piece for galleries/case studies. Only the backdrop has colour (white/black 40%); you style the card with tokens.
- Popover Morph Popoverbeui/popover-morphComposable MorphPopover, MorphPopoverTrigger, MorphPopoverContent. The full-size panel reveals from the corner nearest the trigger on one synchronized spring clip, keeping content and borders unscaled, then retraces the clip on close. Clip-path and its drop-shadow may paint. Side/align aware, controlled or uncontrolled.
- Popover Formcult-ui/popover-formButton that morphs into a small inline form (feedback, waitlist). Text uses tokens but surfaces are bg-white / dark:bg-[#121212] plus blue accents — swap to bg-popover.