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

@ai-chat-bot/react-ai-chat-bot

v2.0.2

Published

Embeddable React AI Chatbot & Customer Support Widget powered by AIHub360. Plug-and-play customizable floating chat assistant with website FAQ training, TypeScript definitions, and Next.js / Vite support.

Downloads

1,872

Readme

@ai-chat-bot/react-ai-chat-bot

An embeddable, customizable React AI Chatbot Widget component powered by AIHub360. Answer your visitors' questions 24/7 using content trained on your own website.

npm version license

Prerequisites

Before adding the widget to your site you need a free AIHub360 account:

| Step | Where to go | |------|-------------| | 1. Create an account | https://aihub360.in | | 2. Enable your AI model | Dashboard → AI Models | | 3. Add your Website Url | Dashboard → Scraping Pages | | 4. Add your Widget Key | Dashboard → Widget Tokens | | 5. Increase API call quota (if needed) | Dashboard → Pricing Plan |


Installation

npm install @ai-chat-bot/react-ai-chat-bot
# or
yarn add @ai-chat-bot/react-ai-chat-bot
# or
pnpm add @ai-chat-bot/react-ai-chat-bot

Quick Start

import React from 'react';
import { ChatWidget } from '@ai-chat-bot/react-ai-chat-bot';

export default function App() {
  return (
    <ChatWidget
      widgetToken="YOUR_WIDGET_TOKEN"
      title="AI Assistant"
      greeting="Hello! How can I assist you today?"
      faqOptions={[
        'What services do you offer?',
        'How can I get started?',
      ]}
    />
  );
}

Get your widgetToken: Log in to your account at aihub360.in and generate a domain-locked token under Dashboard → Widget Tokens.


Common Props

| Prop | Type | Default | Description | |------|------|---------|-------------| | widgetToken | string | '' | Required. Your public domain-restricted widget token. | | title | string | 'AIHub360' | Header title in the chat window. | | subtitle | string | 'AI Assistant Active' | Subtitle shown below the title. | | greeting | string | 'Greetings...' | Initial greeting message. | | faqOptions | string[] | [] | Quick-starter question chips. | | placeholder | string | 'Ask your question...' | Input placeholder text. | | position | 'bottom-right' \| 'bottom-left' \| 'top-right' \| 'top-left' | 'bottom-right' | Widget screen position. | | theme | ChatWidgetTheme | {} | Theme customization object (colors, dimensions, fonts). | | onOpenChange | (isOpen: boolean) => void | undefined | Callback fired when the widget opens or closes. | | onError | (error: any) => void | undefined | Callback fired on error. |


[!NOTE] Pricing Tier Note: Certain props and features (such as custom branding, advanced theme overrides, and AI model selection) may vary or require an active AIHub360 Pricing Plan (Free, Pro, or Enterprise).


Full Documentation

For the complete props reference, theme variables, callbacks, and step-by-step guides:
👉 Visit the AIHub360 Documentation (aihub360.in/docs)


License

MIT © AIHub360