shadimage
kanpeki
examplealert-warning-demosource: ok · hit

Alert Warning Demo

npx shadcn add "https://kanpeki.vercel.app/r/alert-warning-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/9/2026, 8:47:26 AM

src/registry/examples/alert/alert-warning-demo.tsx
import { Icons } from "~/components/icons";
import { Alert } from "~/registry/ui/alert";

export function AlertWarningDemo() {
  return (
    <Alert.Root variant="warning">
      <Icons.TriangleAlert />
      <Alert.Title>Warning!</Alert.Title>
      <Alert.Description>
        Please be cautious while proceeding.
      </Alert.Description>
    </Alert.Root>
  );
}

More from kanpeki

Browse all components in this library →