About
Alert in shadcn/ui format
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"
import { Info } from "lucide-react"
function AlertInfo() {
return (
<Alert
layout="row"
icon={<Info className="text-blue-500" size={16} strokeWidth={2} />}
>
<p className="text-sm">Just a quick note!</p>
</Alert>
)
}
export { AlertInfo }






