Info Alert

PreviousNext

An info alert component

Docs
shadcnui-blockscomponent

Preview

Loading preview…
components/customized/alert/alert-05.tsx
import { Alert, AlertDescription, AlertTitle } from "@/registry/ui/alert";
import { InfoIcon } from "lucide-react";

export default function AlertInfoDemo() {
  return (
    <Alert className="border-cyan-600/50 text-cyan-600 dark:border-cyan-600 [&>svg]:text-cyan-600">
      <InfoIcon className="size-4" />
      <AlertTitle>Important Information</AlertTitle>
      <AlertDescription className="text-cyan-600">
        Make sure to review the recent updates before proceeding.
      </AlertDescription>
    </Alert>
  );
}

Installation

npx shadcn@latest add @shadcnui-blocks/alert-05

Usage

import { Alert05 } from "@/components/alert-05"
<Alert05 />