@ulgaal/react-infotip
v2.0.4
Published
A library to provide tooltips and sticky-notes to React apps
Downloads
223
Maintainers
Readme
React tooltip and sticky-note library
- easy-to-use, one-line basic usage
- stylable and configurable tip-wrapper components
- overridable tip-wrapper components
- precise tip placement and position adjustment
- pinnable, draggable sticky-notes
Check our kitchen-sink app for lots of interactive examples and documentation !
Table of Contents
Installing
npm install @ulgaal/react-infotip
# or if you use yarn
yarn add @ulgaal/react-infotipUsage
// ES6
import { Source } from "@ulgaal/react-infotip";
const MyComponent = () => (
<div>
Hover over <Source tip="Here is the tip">these words</Source> to get a tip
</div>
);Documentation
- Reference documentation provides a component-level autogenerated doc
- Overview provides a conceptual overview of what the library can do and how to do it.
Demo and samples
Be sure to check the kitchen-sink app as it contains many samples, complete with source-code, documentation and interactive panels to tweak all possible aspects of tooltips and sticky-notes.
