Modal

Displays a modal component with customizable sizes, animations, and content.

A simple crazxy modal component

Installation

pnpm dlx shadcn@latest add https://crazxyui.in/r/crazxy-modal.json

Usages

import { Modal } from "@/components/ui/crazxy-ui/modal";
<Modal
  isOpen={true}
  onClose={() => alert("Modal closed")}
  title="Example Modal"
  description="This is an example modal component."
  footer={<button className="btn btn-primary">Confirm</button>}
>
  <p>This is the content inside the modal.</p>
</Modal>