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

@reactkits.dev/react-engage

v0.4.7

Published

Headless & Reskinnable Feedback, Bug Report, Support Desk, FAQ & Newsletter React Engagement Suite

Readme

@reactkits.dev/react-engage

A lightweight, reskinnable, embeddable React component package for user engagement: feedback widgets, bug reporting with auto-telemetry, feature suggestions, newsletter subscriptions, broadcasts, FAQs, and support ticketing.

Features and Workflows

1. Embedded Floating Widget (EngageWidget)

  • Newsletter Subscription: Direct email signup tab with confirmation feedback.
  • Feature Suggestions: Users can submit ideas, view existing requests, and vote.
  • Bug Reporting: Auto-captures browser context, route URL, OS, viewport size, and timestamp for effortless debugging.
  • Support Tickets and FAQs: Embedded FAQ search and support ticket creation.
  • My Tickets: Signed-in users can review their own bug reports, suggestions, support requests, and current statuses.

2. In-App Management Panel (EngageAdminPanel)

  • Support Inbox: Split view to inspect bug reports with auto-captured metadata (URL, browser, OS, screen resolution) and reply via email.
  • Audience & Newsletters: Send and track product announcements & newsletter emails.
  • Email Templates: Edit welcome emails, ticket reply templates, and broadcast newsletters.

Installation

npm install @reactkits.dev/react-engage lucide-react

Quick Start

Import the widget and styles near your application root:

import { EngageWidget } from '@reactkits.dev/react-engage';
import '@reactkits.dev/react-engage/styles.css';

export default function App() {
  return (
    <EngageWidget
      appId="my-app"
      position="bottom-right"
      theme="inherit"
      endpointUrl="/api/engage"
      user={session?.user}
      content={{
        launcher: { title: 'Help Center' },
        faq: {
          items: [
            {
              id: 'getting-started',
              question: 'How do I get started?',
              answer: 'Create your first project from the dashboard.',
              category: 'Getting Started',
              externalUrl: '/docs/getting-started',
            },
          ],
        },
        newsletter: {
          subscribeDescription: 'Get product release notes by email.',
        },
      }}
    />
  );
}

Host-owned content

react-engage owns interaction and presentation; the host application owns its product help and language. Pass a partial content object to customize any end-user string. Overrides are deep-merged with product-neutral defaults, so an app may replace one label or the complete catalog.

The typed EngageWidgetContent contract covers:

  • launcher, drawer accessibility labels, and navigation tabs
  • FAQ items, search, empty state, categories, and article links
  • bug, suggestion, and support form labels, placeholders, validation, success, payload fallback titles, option labels, and buttons
  • community roadmap header, sort/category filters, status badges, empty state, and optional sampleItems shown when no endpoint data is available
  • ticket list labels, loading/errors, empty states, and reply text
  • newsletter form, confirmation states, frequency options, and actions

Dynamic values use named tokens where documented by the default content: {path}, {browser}, {os}, and {email}. faqs and the flat labels prop remain supported for compatibility; new integrations should prefer content.

import type { EngageWidgetContentOverrides } from '@reactkits.dev/react-engage';

export const engageContent = {
  tabs: { faq: 'Guides' },
  feedback: {
    messagePlaceholders: {
      bug: 'e.g. The invoice preview is blank after I change the date',
    },
  },
  suggestions: {
    headerTitle: 'Product Roadmap',
    // Seed the roadmap until your endpoint returns data (defaults to none):
    sampleItems: [
      {
        id: 'seed_1',
        appId: 'my-app',
        title: 'Slack notifications',
        description: 'Notify a channel when an invoice is paid.',
        category: 'integrations',
        status: 'planned',
        upvotes: 12,
        createdAt: '2026-01-01T00:00:00.000Z',
      },
    ],
  },
} satisfies EngageWidgetContentOverrides;

If help articles come from a CMS, fetch them in the host application and pass the resulting array as content.faq.items. The package does not impose a CMS or store domain documentation in its own database.

Core Exports

  • EngageWidget: Floating engagement widget for users.
  • EngageAdminPanel: In-app admin dashboard for managing broadcasts, subscribers, and feedback.
  • @reactkits.dev/react-engage/server: Next.js route handler factory (createEngageRouteHandler).

EngageAdminPanel also accepts host-owned initialTemplates and initialBroadcastSubject. Server notification identity remains configurable through adminEmail, senderEmail, and senderName on createEngageRouteHandler. Its emailContent option accepts host renderers for welcome, admin-notification, and newsletter-broadcast emails, so no product identity or email copy needs to live in the reusable server package.

The My Tickets endpoint is authenticated by the host application. Configure resolveRequestUser on createEngageRouteHandler and return the current user's email. Set isAdmin for users who may access the admin lists and actions.

Theme Support

Supports inherit, system, light, and dark modes with semantic tokens (--card-bg, --card-border, --accent, --foreground, --muted).

Mobile & Positioning Customization

To clear host mobile navigation bars or customize placement:

<EngageWidget
  appId="my-app"
  position="bottom-right"
  offsetBottom="80px"     // Elevates launcher above mobile bottom nav bars
  mobileCollapse={true}   // Automatically collapses to circular icon on screens <= 640px
/>