GithubHelp home page GithubHelp logo

fzydesign / sticky-parallax-header Goto Github PK

View Code? Open in Web Editor NEW

This project forked from netguru/sticky-parallax-header

0.0 0.0 0.0 328.73 MB

A simple React Native library, enabling the creation of fully customized header for your iOS and Android apps.

Home Page: https://netguru.github.io/sticky-parallax-header/

License: MIT License

JavaScript 1.75% Ruby 0.52% C++ 2.01% Objective-C 0.11% Java 4.73% TypeScript 88.17% Objective-C++ 1.66% Swift 0.03% Makefile 0.45% Starlark 0.56%

sticky-parallax-header's Introduction

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 Header Avatar Header Details Header
Tabbed Header Gif Avatar Header Gif Details 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

ℹ️ 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.

sticky-parallax-header's People

Contributors

idaszakdaniel avatar pi0trpietruszewski avatar mateusz1913 avatar karniej avatar kolkol69 avatar maciejbudzinsking avatar tomaszrej avatar pwysowski avatar bobsany16 avatar bear-junior avatar dependabot[bot] avatar patys avatar junedomingo avatar ellie avatar davidwico avatar relax594 avatar vn-chemgio avatar yicru avatar gabrola avatar frondelan avatar ilhamfadheel avatar krunalbad avatar mugilan-codes avatar netgurusupporter avatar ythomop avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.