Morphing Dialog
Morphing Dialog: An expandable card trigger that fluidly morphs into a centered dialog without jarring popup animations. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Morphing Dialog
npx motion-ui-skill add morphing-dialogComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxlucide-reactmotionreacttailwind-merge
Source files
Morphing Dialog
An expandable card trigger that fluidly morphs into a centered dialog without jarring popup animations.
Install
npx motion-ui-skill add morphing-dialog
Dependencies
clsxlucide-reactmotionreacttailwind-merge
Usage
"use client";
import { MorphingDialog as MorphingDialog } from "@/components/craft/morphing-dialog";
export function Example() {
return (
<div className="p-6">
<MorphingDialog />
</div>
);
}