New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

help-center-widget-react

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

help-center-widget-react

React help center component for React.

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

🛟 Help Center Widget for React

Publish help articles, FAQs, and guides. Allow customers to find answers on their own, reduce repetitive questions, and keep your support team to focus on more challenging issues.

👀 Preview

Help Center Widget Preview

📦 Installation

Install the widget via npm or yarn:

npm install help-center-widget-react
# or
yarn add help-center-widget-react

✨ Key Features

  • 🚀 Easy Integration: Get started with minimal setup.
  • 📱 Responsive Design: Optimized for all screen sizes.
  • 🔍 Search Functionality: Allow users to quickly find relevant articles.
  • 📚 Article Categorization: Organize content for better discovery.
  • 🗂️ Multi-Language Support: Target a global audience.
  • 💪 TypeScript Compatibility: Fully typed for a seamless developer experience.
  • 🌓 Dark Mode Support: Matches your user's preferences.

🔧 Configuration

Register your project on Swiftyper.

Customize the widget to fit your needs using the following options:

OptionTypeDescription
apiKeystringAPI key for authenticating with the help center.
localestringLocale setting for the widget (e.g., en_US, de_DE).
isOpenbooleanWhether the widget is open by default.
launcherPositionstringPosition of the launcher on the screen (e.g., bottom-right).
launcherColorstringColor of the launcher icon.
launcherBackgroundColorstringBackground color of the launcher.
launcherSizestringSize of the launcher (e.g., 3.5rem).
launcherMarginstringMargin around the launcher (e.g., 1rem).
launcherAnimationbooleanEnable animation for the launcher.
widgetRadiusstringBorder radius of the widget (e.g., 12px).
widgetWidthstringWidth of the widget (e.g., 400px).
widgetHeightstringHeight of the widget (e.g., 650px).
displayModestringDisplay mode of the widget (modal, popup).
showModalBackdropbooleanShow a backdrop when the widget is in modal mode.
backdropColorstringColor of the modal backdrop (e.g. rgba(0, 0, 0, 0.5)).
launcherIconSvgstringCustom SVG icon for the launcher.

⚡️ Quick Start

Follow these steps to integrate the widget into your app:

  • Add the following script to your React app:
import { HelpCenterWidget } from 'help-center-widget-react';

function App() {
  return (
    <div>
      <HelpCenterWidget
        apiKey="YOUR_API_KEY"
        launcherPosition="bottom-right"
        launcherColor="#fff"
        launcherBackgroundColor="#2563eb"
        displayMode="popup"
      />
      {/* Your app content */}
    </div>
  );
}
  • Replace YOUR_API_KEY with your actual API key.

  • Customize the configuration options as needed.

🖥️ Browser Support

The widget supports all modern browsers:

  • Chrome (latest)
  • Firefox (latest)
  • Safari (latest)
  • Edge (latest)

🤝 Contributing

We welcome contributions! If you'd like to help improve this project, feel free to open an issue or submit a pull request.

📜 License

This project is licensed under the MIT License. See the LICENSE file for details.

Keywords

react

FAQs

Package last updated on 09 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts