{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "alert",
  "title": "Alert",
  "type": "registry:ui",
  "files": [
    {
      "path": "packages/registry-native/components/alert/Alert.tsx",
      "content": "import * as React from 'react'\nimport { View, type ViewProps } from 'react-native'\nimport { Text, type TextProps } from '@/components/ui/text'\nimport { cn } from '@/lib/utils'\n\nexport interface AlertProps extends ViewProps {\n  className?: string\n  variant?: 'default' | 'destructive'\n}\n\nexport const Alert = React.forwardRef<React.ComponentRef<typeof View>, AlertProps>(\n  ({ className, variant = 'default', accessibilityRole = 'alert', ...props }, ref) => (\n    <View\n      ref={ref}\n      accessibilityRole={accessibilityRole}\n      className={cn(\n        'gap-[8px] rounded-lg border bg-card p-4',\n        variant === 'destructive' ? 'border-destructive' : 'border-border',\n        className,\n      )}\n      {...props}\n    />\n  ),\n)\nAlert.displayName = 'Alert'\n\nexport const AlertTitle = React.forwardRef<React.ComponentRef<typeof Text>, TextProps>(\n  ({ className, accessibilityRole = 'header', ...props }, ref) => (\n    <Text ref={ref} accessibilityRole={accessibilityRole} className={cn('font-semibold', className)} {...props} />\n  ),\n)\nAlertTitle.displayName = 'AlertTitle'\n\nexport const AlertDescription = React.forwardRef<React.ComponentRef<typeof Text>, TextProps>((props, ref) => (\n  <Text ref={ref} size=\"sm\" variant=\"muted\" {...props} />\n))\nAlertDescription.displayName = 'AlertDescription'\n\nexport const AlertActions = React.forwardRef<React.ComponentRef<typeof View>, ViewProps & { className?: string }>(\n  ({ className, ...props }, ref) => (\n    <View ref={ref} className={cn('flex-row flex-wrap items-center gap-[8px]', className)} {...props} />\n  ),\n)\nAlertActions.displayName = 'AlertActions'\n",
      "type": "registry:ui",
      "target": "~/components/ui/alert/Alert.tsx"
    },
    {
      "path": "packages/registry-native/components/alert/index.ts",
      "content": "export * from './Alert'\n",
      "type": "registry:ui",
      "target": "~/components/ui/alert/index.ts"
    }
  ],
  "dependencies": [],
  "devDependencies": [],
  "registryDependencies": [
    "https://native.uipkge.dev/r/native/text.json"
  ],
  "description": "Composable inline notice with caller-owned title, description, icons, and actions.",
  "categories": [
    "feedback"
  ]
}