{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "alert-demo", "type": "registry:example", "registryDependencies": [ "alert" ], "files": [ { "path": "registry/new-york-v4/examples/alert-demo.tsx", "content": "import { AlertCircleIcon, CheckCircle2Icon, PopcornIcon } from \"lucide-react\"\n\nimport {\n Alert,\n AlertDescription,\n AlertTitle,\n} from \"@/registry/new-york-v4/ui/alert\"\n\nexport default function AlertDemo() {\n return (\n
\n \n \n Success! Your changes have been saved\n \n This is an alert with icon, title and description.\n \n \n \n \n \n This Alert has a title and an icon. No description.\n \n \n \n \n Unable to process your payment.\n \n

Please verify your billing information and try again.

\n
    \n
  • Check your card details
  • \n
  • Ensure sufficient funds
  • \n
  • Verify billing address
  • \n
\n
\n
\n
\n )\n}\n", "type": "registry:example" } ] }