
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.
react-nudge-ui
Advanced tools
A lightweight React component to subtly draw attention to UI elements with animated rings and customizable tooltips — perfect for onboarding hints, feature highlights, or gentle nudges in your app.
A lightweight React component to subtly draw attention to UI elements with animated rings and customizable tooltips — perfect for onboarding hints, feature highlights, or gentle nudges in your app.
npm install react-nudge-ui
or with yarn:
yarn add react-nudge-ui
import React from "react";
import { Nudge } from "react-nudge-ui";
function App() {
return (
export default App;
| Prop | Type | Default | Description |
|---|---|---|---|
children | React.ReactNode | — | The wrapped React element to highlight |
hint | string | — | Tooltip message to display |
duration | number | 5000 | Time in milliseconds the nudge is visible |
ringColor | string | #007bff | Color of the animated ring |
ringSize | number | 8 | Thickness (in px) of the ring |
ringBorderRadius | string | — | Border radius of the ring (e.g., 12px, 50%) |
tooltipBgColor | string | #333 | Background color of the tooltip |
tooltipTextColor | string | #fff | Text color of the tooltip |
tooltipFontSize | string | 14px | Font size of the tooltip text |
tooltipPadding | string | 6px 12px | Padding inside the tooltip |
tooltipPosition | "top" | "bottom" | "top" | Position of the tooltip relative to the element |
tooltipFloating | boolean | true | Whether the tooltip floats with smooth animation |
zIndex | number | — | Custom stacking order for tooltip and ring |
className | string | — | Optional custom CSS class for the wrapper |
tooltipClassName | string | — | Optional custom CSS class for the tooltip |
ringClassName | string | — | Optional custom CSS class for the ring |
persistent | boolean | false | When true, the nudge remains visible permanently and ignores duration |
You can customize the styles either via props or by overriding CSS classes:
.nudge-wrapper — wrapper div.nudge-ring — animated ring element.nudge-tooltip — tooltip containerMIT © Jeremie Nombro
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
Jeremie Nombro
FAQs
A lightweight React component to subtly draw attention to UI elements with animated rings and customizable tooltips — perfect for onboarding hints, feature highlights, or gentle nudges in your app.
The npm package react-nudge-ui receives a total of 19 weekly downloads. As such, react-nudge-ui popularity was classified as not popular.
We found that react-nudge-ui 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.