shadimage
kanpeki
examplealert-demosource: ok · hit

Alert Demo

npx shadcn add "https://kanpeki.vercel.app/r/alert-demo.json"
free

No selection tags yet — empty means no evidence, not lack of support.

Dependencies

Bundle weight · light

Registry dependencies

@kanpeki/alert

Files1 · source cached 10/15/2026, 6:38:17 AM

src/registry/examples/alert/alert-demo.tsx
import { CheckCircle2Icon } from "lucide-react";
import { Alert } from "~/registry/ui/alert";

export function AlertDemo() {
  return (
    <Alert.Root>
      <CheckCircle2Icon />
      <Alert.Title>Success! Your changes have been saved</Alert.Title>
      <Alert.Description>
        This is an alert. with icon, title and description.
      </Alert.Description>
    </Alert.Root>
  );
}

More from kanpeki

Browse all components in this library →