netguru/sticky-parallax-header
소개
iOS 및 Android 앱에서 완전히 사용자 지정할 수 있는 헤더를 만들 수 있는 간단한 React Native 라이브러리입니다.
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- -1
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalSticky Parallax Header
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 |
|---|---|---|
![]() |
![]() |
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
SafeAreaProviderfromreact-native-safe-area-context
Contributing
License
This library is available as open source under the terms of the MIT License.
관련 프로젝트 살펴보기
불러오는 중…

