Chat BubbleChat Bubble
내가 보낸 말과 봇의 답을 구분하는 말풍선입니다.A bubble that tells your messages apart from the bot's replies.
대화Conversation
What needs my attention today?
Overnight: 41 new emails, 6 need you. The rest are filed.
Small bubble.
Default bubble.
Large bubble.
import { ChatBubble } from "@horon-ai/react"; export default function ChatBubbleDemo() { return ( <div className="flex w-full max-w-120 flex-col gap-3"> <ChatBubble from="me">What needs my attention today?</ChatBubble> <ChatBubble from="bot">Overnight: 41 new emails, 6 need you. The rest are filed.</ChatBubble> <div className="flex flex-col gap-2"> <ChatBubble from="me" size="sm"> Small bubble. </ChatBubble> <ChatBubble from="bot" size="md"> Default bubble. </ChatBubble> <ChatBubble from="me" size="lg"> Large bubble. </ChatBubble> </div> </div> ); }