react-simtip
v3.0.1
Published
A simple tooltip component for React
Downloads
309
Maintainers
Readme
react-simtip
A simple tooltip component for React.
Features
- ⚡️ Lightweight (less than 2.3kb gzipped).
- 📦 No dependencies.
- 🌳 Tree-shakeable
- 📝 Written in TypeScript.
- 📖 Easy to use.
- 🎨 Highly customizable.
- 📚 Storybook.
Storybook
You can see the component in action and docs in the Storybook.
Installation
npm install react-simtip
or
yarn add react-simtip
Usage
import React from "react";
import { Tooltip } from "react-simtip";
const App = () => {
return (
<Tooltip content="Hello World!">
<button>Hover me!</button>
</Tooltip>
);
};
export default App;
License
The MIT License. See LICENSE for more information.