Applies to every preview on the site.
Installation
One command copies the source into your app — you own the code and can change anything.
After you add the file, import it like any local component:
import { BottomNav } from "@/components/ui/bottom-nav";Or add it with the CLI (installs any missing peers):
Usage
useKit(). Wrap your app in <KitProvider accent="#6366f1" radius={14}> to re-skin every component at once.Like this? There's a lot more in Pro Pro
12 full screens built from the same kit — install them the same way.
Props
| Prop | Type | Default |
|---|---|---|
| items Tabs. `icon` is a built-in name (home, explore, search, projects, saved, profile, inbox, activity, analytics, message, work, browse, library, music, create) or a render function `({ color, size, active }) => node` — called for both the outline (`active: false`) and filled (`active: true`) states so it can morph. | { key, label, icon, badge?, action? }[] | — |
| value / defaultValue Active tab key (controlled / uncontrolled). | string | first tab |
| onValueChange Called when a tab is pressed. | (key: string) => void | — |
| onAction Called when an `action: true` item (e.g. Create) is pressed. Action items render as a solid accent button and never become active. | (key: string) => void | — |
| variant Look. Deprecated values still render: `glass`, `neumorphic`, `dock`, `curved` → `floating`; `gradient`, `outline` → `pill`. | "minimal" | "floating" | "pill" | "center-fab" | "indicator" | "minimal" |
| accent Active colour and the action button fill. | string | theme accent |
| gradient Opt-in two-colour gradient for the action button. | [string, string] | none (solid accent) |
| showLabels Show labels. `floating` and `pill` reveal only the active label; the others show all. | boolean | true |
| bottomInset Extra bottom padding — pass `useSafeAreaInsets().bottom` when the bar sits at the screen edge. | number | 0 |
| homeIndicator Draw the iOS home-indicator line. | boolean | minimal |
| haptics Selection tick on tab change, light impact on the action button. | boolean | true |
| style Style of the bar (the outer shadow view for `floating`). | StyleProp<ViewStyle> | — |
| className Tailwind classes on the root when using NativeWind or Uniwind. Prefer style for StyleSheet overrides. | string | — |
Customization
You own the source file — tune appearance with props (no fork required for most tweaks). For brand-wide colours and radius, wrap your app in KitProvider; for one-off looks, use the style props below.
Design theme
Open Design theme on the live preview — accent, corner radius and font update every variant instantly (same as KitProvider in your app).
Variants
Pick the Variants chip above the preview, or set variant=… — "minimal" | "floating" | "pill" | "center-fab" | "indicator".
Style props
React Native style and typed slots like fieldStyle, plus optional root className when you use NativeWind or Uniwind (cnProps from kit).
- variant
- "minimal" | "floating" | "pill" | "center-fab" | "indicator" · default "minimal"Look. Deprecated values still render: `glass`, `neumorphic`, `dock`, `curved` → `floating`; `gradient`, `outline` → `pill`.
- accent
- string · default theme accentActive colour and the action button fill.
- style
- StyleProp<ViewStyle>Style of the bar (the outer shadow view for `floating`).
- className
- stringTailwind classes on the root when using NativeWind or Uniwind. Prefer style for StyleSheet overrides.
Map tokens from your design system on Bring your design system or read Theming for KitProvider and NativeWind / Uniwind setup.
Behaviour & accessibility
- Touch
- Tap a tab to select it. Items marked action call onAction instead and never become the active tab.
- Motion
- The indicator springs its leading edge first and the trailing edge catches up. Icons morph from outline to filled and badges pop in.
- Reduced motion
- The indicator glides with a short timing and no stretch, and icon changes use quick timings instead of springs.
- Haptics
- A selection tick on tab change and a light impact on the action button. Turn off with haptics={false}.
- Screen readers
- The bar is a tablist and each tab carries selected state, with the badge count in its label. Action items are buttons.
Source
FAQ
How do I make a bottom navigation in React Native?
npx @expokit/cli@latest add bottom-nav in your Expo or React Native project and it copies a ready-made bottom navigation into your app as plain TypeScript you can edit. It works on iOS, Android and web, and in Expo Go.Does Bottom Nav work in Expo Go?
react-native-svg, expo-haptics) are all included in Expo Go.How do I add Bottom Nav to my Expo app?
npx @expokit/cli@latest add bottom-nav in your project. The CLI copies the component's source into your app and installs react-native-svg, expo-haptics, so the code is yours to change.Is Bottom Nav free?
Can I change how Bottom Nav looks?
useKit(), so wrapping your app in <KitProvider accent radius> re-skins it with every other ExpoKit component. The code lives in your project, so you can also edit anything directly.