Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@react-native-oh-tpl/react-native-sticky-parallax-header

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-native-oh-tpl/react-native-sticky-parallax-header

Sticky Parallax Header

  • 1.1.1-0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Sticky Parallax Header


Brought with  ❤️ by   Netguru logo

Introduction

react-native-sticky-parallax-header is a simple React Native library, enabling to create a fully custom header layout for your iOS, Android and web apps.

Documentation

Read the full Docs at: https://netguru.github.io/sticky-parallax-header/

Preview

Sticky Parallax Header ships with 3 different use cases for sticky headers and a possibility to create fully custom header!

Tabbed HeaderAvatar HeaderDetails Header
Tabbed Header GifAvatar Header GifDetails Header Gif

In Use

Check the live demo on Expo Snack here.

This is how you can display header in your app:

import * as React from 'react'
import { DetailsHeaderScrollView } from 'react-native-sticky-parallax-header'
import { SafeAreaProvider } from 'react-native-safe-area-context'

const TestScreen = () => (
  <SafeAreaProvider>
    <DetailsHeaderScrollView {...scrollProps} {...detailsHeaderProps}>
      {/** scroll view content */}
    </DetailsHeaderScrollView>
  </SafeAreaProvider>
)

export default TestScreen

Installation

Installation & requirements

:information_source: Library supports react-native version 0.64+

Install latest library version
$ yarn add react-native-sticky-parallax-header@rc
Install library's dependencies
yarn add react-native-reanimated react-native-safe-area-context

After installation:

  • check Reanimated installation guide
  • handle Pods installation with npx pod-install
  • wrap your root component with SafeAreaProvider from react-native-safe-area-context

Contributing

Contributing guidelines

License

This library is available as open source under the terms of the MIT License.

Keywords

FAQs

Package last updated on 07 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc