A REACT NATIVE LIBRARY

Some things
just flow.

Collapsing headers. Swipeable tabs.
Synchronized scrolling.

Terminal
npm install react-native-collapsible-fluid-tabs
632 monthly downloads on npm
iOSAndroidWebMIT licensed

Interactive web example

WORKS WITHReact NativeExpoReanimatedLegend ListFlashList
FEATURES

Headers and tabs.

USAGE

Compose a screen.

A container connects the header, tab bar, and lists. Each tab renders one scrollable page.

01

Add a header.Provide your collapsing header component.

02

Add your lists.Use FlatList, ScrollView, LegendList, or FlashList.

03

Configure the tabs.Set the appearance and gesture behavior.

View quick start
ProfileScreen.tsxReact Native
import { Tabs } from 'react-native-collapsible-fluid-tabs/core';
 
export function ProfileScreen() {
  return (
    <Tabs.Container renderHeader={() => <ProfileHeader />}>
      <Tabs.Tab name="posts" label="Posts">
        <Tabs.FlatList
          data={posts}
          renderItem={({ item }) => <Post item={item} />}
          keyExtractor={(item) => item.id}
        />
      </Tabs.Tab>
      <Tabs.Tab name="about" label="About">
        <Tabs.ScrollView>
          <About />
        </Tabs.ScrollView>
      </Tabs.Tab>
    </Tabs.Container>
  );
}
Illustrative composition · The quick start includes a complete screen.

Documentation

Installation, guides, and API reference.

Read the docs