LucasBassetti/react-simple-chatbot
LucasBassetti/react-simple-chatbot has 1,756 GitHub stars and 595 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-08 02:03 UTC. Last push 2026-10-29.
:speech_balloon: Easy way to create conversation chats
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalReact Simple Chatbot
A simple chatbot component to create conversation chats

Getting Start
react-simple-chatbot uses styled-components as a peer dependency, so install both:
npm install react-simple-chatbot styled-components
It works with React 18 or 19 and styled-components 5.1 or newer. The library is written in TypeScript, so the types are included.
Usage
There are several examples on the website. Here is the first one to get you started:
import { createRoot } from 'react-dom/client';
import ChatBot, { type Step } from 'react-simple-chatbot';
const steps: Step[] = [
{
id: '0',
message: 'Welcome to react chatbot!',
trigger: '1',
},
{
id: '1',
message: 'Bye!',
end: true,
},
];
createRoot(document.getElementById('root')!).render(<ChatBot steps={steps} />);
Tips
- Restart the conversation: render the chatbot with a new
key(e.g.<ChatBot key={conversationId} steps={steps} />). Ifcacheis enabled, also clear it withlocalStorage.removeItem(cacheName). - Change steps after mount: updates to
steps, the avatars, the delays andbotNameare used by the steps that were not rendered yet. - Style the chatbot: every element has a stable
rsc-*class name (e.g..rsc-ts-bubble,.rsc-input) that you can target with CSS, and the*Styleprops accept inline styles. - Custom components: the components of the steps receive
step,steps,previousStepandtriggerNextStep, typed asCustomComponentProps.
React Simple Chatbot on media
How to Contribute
Please check the contributing guide
Authors
| Lucas Bassetti |
See also the list of contributors who participated in this project.
License
MIT · Lucas Bassetti
Explore related projects
affaan-m/ECC
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
299,272 starsNousResearch/hermes-agent
The agent that grows with you
261,557 starsmultica-ai/andrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
230,672 starsfirecrawl/firecrawl
Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
199,551 stars