
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
entity-bottom-sheet
Advanced tools
A lightweight, customizable bottom sheet component for React Native and Expo applications. Built with native components and animations for seamless integration.
Animated APIchildren propInstall the package via npm or yarn:
npm install entity-bottom-sheet
# or
yarn add entity-bottom-sheet
import React, { useState } from 'react';
import { View, Button, Text } from 'react-native';
import BottomSheet from 'entity-bottom-sheet';
export default function App() {
const [visible, setVisible] = useState(false);
return (
<View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
<Button title="Open Bottom Sheet" onPress={() => setVisible(true)} />
<BottomSheet
visible={visible}
onClose={() => setVisible(false)}
title="My Bottom Sheet"
heightRatio={0.5}
header={<Text style={{ fontSize: 20, textAlign: 'center' }}>Custom Header</Text>}
>
<Text style={{ padding: 16 }}>Your custom content goes here!</Text>
</BottomSheet>
</View>
);
}
import React, { useState } from 'react';
import { View, Button, Text } from 'react-native';
import BottomSheet from 'entity-bottom-sheet';
export default function App() {
const [visible, setVisible] = useState(false);
return (
<View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
<Button title="Open Bottom Sheet" onPress={() => setVisible(true)} />
<BottomSheet
visible={visible}
onClose={() => setVisible(false)}
title="Welcome Sheet"
heightRatio={0.4}
>
<Text style={{ padding: 16 }}>Simple content without custom header.</Text>
</BottomSheet>
</View>
);
}
| Prop | Type | Default | Description |
|---|---|---|---|
visible | boolean | Required | Controls visibility of the bottom sheet |
onClose | function | Required | Callback triggered when sheet is dismissed |
title | string | "Custom Bottom Sheet" | Header title (used if header is not provided) |
heightRatio | number | 0.5 | Sheet height as a ratio of screen height (0–1) |
children | ReactNode | Required | Content to render inside the bottom sheet |
header | ReactNode | null | Custom header component (replaces default title) |
MIT License © 2025 Bazil Suhail
See the LICENSE file for details.
Contributions are welcome! Please open an issue or submit a pull request on GitHub.
Thanks to the React Native and Expo community for inspiration and support.
FAQs
A reusable bottom sheet for Expo/React Native apps
The npm package entity-bottom-sheet receives a total of 4 weekly downloads. As such, entity-bottom-sheet popularity was classified as not popular.
We found that entity-bottom-sheet demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.