An incredibly complex layout morphing component using Framer Motion's layoutId. Perfect for portfolios or feature highlights where clicking a grid item seamlessly expands it into a detailed modal view without losing context.
Live Preview
Installation
npx kinetic-ui-cli@latest add morph-transitionUsage Guide
1. Import the Component
Import the component into your React or Next.js page:
import { MorphTransition } from "@/components/creative/morph-transition";
2. Implementation Example
Render the component and customize its behavior by passing props:
import { MorphTransition } from "@/components/creative/morph-transition";
export default function Example() {
return (
<div className="w-full flex items-center justify-center p-8">
<MorphTransition
items{/* value */}
variant{/* value */}
/>
</div>
);
}