
Product
Introducing Repository Access Permissions and Custom Roles
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.
react-native-tooltip-overhaul
Advanced tools
Tool tips library for React Native
npm install react-native-tooltip-overhaul
or
yarn add react-native-tooltip-overhaul
Also react-native-safe-area-context is required for the tip to work properly. You can install it using
npm install react-native-safe-area-context
or
yarn add react-native-safe-area-context
Don't forget to install iOS pods afterwards!
npx pod-install
import {Tip, TipProvider} from 'react-native-tooltip-overhaul'
// If you are using react-navigation, you can skip SafeAreaProvider,
// as it is already included in Navigator
import {SafeAreaProvider} from 'react-native-safe-area-context'
// wrap your app with TipProvider as early as possible - it allows to draw over other elements
const App: FC = () => {
return (
<SafeAreaProvider>
<TipProvider>
{/* All your other providers/components go here */}
</TipProvider>
</SafeAreaProvider>
)
}
// ...
const MyComponentWithTip: FC = () => {
const renderTip = useCallback(
() => (
<View
style={{
padding: 10,
borderRadius: 10,
backgroundColor: '#fff',
}}>
<Text style={{color: '#000'}}>Text that will be shown on the tip</Text>
</View>
),
[],
)
return (
<Tip renderTip={renderTip}>
<Text>Pressing this text will open the tip</Text>
</Tip>
)
}
For more examples see example app
| Prop name | Type | Description |
|---|---|---|
renderTip | () => React.ReactNode | Function that renders tip |
position | ETipPosition | Where to show the tip: above/below/on the left side/on the right side of the item or automatically (it will try to show the tip bellow and centered, if the item is at the bottom of the screen, it will show above instead. If the tip touches horizontal sides of the screen, it will be moved horizontally). Default ETipPosition.AUTO |
pressable | boolean | If pressing item should show the tip. Default true |
overlayOpacity | number | The opacity of the overlay that is shown when the tip is opened. Default 0.6 |
offsets | number | {horizontal?: number, vertical?: number} | The offsets of the tip relative to the children component. Default {horizontal: 0, vertical: 0} |
onShow | () => void | Callback, that is called when the tip is opened |
onClose | () => void | Callback, that is called when the tip is closed |
| Method name | Description |
|---|---|
showTip | Shows the tip |
close tip | Closes the tip |
For methods usage example see example app
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
FAQs
Tool tips
We found that react-native-tooltip-overhaul 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.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.