GitPedia

React native collapsible toolbar

Pure JS based collapsible toolbar for react native on Android and iOS

From Agontuk·Updated March 30, 2026·View on GitHub·

Pure JS based collapsible toolbar for react native on Android and iOS. The project is written primarily in JavaScript, distributed under the MIT License license, first published in 2017. Key topics include: android, collapsible, collapsible-navbar, ios, react.

react-native-collapsible-toolbar

Pure JS based collapsible toolbar for react native on Android and iOS.

Demo

<p align="center"> <img src="https://raw.githubusercontent.com/Agontuk/react-native-collapsible-toolbar/master/demo/demo_android.gif" /> <img src="https://raw.githubusercontent.com/Agontuk/react-native-collapsible-toolbar/master/demo/demo_ios.gif" /> </p>

Installation

sh
yarn add react-native-collapsible-toolbar

Usage

javascript
import { Platform } from 'react-native'; import CollapsibleToolbar from 'react-native-collapsible-toolbar'; ... <CollapsibleToolbar renderContent={this.renderContent} renderNavBar={this.renderNavBar} renderToolBar={this.renderToolBar} imageSource='https://lorempixel.com/400/300/' collapsedNavBarBackgroundColor='#009688' translucentStatusBar={Platform.Version >= 21} toolBarHeight={300} /> ...

Available props

Either an image source or a custom toolbar component must be provided

NameTypeDefaultDescription
collapsedNavBarBackgroundColorString'#FFF'Navbar background color when it's collapsed
imageSourceString-Image to render as collapsible component
onContentScrollFunction-The scroll event
renderContentFunctionREQUIREDContent to render below the collapsible toolbar
renderNavBarFunctionREQUIREDTransparent nav bar to render on top of the toolbar
renderToolBarFunction-Custom toolbar component (will override imageSource)
toolBarHeightNumber300Height of the collpasible toolbar
translucentStatusBarBooleanfalseIf true, will adjust the nav bar position for Android

All the ScrollView props are also supported.

Contributors

Showing top 1 contributor by commit count.

View all contributors on GitHub →

This article is auto-generated from Agontuk/react-native-collapsible-toolbar via the GitHub API.Last fetched: 6/29/2026