About
An alert component made with framer motion and tailwind css.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Alert to your project and fits it to your theme.
Code
How Alert is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import Alert from "@/components/ui/alert";
export default function DemoOne() {
return <div className="flex flex-col gap-4">
<Alert type="success" message="This is a success alert." />
<Alert type="error" message="This is an error alert." />
<Alert type="warning" message="This is a warning alert." />
<Alert type="info" message="This is an info alert." />
</div>
}







