npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

react-wizard-onboarding

v1.0.2

Published

Pretty fancy onboarding wizard for your website, made in React.

Readme

React Wizard Onboarding

Pretty fancy onboarding wizard for your website, made in React.

React Wizard Onboarding

Live demo at https://chrisuser.github.io/react-wizard-onboarding.

Installation

Install via npm

npm install --save react-wizard-onboarding

or yarn

yarn add react-wizard-onboarding

Usage

  1. Wrap your app inside the <TutorialProvider> context.

Example

const config = createTutorialConfig({ sticky: true, darkMode: true, displayDots: true, hideArrowOnSticky: true })

const Setup: React.FC = () => {
    return (
        <TutorialProvider config={config}>
            <App />
        </TutorialProvider>
    )
}

ReactDOM.createRoot(document.getElementById('root')!).render(<Setup />)
  1. Register all the elements of a page to include them into the onboarding carousel.

Example

const { registerTutorialComponent, startTutorial } = useTutorial()
...

return (
    <div className="main-container">
        <header
            ref={registerTutorialComponent({
                position: 1,
                id: 'header',
                tutorialKey: 'main_tutorial',
                text: 'This is the header element...'
            })}
        >
    ...
)
  1. Call the startTutorial method from useTutorial hook anywhere in the page (eg. with an onClick or a useEffect).

Example

    <button onClick={() => startTutorial()}>
        Start
    </button>

Hooks

  • registerTutorialComponent: (componentData: TutorialComponentData) Registers a tutorial component to be highlighted during the onboarding steps.
  • startTutorial: (tutorialKey?: string) Starts the tutorial onboarding process. You can also specify which tutorial to start. If not specified, all the previously registered components will be highlighted during the onboarding process.

Props

TutorialComponentData connect a component to the onboarding process

| Name | Optional | Type | Description | | ----------- | -------- | -------- | ---------------------------------------------------- | | id | | string | Component key or identifier | | position | | number | Component chapter position in the onboarding wizard | | tutorialKey | | string | Identifier of the onboarding tutorial chapters group | | text | ✔️ | string | Onboarding chapter text | | iamge | ✔️ | string | Onboarding chapter image |

TutorialConfiguration configure the onboarding wizard UI

| Name | Optional | Type | Description | | ----------- | -------- | --------------------------------------------------------------- | -------------------------------------------------------------------------------- | | title | ✔️ | string | Onboarding process title | | sticky | ✔️ | boolean | Determines if the wizard should stick to the registered components at each step. | | darkMode | ✔️ | boolean | Enables dark theme mode. | | displayDots | ✔️ | boolean | Determines if page dots should be displayed in default mode (non-sticky only). | | labels | ✔️ | { next?: string; complete?: string; close?: string } | Custom labels for the wizard buttons. | | icons | ✔️ | { next?: ReactNode; complete?: ReactNode; close?: ReactNode } | Custom icons for the wizard buttons. |

License

react-wizard-onboarding is MIT licensed.