{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "ui-alert",
  "title": "Ui Alert",
  "dependencies": [
    "class-variance-authority@0.7.1"
  ],
  "devDependencies": [],
  "registryDependencies": [
    "https://ui.orchid.ai/r/orchid-foundation.json",
    "https://ui.orchid.ai/r/orchid-theme.json"
  ],
  "files": [
    {
      "path": "registry/ui/orchid/ui/alert.tsx",
      "content": "\"use client\";\nimport * as React from \"react\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport { cn } from \"../lib/ui-utils\";\nconst alertVariants = cva(\"relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7\", {\n    variants: {\n        variant: {\n            default: \"bg-background text-foreground\",\n            destructive: \"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive\",\n        },\n    },\n    defaultVariants: {\n        variant: \"default\",\n    },\n});\nconst Alert = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof alertVariants>>(({ className, variant, ...props }, ref) => (<div ref={ref} role=\"alert\" className={cn(alertVariants({ variant }), className)} {...props}/>));\nAlert.displayName = \"Alert\";\nconst AlertTitle = React.forwardRef<HTMLParagraphElement, React.HTMLAttributes<HTMLHeadingElement>>(({ className, ...props }, ref) => (<h5 ref={ref} className={cn(\"mb-1 font-medium leading-none tracking-tight\", className)} {...props}/>));\nAlertTitle.displayName = \"AlertTitle\";\nconst AlertDescription = React.forwardRef<HTMLParagraphElement, React.HTMLAttributes<HTMLParagraphElement>>(({ className, ...props }, ref) => (<div ref={ref} className={cn(\"text-sm [&_p]:leading-relaxed\", className)} {...props}/>));\nAlertDescription.displayName = \"AlertDescription\";\nexport { Alert, AlertTitle, AlertDescription };\n",
      "type": "registry:ui",
      "target": "@ui/orchid/ui/alert.tsx"
    }
  ],
  "type": "registry:ui"
}