Socket
Book a DemoInstallSign in
Socket

converse-ai-support-library

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

converse-ai-support-library

A React component library for floating contact buttons (email, chat, call)

2.0.6
latest
npmnpm
Version published
Weekly downloads
342
-38.16%
Maintainers
1
Weekly downloads
 
Created
Source

Converse AI Support Library

A React component library that provides Voice Call and Text Chat functionality using Vapi AI.

🚀 Features

  • Voice Call Component: Full-featured voice calling with Vapi AI
  • Text Chat Component: Interactive chatbot interface
  • TypeScript Support: Full type safety and IntelliSense
  • Container Responsive: Adapts to parent container size
  • Customizable Styling: Support for custom styles and CSS classes

📦 Installation

npm install converse-ai-support-library

🎨 Import Styles

Important: Import the CSS file in your main application file to enable styling:

// In your main App.js or index.js file
import "converse-ai-support-library/dist/index.css";

🔧 Usage

Call Component

import React from "react";
import { Call } from "converse-ai-support-library";
import "converse-ai-support-library/dist/index.css"; // Don't forget this!

function App() {
  return (
    <div style={{ height: "600px", width: "800px" }}>
      <Call
        apiKey="your-vapi-api-key"
        assistantId="your-vapi-assistant-id"
        personName="John Doe"
        personRole="Sales Agent"
        personImage="https://example.com/agent-photo.jpg"
      />
    </div>
  );
}

export default App;

Call Component Props

PropTypeRequiredDefaultDescription
apiKeystring-Your Vapi AI API key
assistantIdstring-Your Vapi AI assistant ID
personNamestring"James Doe"Name to display
personRolestring"SALES PERSON"Role/title to display
personImagestringDefault avatarImage URL for the person
configobject{}Additional Vapi configuration
classNamestring""CSS class for inner content
styleReact.CSSProperties{}Inline styles for content
containerClassNamestring""CSS class for container
containerStyleReact.CSSProperties{}Inline styles for container

Chatbot Component

import React from "react";
import { Chatbot } from "converse-ai-support-library";
import "converse-ai-support-library/dist/index.css"; // Don't forget this!

function App() {
  return (
    <div style={{ height: "500px", width: "400px" }}>
      <Chatbot />
    </div>
  );
}

export default App;

Custom Styling Examples

// Custom sizing and styling
<Call
  apiKey="your-api-key"
  assistantId="your-assistant-id"
  containerStyle={{
    height: "100vh",
    background: "linear-gradient(to bottom, #667eea 0%, #764ba2 100%)",
  }}
  className="custom-call-content"
  style={{ borderRadius: "20px", border: "2px solid white" }}
/>

📋 Requirements

  • React 18+
  • Vapi AI account and API keys

🔑 Getting Vapi AI Credentials

  • Sign up at Vapi AI
  • Create an assistant
  • Get your API key and assistant ID from the dashboard

📄 License

MIT

Keywords

converse-ai

FAQs

Package last updated on 03 Sep 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.