Drop-in
Pass it as tabBar to React Navigation or Expo Router. It reads the icons, labels and badges you already set.
React Native · Expo Router · React Navigation
Scroll down and the floating bar shrinks to icons. Scroll up and the labels come back. Drop it into the tab navigator you already have. It animates on the UI thread, on iOS and Android.
npm i react-native-shrinking-tab-bar
Scroll the feed · drag along the bar to switch tabs · tap a heart
Pass it as tabBar to React Navigation or Expo Router. It reads the icons, labels and badges you already set.
Transforms and opacity only, on the UI thread. On an Android release build it janked no more than the stock tab bar, even with the JS thread blocked.
Colours, sizes, scroll thresholds, animation, placement, an action button. Start from a preset and change what you like with combine().
Drag along the bar and the indicator follows your finger. Let go to switch. Hook a haptic tick to each tab you pass.
Real Liquid Glass on iOS 26, a system blur on older iOS, and a clean frosted fill on Android. One import.
Right-to-left layouts, screen-reader labels, badges, the keyboard and safe areas are handled for you.
Use it as the tab bar, then let each scrollable screen tell it when you scroll.
Read the full docs →// 1. Use it as the tab bar
import { ShrinkingTabBar } from 'react-native-shrinking-tab-bar';
<Tabs tabBar={(props) => <ShrinkingTabBar {...props} />} />
// 2. Connect your lists
const onScroll = useShrinkingTabBarScrollHandler();
const inset = useShrinkingTabBarInset();
<Animated.FlatList
onScroll={onScroll}
scrollEventThrottle={16}
contentContainerStyle={{ paddingBottom: inset }}
/>
If it saves you an afternoon, a star helps other developers find it.
Star on GitHub