About
A chat message bubble with incoming/outgoing variants, an optional reaction badge, and a rise-in animation state for use in chat UIs.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Message Bubble to your project and fits it to your theme.
Code
How Message Bubble is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { MessageBubble } from "@/components/ui/message-bubble";
export default function MessageBubbleDemo() {
return (
<div className="flex w-full max-w-sm flex-col gap-3 p-6">
<MessageBubble variant="incoming" state="visible">
Hey, did you see the new release?
</MessageBubble>
<MessageBubble variant="outgoing" state="visible" reaction="🔥">
Yep, pushing it live now
</MessageBubble>
</div>
);
}








