React AI chatbot component

// npm install react-elfsight-widget
import { ElfsightWidget } from "react-elfsight-widget";
export function AiChatbot() {
return <ElfsightWidget widgetID="YOUR-WIDGET-ID" />;
}
// The component adds Elfsight's platform.js for you —
// and won't add it twice if it's already on the page.Create your AI agent for free
- 1. Enter your website
- 2. Shape your agent
- 3. Add to website
Building an AI chatbot in React yourself
What you’d build and keep running
Your content as answers
The chat UI
Conversation memory
Guardrails
Leads and handoff
Transcripts and analytics
Upkeep
With Elfsight: one component
<AiChatbot />Learns from your website automatically
Lead forms and human handoff built in
Chat history, transcripts and analytics
Floating or embedded, styled in the editor
Free plan, no credit card
Add the AI chatbot to React
Official component. react-elfsight-widget from npm — the same component Elfsight support recommends for React apps.
Floating or embedded. A floating chat goes in your root component once and shows on every page; an embedded one goes where you render it.
Vite, CRA, Gatsby, Remix. A regular React component with one prop: widgetID.
// npm install react-elfsight-widget
import { ElfsightWidget } from "react-elfsight-widget";
export function AiChatbot() {
return <ElfsightWidget widgetID="YOUR-WIDGET-ID" />;
}
// The component adds Elfsight's platform.js for you —
// and won't add it twice if it's already on the page.What the agent does with no code of yours
Builds from your website
Creates a knowledge base
Shapes a personality
Prepares the first interaction
Equips with the right skills
Learns from conversations
Elfsight AI Chatbot vs building on a model API in React
Time to launch
AI Chatbot
Your own build
Knowledge
AI Chatbot
Your own build
Chat UI
AI Chatbot
Your own build
Leads and handoff
AI Chatbot
Your own build
Transcripts and analytics
AI Chatbot
Your own build
Costs
AI Chatbot
Your own build
Upkeep
AI Chatbot
Your own build