
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-light-tooltip
Advanced tools
A simple and lightweight tooltip for React Js.
npm install --save react-light-tooltip
import React from 'react';
import Tooltip from 'react-light-tooltip';
export default class Homepage extends React.PureComponent {
render() {
return (
<div>
<h1>Welcome to the Homepage</h1>
<Tooltip
parent={<button>Hover here!</button>}
tooltip="Tooltip appears!"
position="up"
/>
</div>
);
}
}
Use disabled flag to dynamically disable tooltip in runtime. By default the value is set "false".
<Tooltip
parent={<button>Hover here!</button>}
tooltip="Tooltip appears!"
position="down"
disabled={true}
/>
Use length flag to adjust tooltip length. By default the length is set "small".
<Tooltip
parent={<button>Hover here!</button>}
tooltip="Tooltip appears!"
position="up"
length="small"
/>
Use position flag to adjust tooltip position. By default the position is set "up".
<Tooltip
parent={<button>Hover here!</button>}
tooltip="Tooltip appears!"
position="down"
length="small"
/>
You can use Html special characters, emojis or third party fonts like "Font awesome".
<Tooltip
parent={<button>Hover here!</button>}
tooltip="Tooltip has HTML special characters: ☻ ✂ ♜"
position="up"
/>
<Tooltip
parent={<button>Hover here!</button>}
tooltip="Tooltip has Emojis: 😀 😬 😁 😂 😃 😄 😅 😆"
position="up"
/>
<Tooltip
parent={<button>Hover here!</button>}
tooltip="Tooltip Font Awesome Icons:     "
position="up"
/>
Made by Sree Krishna Raja Github@sreekrishnaraja Twitter@sreekrishnaraja
CSS is taken from source code of Balloon CSS by kazzkiq which is published under MIT license.
This library (react-light-tooltip) is Published under MIT license.
FAQs
A Lightweight tooltip for React JS
We found that react-light-tooltip 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.

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.