AI Chat UI Components for React
21 components, 7 free · React, TypeScript and Tailwind CSS, light and dark
Everything a chat interface needs, from the empty screen before the first message to the sidebar of past conversations. Use the AI Chat component as a whole window, or take the parts you need: the message, the streaming answer, the prompt box, the actions under each reply.
Each part draws the states a real model produces: thinking before the first word, text arriving mid-sentence, a stopped answer, a failed request and a retry. Bring your own model and API; the components only need the text as it streams.
How to build an AI chat interface in React
NewProGenerative Preview
HTML a model is writing, rendered live in a locked-down frame, with the code beside it.
BlockProAI Chat
Complete AI chat window with streaming replies.
BlockProChatbot
AI chatbot as a widget, panel, sidebar or page.
ProMemory Manager
View and edit what an AI assistant remembers.
FreeChat Message
Chat message bubble with sources and attachments.
FreeStreaming Response
AI answer that streams in word by word.
FreeThinking State
Loading state while the AI is thinking.
FreeMessage Actions
Copy, regenerate and rate buttons for AI replies.
FreePrompt Input
Auto-growing prompt box with send and stop.
FreeChat Empty State
Welcome screen for a new AI chat.
ProPrompt Composer
Prompt input with files, model picker and commands.
ProSuggested Prompts
Starter prompt cards and chips for AI chat.
ProConversation History
Chat history sidebar with search, pin and rename.
FreeCode Block
Syntax-highlighted code block with copy and tabs.
ProVoice Input
Voice recording button with live audio levels.
ProVoice Orb
Animated voice assistant orb for talk mode.
ProInline Citations
Numbered source citations inside an AI answer.
ProGeneration Error
Error message with retry for a failed AI reply.
ProQuota Banner
Usage limit banner with a reset countdown.
ProSuggestion Banner
Inline AI suggestion to apply, dismiss or undo.
ProImage Generation Loader
Loading animation for AI image generation.