{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "bottom-tabs",
  "title": "Bottom Tabs",
  "type": "registry:page",
  "files": [
    {
      "path": "packages/registry-native/blocks/bottom-tabs/_layout.tsx",
      "content": "import { Tabs } from 'expo-router'\nimport { Bookmark, House, UserRound } from 'lucide-react-native'\nimport { useWindowDimensions } from 'react-native'\nimport { useSafeAreaInsets } from 'react-native-safe-area-context'\nimport { useThemeColors } from '@/lib/theme'\n\nexport default function BottomTabsLayout() {\n  const colors = useThemeColors()\n  const { fontScale } = useWindowDimensions()\n  const { bottom } = useSafeAreaInsets()\n  // Keep room for a 24 dp icon, vertical spacing, and the scaled 13 sp label.\n  const tabBarHeight = 32 + Math.ceil(18 * fontScale) + bottom\n\n  return (\n    <Tabs\n      backBehavior=\"history\"\n      screenOptions={{\n        headerShown: false,\n        sceneStyle: { backgroundColor: colors.background },\n        tabBarStyle: { backgroundColor: colors.background, borderTopColor: colors.input, height: tabBarHeight },\n        tabBarActiveTintColor: colors.foreground,\n        tabBarInactiveTintColor: colors.mutedForeground,\n        tabBarLabelStyle: { fontSize: 13 },\n      }}\n    >\n      <Tabs.Screen\n        name=\"index\"\n        options={{ title: 'Home', tabBarIcon: ({ color, size }) => <House color={color} size={size} /> }}\n      />\n      <Tabs.Screen\n        name=\"saved\"\n        options={{ title: 'Saved', tabBarIcon: ({ color, size }) => <Bookmark color={color} size={size} /> }}\n      />\n      <Tabs.Screen\n        name=\"profile\"\n        options={{ title: 'Profile', tabBarIcon: ({ color, size }) => <UserRound color={color} size={size} /> }}\n      />\n    </Tabs>\n  )\n}\n",
      "type": "registry:page",
      "target": "~/app/navigation/bottom-tabs/_layout.tsx"
    },
    {
      "path": "packages/registry-native/blocks/bottom-tabs/index.tsx",
      "content": "import { useEffect, useState } from 'react'\nimport { AccessibilityInfo, Platform } from 'react-native'\nimport { Button } from '@/components/ui/button'\nimport { Text } from '@/components/ui/text'\nimport { NavigationExampleScreen } from '@/lib/navigation-example-screen'\n\nexport default function HomeTab() {\n  const [count, setCount] = useState(0)\n\n  useEffect(() => {\n    if (Platform.OS === 'ios' && count > 0) {\n      AccessibilityInfo.announceForAccessibilityWithOptions(`Count: ${count}`, { queue: true })\n    }\n  }, [count])\n\n  return (\n    <NavigationExampleScreen hasTabBar>\n      <Text size=\"title\" accessibilityRole=\"header\">\n        Home\n      </Text>\n      <Text variant=\"muted\">Increase the count, switch tabs, then return to Home.</Text>\n      <Text accessibilityLiveRegion=\"polite\">Count: {count}</Text>\n      <Button onPress={() => setCount((value) => value + 1)}>Increase count</Button>\n    </NavigationExampleScreen>\n  )\n}\n",
      "type": "registry:page",
      "target": "~/app/navigation/bottom-tabs/index.tsx"
    },
    {
      "path": "packages/registry-native/blocks/bottom-tabs/saved.tsx",
      "content": "import { Text } from '@/components/ui/text'\nimport { NavigationExampleScreen } from '@/lib/navigation-example-screen'\n\nexport default function SavedTab() {\n  return (\n    <NavigationExampleScreen hasTabBar>\n      <Text size=\"title\" accessibilityRole=\"header\">\n        Saved\n      </Text>\n      <Text variant=\"muted\">Items you bookmark appear here.</Text>\n    </NavigationExampleScreen>\n  )\n}\n",
      "type": "registry:page",
      "target": "~/app/navigation/bottom-tabs/saved.tsx"
    },
    {
      "path": "packages/registry-native/blocks/bottom-tabs/profile.tsx",
      "content": "import { Text } from '@/components/ui/text'\nimport { NavigationExampleScreen } from '@/lib/navigation-example-screen'\n\nexport default function ProfileTab() {\n  return (\n    <NavigationExampleScreen hasTabBar>\n      <Text size=\"title\" accessibilityRole=\"header\">\n        Profile\n      </Text>\n      <Text variant=\"muted\">Account details and preferences belong here.</Text>\n    </NavigationExampleScreen>\n  )\n}\n",
      "type": "registry:page",
      "target": "~/app/navigation/bottom-tabs/profile.tsx"
    }
  ],
  "dependencies": [
    "expo-router",
    "lucide-react-native",
    "react-native-safe-area-context"
  ],
  "devDependencies": [],
  "registryDependencies": [
    "https://native.uipkge.dev/r/native/button.json",
    "https://native.uipkge.dev/r/native/text.json",
    "https://native.uipkge.dev/r/native/navigation-example-screen.json"
  ],
  "description": "Expo Router bottom tabs with three labeled destinations and a stateful Home screen.",
  "categories": [
    "navigation"
  ]
}