Lab // Index
Total: 07Component // Modal
06 of 07Family Style Modal
Multi-step modal component with smooth animations and stateful workflow using Framer Motion
Demo // Live
InteractiveInstall // Steps
Total: 02Step 01
Install dependencies
npm install motion lucide-reactStep 02
Copy and paste the following code into your project.
import { FamilyStyleModal } from "@/components/craft/family-style-modal";
export default function MyPage() {
return (
<div className="min-h-screen p-8">
<FamilyStyleModal />
</div>
);
}Spec // Features
Total: 08- 01
Multi-step workflow (4 states)
- 02
Layout animations with layoutId
- 03
Staggered entrance animations
- 04
Spring physics transitions
- 05
Dark mode support
- 06
Responsive design
- 07
Auto-progression (processing to success)
- 08
Backdrop blur effect
Spec // Props
Total: 01| Prop | Type | Default | Description |
|---|---|---|---|
| - | - | - | No props required. Component manages its own state. |