Apply the chat-header class to incorporate a header into the chat bubble.
Obi-Wan Kenobi
I aced my final exams!
Anakin
Fantastic news! You worked so hard for it!
<divclass="chat chat-receiver">
<divclass="chat-header text-base-content/90">
Obi-Wan Kenobi
<timeclass="text-base-content/50">12:45</time>
</div>
<divclass="chat-bubble">I aced my final exams!</div>
</div>
<divclass="chat chat-sender">
<divclass="chat-header text-base-content/90">
Anakin
<timeclass="text-base-content/50">12:46</time>
</div>
<divclass="chat-bubble">Fantastic news! You worked so hard for it!</div>
</div>
Apply the chat-footer class to incorporate a footer into the chat bubble.
Just finished my first painting!
That’s amazing! I’d love to see it!
<divclass="chat chat-receiver">
<divclass="chat-bubble">Just finished my first painting!</div>
<divclass="chat-footer text-base-content/50">
<div>Delivered</div>
</div>
</div>
<divclass="chat chat-sender">
<divclass="chat-bubble">That’s amazing! I’d love to see it!</div>
<divclass="chat-footer text-base-content/50">
Seen
<spanclass="icon-[tabler--checks] text-success align-bottom"></span>
</div>
</div>