React Native Tabs for Expo

Install

Tabs · Underline, native in Expo Go — the other variants are a tap away. No account needed.

Needs Expo Go for SDK 58 — update from the App Store or Play Store.

Underline tabs whose indicator moves like liquid, leading edge first.

iOS · Android · Expo Go
9:41

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:

App.tsx
import { Tabs } from "@/components/ui/tabs";

Or add it with the CLI (installs any missing peers):

Usage

Colours, radius and light / dark come from 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.

See what's in Pro

Props

PropTypeDefault
items

Tabs and (optionally) their content panes. `icon` is a node or `({ active, color }) => node`.

{ value, label, icon?, badge?, content?, disabled?, accessibilityLabel? }[]—
value / defaultValue

Active tab (controlled / uncontrolled).

stringfirst enabled tab
onValueChange

Called when a tab is pressed or swiped to.

(value: string) => void—
size

36 / 44pt tall (sm keeps a 44pt hit area).

"sm" | "md""md"
scrollable

`true` sizes tabs to labels and scrolls; `false` gives equal widths. Default fills the width and scrolls only when tabs overflow, keeping the active tab centred.

booleanauto
swipeable

Drag the content sideways to change tab; the underline tracks the drag.

booleantrue
transition

How content changes on a tap.

"slide" | "fade" | "none""slide"
haptics

Selection tick on change.

booleantrue
accent

Underline and active badge colour.

stringtheme accent
variant

Deprecated: `pill` and `soft` render as `underline` — use SegmentedControl for a pill switch.

"underline""underline"
contentStyle

Style of each content pane.

StyleProp<ViewStyle>—
style

Style for the root view wrapping the tab bar and content.

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=… — "underline".

Style props

React Native style and typed slots like fieldStyle, plus optional root className when you use NativeWind or Uniwind (cnProps from kit).

size
"sm" | "md" · default "md"36 / 44pt tall (sm keeps a 44pt hit area).
accent
string · default theme accentUnderline and active badge colour.
variant
"underline" · default "underline"Deprecated: `pill` and `soft` render as `underline` — use SegmentedControl for a pill switch.
contentStyle
StyleProp<ViewStyle>Style of each content pane.
style
StyleProp<ViewStyle>Style for the root view wrapping the tab bar and content.
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 or drag the content panes sideways; the underline follows your finger, with rubber-band resistance at the ends.
Motion
The underline is measured to each label and springs with the leading edge first. Badges pop, and an overflowing bar scrolls to centre the active tab.
Reduced motion
Springs become short timings, the bar scrolls without animating and badges change without the pop.
Haptics
A selection tick on every change; turn it off with haptics={false}.
Screen readers
The bar is a tablist of tabs with selected and disabled state; badges are read with the label, and inactive panes are hidden.

Source

FAQ

How do I make a tab view in React Native?
Use ExpoKit's Tabs: run npx @expokit/cli@latest add tabs in your Expo or React Native project and it copies a ready-made tab view into your app as plain TypeScript you can edit. It works on iOS, Android and web, and in Expo Go.
Does Tabs work in Expo Go?
Yes. Tabs runs in Expo Go on iOS and Android with no development build — its packages (expo-haptics) are all included in Expo Go.
How do I add Tabs to my Expo app?
Run npx @expokit/cli@latest add tabs in your project. The CLI copies the component's source into your app and installs expo-haptics, so the code is yours to change.
Is Tabs free?
Yes. Tabs is free: its full source is on this page and the CLI installs it without an account.
Can I change how Tabs looks?
Yes. It takes its colours, radius and light / dark mode from 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.