
Company News
Socket Has Acquired Secure Annex
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.
react-native-drawer-layout
Advanced tools
A platform-agnostic drawer layout. Pure JavaScript implementation on iOS and native implementation on Android. Why? Because the drawer layout is a useful component regardless of the platform! And if you can use it without changing any code, that's perfect
A platform-agnostic drawer layout. It uses a pure JavaScript implementation on every platform to ensure consistency. We try to keep it up to date with the implementation of DrawerLayoutAndroid and add features we consider necessary as well.
npm install react-native-drawer-layout --savevar DrawerLayout = require('react-native-drawer-layout').default;import DrawerLayout from 'react-native-drawer-layout';This includes the differences between our implementation and the official one DrawerLayoutAndroid. Every breaking change is (hopefully) hidden behind a feature flag, so that this implementation may also be used as polyfill.

To run the demo, please run npm install in the DrawerLayoutExample/ directory and start the demo up from there like any other React Native application.
| React Native Version | react-native-drawer-layout Version |
|---|---|
| >= 11 & < 23 | < 1.0 |
| >= 23 | >= 1.0 && < 2.0 |
| >= 35 | >= 2.0 |
If you experience any further restrictions with other versions, please let us know.
zIndex of 1000 so setting a higher zIndex somewhere else may lead to inconsistencies.Please make sure to run the tests before proposing a PR by running npm test.
FAQs
Drawer component for React Native
The npm package react-native-drawer-layout receives a total of 522,251 weekly downloads. As such, react-native-drawer-layout popularity was classified as popular.
We found that react-native-drawer-layout demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers 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 has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.

Research
/Security News
Socket is tracking cloned Open VSX extensions tied to GlassWorm, with several updated from benign-looking sleepers into malware delivery vehicles.

Product
Reachability analysis for PHP is now available in experimental, helping teams identify which vulnerabilities are actually exploitable.