p-alert-5

PreviousNext

Success alert

Docs
cossblock

Preview

Loading preview…
registry/default/particles/p-alert-5.tsx
import { CircleCheckIcon } from "lucide-react";

import {
  Alert,
  AlertDescription,
  AlertTitle,
} from "@/registry/default/ui/alert";

export default function Particle() {
  return (
    <Alert variant="success">
      <CircleCheckIcon />
      <AlertTitle>Heads up!</AlertTitle>
      <AlertDescription>
        Describe what can be done about it here.
      </AlertDescription>
    </Alert>
  );
}

Installation

npx shadcn@latest add @coss/p-alert-5

Usage

import { PAlert5 } from "@/components/p-alert-5"
<PAlert5 />