All components

Alert Danger

Alert Danger is a React and Tailwind CSS feedback component from Bund UI, licensed MIT. Copy it and paste it into your project.

Bund UI MIT feedback

What it is

Alert Danger is a React and Tailwind CSS feedback component from Bund UI, licensed MIT. Copy it and paste it into your project.

How to use it

Open it in the catalogue, press copy, and paste it into your project. The prompt you copy carries the code and the rules that tell your agent to reproduce it without changing anything.

Open in the catalogue

Five free copies a month. No card.

Needs

npm i lucide-react

Licence

This component comes from Bund UI and is redistributed under the MIT licence, which permits commercial use. The copyright notice travels with the code.

Alert Danger

examples/components/alert/danger/page.tsx
import { XIcon } from "lucide-react";
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert";

export default function AlertDanger() {
  return (
    <Alert variant="destructive" className="*:text-destructive!">
      <XIcon />
      <AlertTitle>Unable to process your payment.</AlertTitle>
      <AlertDescription>Please verify your billing information and try again.</AlertDescription>
    </Alert>
  );
}

Similar components