react-tutorial-overlay
v0.1.0
Published
A headless library that makes it easy to put tutorials on top of the screen.
Downloads
2
Readme
A headless library that makes it easy to put tutorials on top of the screen.
(This is an open source library that is still under development.)
Features
- ✨ step-by-step tutorial overlay
- 🎨 easily customizable
- 🤝 Pomise API (Coming Soon)
- 🚀 Lightweight (Coming Soon)
- 👻 Headless (Coming Soon)
Get Started
install with npm
npm install react-tutorial-overlay
install with yarn
yarn add react-tutorial-overlay
import { TutorialOverlay, tutorial } from '../src';
const App = () => {
const handleClick = () => {
tutorial.open([
{
targetIds: ['target1'],
title: 'title',
content: 'content',
},
]);
};
return (
<div>
<button onClick={handleClick}>open</button>
<TutorialOverlay />
</div>
);
};
Documentation
Contributing
@sjsjsj1246