
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@overlay-stack/tooltip
Advanced tools
A smart, edge-aware React Tooltip component that automatically selects the best placement (top, bottom, left, right) to prevent clipping against the viewport, supporting any custom React component as its content.
A smart, generic React Tooltip component designed to solve common issues with z-index, viewport clipping, and component customization.
No more tooltips cut off by the screen edge or stuck behind overlapping elements!
Smart Placement: Automatically calculates the optimal side (top, bottom, left, right) to display the tooltip, ensuring it remains fully visible within the viewport bounds.
Edge-Awareness: Intelligently checks for room around the target element to avoid clipping against the browser window and nearby elements, dynamically choosing the best spot.
Generic Content: The tooltip body can be any valid React component or JSX, allowing for full customization of styles, content, and interactivity.
Install the package using npm or yarn:
npm install @overlay-stack/tooltip
# or
yarn add @overlay-stack/tooltip
import { Tooltip } from "@overlay-stack/tooltip";
<Tooltip>
<Tooltip.Trigger>
Hover to View Popover
</Tooltip.Trigger>
<Tooltip.Content>
Some magic text.
</Tooltip.Content>
</Tooltip>
import { Tooltip } from "@overlay-stack/tooltip";
<Tooltip>
<Tooltip.Trigger className="trigger">
<span>Hover to View Popover</span>
</Tooltip.Trigger>
<Tooltip.Content className="content">
<ul>
<li>text</li>
<li>text</li>
<li>text</li>
</ul>
</Tooltip.Content>
</Tooltip>
FAQs
A smart, edge-aware React Tooltip component that automatically selects the best placement (top, bottom, left, right) to prevent clipping against the viewport, supporting any custom React component as its content.
We found that @overlay-stack/tooltip 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.