Gathering detailed insights and metrics for react-native-sheets-bottom
Gathering detailed insights and metrics for react-native-sheets-bottom
Gathering detailed insights and metrics for react-native-sheets-bottom
Gathering detailed insights and metrics for react-native-sheets-bottom
react-native-bottom-sheets
A tiny wrapper around @gorhom/bottom-sheet to make it easier to use in react-native projects.
react-native-bottom-sheet-js
A bottom sheet that uses Material sheets #specs. Written in pure JS.
react-native-modal-bottom-sheet
React Native wrapper for Material Modal Bottom Sheets component
react-native-sheet
A cross platform, pure JS implementation of bottom sheets in React Native.
npm install react-native-sheets-bottom
Typescript
Module System
Node Version
NPM Version
JavaScript (74.14%)
Dockerfile (25.86%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
15 Stars
233 Commits
14 Watchers
19 Branches
28 Contributors
Updated on Jan 28, 2023
Latest Version
1.2.0
Package Id
react-native-sheets-bottom@1.2.0
Unpacked Size
21.29 kB
Size
6.75 kB
File Count
10
NPM Version
6.9.0
Node Version
10.16.3
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
react-native-sheets-bottom swipeable, easy to use bottom panel for your React Native projects. You can extend panel by swiping up, make it small or close by swiping down with pan gestures. Feel free to redesign inside of the panel.
NOTE: It currently supports pattern the modal-bottom-sheet. Roadmap is to support expand to full screen.
$ npm i react-native-sheets-bottom
1import React from 'react'; 2import { StyleSheet, Text, View } from 'react-native'; 3 4import SwipeablePanel from 'react-native-sheets-bottom'; 5 6export default class App extends Component { 7 constructor(props) { 8 super(props); 9 this.state = { 10 swipeablePanelActive: false, 11 }; 12 } 13 14 componentDidMount = () => { 15 this.openPanel(); 16 }; 17 18 openPanel = () => { 19 this.setState({ swipeablePanelActive: true }); 20 }; 21 22 closePanel = () => { 23 this.setState({ swipeablePanelActive: false }); 24 }; 25 26 render() { 27 return ( 28 <View style={styles.container}> 29 <Text style={styles.welcome}>Welcome to React Native!</Text> 30 <Text style={styles.instructions}>To get started, edit App.js</Text> 31 <SwipeablePanel 32 fullWidth 33 isActive={this.state.swipeablePanelActive} 34 onClose={this.closePanel} 35 onPressCloseButton={this.closePanel} 36 > 37 <PanelContent /> {/* Your Content Here */} 38 </SwipeablePanel> 39 </View> 40 ); 41 } 42}
Properties | Type | Description | Default |
---|---|---|---|
barStyle | Object | Use this prop to override bar style | {} |
closeIconStyle | Object | Use this prop to override close button icon style | {} |
closeOnTouchOutside | bool | Set true if you want to close panel by touching outside | false |
closeRootStyle | Object | Use this prop to override close button background style | {} |
fullWidth | bool | Set true if you want to make full with panel | false |
gestureThreshold | Number | Top bar pan gesture threshold | 100 |
isActive | bool | Show/Hide the panel | false |
noBackdropOpacity | bool | Set true if you want to disable black background opacity | false |
noBar | bool | Set true if you want to remove gray bar | false |
onClose | Function | Fired when the panel is closed | |
onlyLarge | bool | Set true if you want to let panel open just large mode | false |
openLarge | bool | Set true if you want to open panel large by default | false |
showCloseButton | bool | Set true if you want to show close button | |
style | Object | Use this prop to override panel style | {} |
gestureThreshold
new propTravis CI
and semantic-release
so we automatically release new version up on code merge into masterPrettier
and Eslint
so new contributors have a better dev experienceisActive
set to true doesn't work. Alternative is to mount this component then set isActive
to true.npm i
- in root directorycd examples
npm i
npm start
cd ios && pod install && cd ..
react-native run-ios
or react-native run-android
This repo is sutomatically release by semantic-release. The type of bump (patch, minor, major) is determined by your commit message. For exmaple: fix: full screen display mode
. This will be automatically released as a patch
. You don't have to decide the bump. All you have to do is write your commit message according to this patter here:
https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#commits
Note: the first line of your commit message is displayed in the release notes. Make sure the message is aligned with the changes you are making.
Tip 1: make one PR for one problem. If you need to fix a bug, don't add a new feature at the same time. Create two PR's.
Tip 2: take a look at this repo to help write commit messages(optional): https://github.com/leonardoanalista/cz-customizable
This is a fork from: https://github.com/enesozturk/rn-swipeable-panel - all credits to original package creator https://github.com/enesozturk
No vulnerabilities found.
Reason
license file detected
Details
Reason
binaries present in source code
Details
Reason
branch protection is not maximal on development and all release branches
Details
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
Reason
project is archived
Details
Reason
Found 0/2 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
73 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More