GSAPGSAP Modal

GSAP Modal

Professional modal with backdrop fade, scale entry, and staggered content animations using GSAP.

Installation

$ npx @nehal712521/inprogress add gsap-modal

Requires: gsap, lucide-react

Preview

Usage

import { GSAPModal } from "@/components/ui/gsap-modal";
import { useState } from "react";

const [isOpen, setIsOpen] = useState(false);

<GSAPModal isOpen={isOpen} onClose={() => setIsOpen(false)} title="Modal Title">
  <p>Your modal content here</p>
</GSAPModal>