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

goguide

v1.0.0

Published

Interactive walkthrough and tour guide component for React applications.

Readme

GoGuide

GoGuide is an interactive walkthrough and tour guide component for React applications, created by GoStack.

It provides a customized overlay with smooth backdrop animations (using Framer Motion) and customizable popovers to guide users step-by-step through your application interface.

Installation

Install the package via npm, yarn, or pnpm. Ensure that you have the required peer dependencies installed:

npm install goguide

Peer Dependencies

GoGuide expects the following dependencies to be present in the host project:

  • react >= 19.2.0
  • react-dom >= 19.2.0
  • framer-motion >= 12.23.26
  • lucide-react >= 0.562.0
  • react-i18next >= 16.5.0

Usage

GoGuide is fully self-contained. You do not need to configure any special bundler aliases or paths.

1. Set Up the Provider

Define your tour configurations (of type Record<string, Tour>) in your host application and wrap your application in the TourProvider component, passing the configurations via the config prop.

import React from "react";
import { TourProvider, Tour } from "goguide";

// Define your tours config here
const toursConfig: Record<string, Tour> = {
  "dashboard-main": {
    id: "dashboard-main",
    steps: [
      {
        selector: "#dashboard-header-container",
        titleKey: "shared:tour.dashboard.header.title",
        contentKey: "shared:tour.dashboard.header.content",
        placement: "bottom",
      }
    ]
  }
};

export default function App() {
  return (
    <TourProvider config={toursConfig}>
      <MyApplication />
    </TourProvider>
  );
}

2. Include the Overlay

Render the TourOverlay component at the root level of your application (under the TourProvider), passing your custom translation function t and reading direction option isRTL.

import React from "react";
import { TourOverlay } from "goguide";
import { useTranslation } from "react-i18next";

export function MyApplication() {
  const { t, i18n } = useTranslation("shared");
  const isRTL = i18n.language === "ar";

  return (
    <div>
      <MainLayout />
      {/* Tour Overlay will render portalled into the body when a tour is active */}
      <TourOverlay t={t} isRTL={isRTL} />
    </div>
  );
}

3. Start a Tour

Use the useTour hook in any component to trigger a tour by its ID.

import React from "react";
import { useTour } from "goguide";

export function HelpButton() {
  const { startTour } = useTour();

  return (
    <button onClick={() => startTour("dashboard-main", { force: true })}>
      Start Tour
    </button>
  );
}

Tour Configuration Schema

Each step in your configuration defines:

  • selector: The CSS selector of the DOM element to highlight.
  • titleKey: The translation key for the step's title.
  • contentKey: The translation key for the step's description.
  • placement: (Optional) Placement option (top | bottom | left | right | center).

Developer

Developed and maintained under the name of GoStack.