About
A dismissible banner for showing status messages (info, success, warning, error) with an optional title and close button.
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 PlainAlertDemo() {
return (
<div style={{ maxWidth: 480 }}>
<Alert variant="warning">Just a plain warning.</Alert>
</div>
);
}







