{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "fab",
  "title": "Fab",
  "type": "registry:ui",
  "files": [
    {
      "path": "packages/registry-native/components/fab/Fab.tsx",
      "content": "import * as React from 'react'\nimport { Pressable } from 'react-native'\nimport type { LucideIcon } from 'lucide-react-native'\nimport { Button, type ButtonProps } from '@/components/ui/button'\nimport { Icon } from '@/components/ui/icon'\nimport { useThemeColors } from '@/lib/theme'\nimport { cn } from '@/lib/utils'\n\nexport interface FabProps extends Omit<ButtonProps, 'children' | 'size' | 'variant'> {\n  icon: LucideIcon\n  label?: string\n  accessibilityLabel: string\n}\n\n/** The screen owns floating placement and the space reserved around navigation. */\nexport const Fab = React.forwardRef<React.ComponentRef<typeof Pressable>, FabProps>(\n  ({ icon, label, className, ...props }, ref) => {\n    const colors = useThemeColors()\n    return (\n      <Button ref={ref} {...props} size={label ? 'lg' : 'icon'} className={cn('self-start rounded-full', className)}>\n        <Icon icon={icon} size={24} color={colors.primaryForeground} />\n        {label}\n      </Button>\n    )\n  },\n)\nFab.displayName = 'Fab'\n",
      "type": "registry:ui",
      "target": "~/components/ui/fab/Fab.tsx"
    },
    {
      "path": "packages/registry-native/components/fab/index.ts",
      "content": "export * from './Fab'\n",
      "type": "registry:ui",
      "target": "~/components/ui/fab/index.ts"
    }
  ],
  "dependencies": [
    "lucide-react-native"
  ],
  "devDependencies": [],
  "registryDependencies": [
    "https://native.uipkge.dev/r/native/button.json",
    "https://native.uipkge.dev/r/native/icon.json"
  ],
  "description": "Primary floating-action control with icon-only and extended-label forms; screens own placement.",
  "categories": [
    "control"
  ]
}