kanpeki
examplealert-destructive-demosource: ok · hit
Alert Destructive Demo
npx shadcn add "https://kanpeki.vercel.app/r/alert-destructive-demo.json"free
No selection tags yet — empty means no evidence, not lack of support.
Dependencies
Bundle weight · lightRegistry dependencies
@kanpeki/alert
Files1 · source cached 10/9/2026, 6:07:06 AM
src/registry/examples/alert/alert-destructive-demo.tsx
import { AlertCircleIcon } from "lucide-react";
import { Alert } from "~/registry/ui/alert";
export function AlertDestructiveDemo() {
return (
<Alert.Root variant="destructive">
<AlertCircleIcon />
<Alert.Title>Something went wrong!</Alert.Title>
<Alert.Description>
Your session has expired. Please log in again.
</Alert.Description>
</Alert.Root>
);
}