
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
react-native-vertical-swipe-view
Advanced tools
React Native Vertical Swipe View.
npm install react-native-vertical-swipe-view --save
or
yarn add react-native-vertical-swipe-view

| Props | Params | isRequire | Description |
|---|---|---|---|
| visible | Boolean | No | |
| style | ViewStyle | No | |
| headerStyle | ViewStyle | No | |
| backgroundColor | String | No | |
| maxHeight | Number | Yes | |
| position | 'top' or 'bottom' | No | |
| renderHeader | () => JSX.Element | No | |
| onRequestShow | ()=> void | No | |
| onRequestClose | ()=> void | No |
import React from 'react';
import { StyleSheet, View, SafeAreaView } from 'react-native';
import SwipeView from 'react-native-vertical-swipe-view';
const SwipeViewScreen = (_props) => {
const _renderHeaderTop = () => {
return (
<View style={styles.headerTop}>
<View style={styles.lineTop} />
</View>
);
};
const _renderHeaderBottom = () => {
return (
<View style={styles.headerBottom}>
<View style={styles.lineBottom} />
</View>
);
};
return (
<SafeAreaView style={styles.container}>
<SwipeView
position="top"
style={styles.curtainView}
maxHeight={300}
headerStyle={{ backgroundColor: 'transparent' }}
renderHeader={_renderHeaderTop}
>
<View style={styles.curtainContainer} />
</SwipeView>
<View style={{ flex: 1 }} />
<SwipeView
position="bottom"
style={styles.curtainView}
maxHeight={200}
headerStyle={{ backgroundColor: 'transparent' }}
renderHeader={_renderHeaderBottom}
>
<View style={styles.curtainContainer} />
</SwipeView>
</SafeAreaView>
);
};
export default SwipeViewScreen;
const styles = StyleSheet.create({
container: {
flex: 1,
},
curtainView: {
width: '100%',
},
curtainContainer: {
flex: 1,
backgroundColor: 'gray',
},
row: {
flex: 1,
flexDirection: 'row',
justifyContent: 'space-between',
padding: 20,
},
headerTop: {
flex: 1,
backgroundColor: 'transparent',
justifyContent: 'center',
alignItems: 'center',
},
headerBottom: {
flex: 1,
backgroundColor: 'black',
borderTopLeftRadius: 22,
borderTopRightRadius: 22,
justifyContent: 'center',
alignItems: 'center',
},
lineTop: {
width: 40,
height: 6,
backgroundColor: 'gray',
},
lineBottom: {
width: 40,
height: 6,
backgroundColor: 'white',
},
});
FAQs
React Native Vertical Swipe View
The npm package react-native-vertical-swipe-view receives a total of 461 weekly downloads. As such, react-native-vertical-swipe-view popularity was classified as not popular.
We found that react-native-vertical-swipe-view demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.