p-alert-4

PreviousNext

Info alert

Docs
cossblock

Preview

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

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

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

Installation

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

Usage

import { PAlert4 } from "@/components/p-alert-4"
<PAlert4 />