@userorbit/guide
v0.1.0
Published
Lightweight, stateless React component for product tours, onboarding flows, and contextual help.
Maintainers
Readme
guide.js
Lightweight React component for product tours, onboarding, and contextual help.
- Homepage · guidejs.com
- Docs · guidejs.com/docs/introduction
- Source · github.com/userorbit/guide-js
- License · MIT
Install
npm install guide.jsUsage
import { Guide } from "guide.js";
import "guide.js/styles.css";
const steps = [
{
id: "welcome",
title: "Welcome aboard",
description: "Let us show you around.",
configuration: {
type: "dialog",
progressButtonText: "Next",
progressButtonPosition: "right",
contentJustify: "justify-between",
showStepCount: true,
customPivotSelector: "",
isClosable: true,
},
},
];
export function App() {
return <Guide tour={{ id: "intro", title: "Intro", steps }} steps={steps} isActive />;
}Read the quick start for a full walkthrough.
Peer dependencies
react>= 18react-dom>= 18
