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.)
- ✨ step-by-step tutorial overlay
- 🎨 easily customizable
- 🤝 Pomise API (Coming Soon)
- 🚀 Lightweight (Coming Soon)
- 👻 Headless (Coming Soon)
install with npm
npm install react-tutorial-overlayinstall with yarn
yarn add react-tutorial-overlayimport { TutorialOverlay, tutorial } from 'react-tutorial-overlay';
const App = () => {
const handleClick = () => {
tutorial.open({
steps: [
{
targetIds: ['target1'],
title: 'title',
content: 'content',
},
],
options: {},
});
};
return (
<div>
<button onClick={handleClick}>open</button>
<div id="target1">target</div>
<TutorialOverlay />
</div>
);
};content is rendered as a plain string. HTML markup in the string is not interpreted.
@sjsjsj1246