Bottom Tab Bar
Native-feeling bottom tab navigation bar with active indicator pill and notification badge counts.
v0.3.2NativeWindStyleSheetiOSAndroidExpo GoWeb
Preview
Installation
npx nativra-cli add bottom-tab-barWrites BottomTabBar.tsx to components/ui, rewrites imports to your aliases and records hashes in nativra.lock.json, along with 1 registry dependency. Existing files are never overwritten without asking.
Want to try it first? Open it in the playground: a real React Native project in your browser, with this item installed by the CLI.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| tabs | Array<{ id: string; label: string; icon?: string; badge?: number }> | required | Navigation tab definitions |
| activeTab | string | required | ID of currently active tab |
| onTabChange | (tabId: string) => void | required | Callback when user switches tab |
Source
Exactly what the CLI writes, before your import aliases are applied.