N
neokit

Chat Bubble

Compose chat conversations with optional avatars, headers, timestamps, and per-bubble colour tokens. Each ChatBubble renders a single message row — stack them to build a thread.

Basic

side="start" aligns left (incoming); side="end" aligns right (outgoing).

start + end
It's over Anakin, I have the high ground.
You underestimate my power!

With avatar

Supply avatarSrc to render a chat-image section beside the bubble.

avatar on start + end
Obi-Wan Kenobi
You were the Chosen One!
Anakin Skywalker
I hate you!

Header, footer & avatar

Add header, time, and footer for a rich message card — name, timestamp, and delivery status.

full metadata
Obi-Wan Kenobi
Obi-Wan Kenobi
It's over Anakin, I have the high ground.
Anakin Skywalker
Anakin Skywalker
You underestimate my power!

Header & footer without avatar

avatarSrc is optional — header and footer work independently.

no avatar
Obi-Wan Kenobi
It's over Anakin, I have the high ground.
Anakin Skywalker
You underestimate my power!

Bubble colors

The color prop maps to chat-bubble-{color}. All 8 DaisyUI color tokens are supported.

start — all colors
Neutral bubble
Primary bubble
Secondary bubble
Accent bubble
Info bubble
Success bubble
Warning bubble
Error bubble
end — all colors
Neutral bubble
Primary bubble
Secondary bubble
Accent bubble
Info bubble
Success bubble
Warning bubble
Error bubble

Full conversation

A realistic thread combining avatars, headers, timestamps, footers, and colors.

conversation thread
Obi-Wan
Obi-Wan Kenobi
Hello there!
Anakin
Anakin Skywalker
General Kenobi.
Obi-Wan
Obi-Wan Kenobi
It's over Anakin, I have the high ground.
Anakin
Anakin Skywalker
You underestimate my power!
Obi-Wan
Obi-Wan Kenobi
Don't try it.