layout | title | description | group | toc | requires_js | previous | previousLink | next | nextLink |
---|---|---|---|---|---|---|---|---|---|
home |
Tailwind CSS Chat Bubble - Flowbite |
Use the chat bubble component to show chat messages in your web application including voice notes, images, galleries and other attachments based on multiple styles and variations |
components |
true |
true |
Carousel |
components/carousel/ |
Clipboard |
components/clipboard/ |
The chat bubble component is the building block for creating chat interfaces where users can send messages to each other by text, voice notes, images, galleries and other attachments. These components are usually used in chat applications and social media platforms such as Facebook, Twitter/X, WhatsApp, and more.
The examples below provide multiple variations of default, outline, and clean styles coded with the utility classes from Tailwind CSS. Some of the components may require you to include the Flowbite JavaScript to enable the dropdowns and tooltips functionality.
Use this example to show a simple chat bubble with a text message, user profile and a timestamp.
{{< example id="chat-bubble-example" class="flex justify-center" github="components/chat-bubble.md" show_dark=true iframeHeight="380" >}}
That's awesome. I think our users will really appreciate the improvements.
DeliveredThis example can be used to show a voice note message with control buttons and a dropdown menu.
{{< example id="voice-note-example" class="flex justify-center" github="components/chat-bubble.md" show_dark=true iframeHeight="380" >}}
{{< /example >}}Use this example to send a file attachment inside a chat bubble with the ability to download the file.
{{< example id="file-attachement-example" class="flex justify-center" github="components/chat-bubble.md" show_dark=true iframeHeight="380" >}}
{{< /example >}}This example can be used to show an image attachment with a download button when hovering over.
{{< example id="image-attachment-example" class="flex justify-center" github="components/chat-bubble.md" show_dark=true iframeHeight="480" >}}
{{< /example >}}Use this example to show an image gallery based on a grid layout with the ability to download images.
{{< example id="image-gallery-example" class="flex justify-center" github="components/chat-bubble.md" show_dark=true iframeHeight="480" >}}
{{< /example >}}Use this example to show a OG preview of the URL that is being shared inside the chat bubble.
{{< example id="url-sharing-example" class="flex justify-center" github="components/chat-bubble.md" show_dark=true iframeHeight="520" >}}
Check out this open-source UI component library based on Tailwind CSS:
https://github.com/themesberg/flowbite
GitHub - themesberg/flowbite: The most popular and open source libra ... github.com DeliveredUse this example to show a text message with the user profile and timestamp outside the chat bubble.
{{< example id="outline-chat-bubble-example" class="flex justify-center" github="components/chat-bubble.md" show_dark=true iframeHeight="370" >}}
That's awesome. I think our users will really appreciate the improvements.
This example can be used to show a voice note with the user profile and timestamp outside the chat bubble.
{{< example id="outline-voice-note-example" class="flex justify-center" github="components/chat-bubble.md" show_dark=true iframeHeight="370" >}}
{{< /example >}}Use this example to show a file attachment with the user profile and timestamp outside the chat bubble.
{{< example id="outline-file-attachment-example" class="flex justify-center" github="components/chat-bubble.md" show_dark=true iframeHeight="380" >}}
{{< /example >}}This example can be used to send an image attachment with the user profile outside the chat bubble.
{{< example id="outline-image-attachment-example" class="flex justify-center" github="components/chat-bubble.md" show_dark=true iframeHeight="460" >}}
{{< /example >}}Use this example to show an image gallery with the user profile and timestamp outside the chat bubble.
{{< example id="outline-image-gallery-example" class="flex justify-center" github="components/chat-bubble.md" show_dark=true iframeHeight="480" >}}
{{< /example >}}Use this example to show a URL preview with the user profile and timestamp outside the chat bubble.
{{< example id="outline-url-sharing-example" class="flex justify-center" github="components/chat-bubble.md" show_dark=true iframeHeight="520" >}}
Check out this open-source UI component library based on Tailwind CSS:
https://github.com/themesberg/flowbite
GitHub - themesberg/flowbite: The most popular and open source libra ... github.comUse this example to show a text message with the user profile and timestamp with a transparent background.
{{< example id="clean-chat-bubble-example" class="flex justify-center" github="components/chat-bubble.md" show_dark=true iframeHeight="180" >}}
That's awesome. I think our users will really appreciate the improvements.
DeliveredThis example can be used to show a voice note with a transparent background.
{{< example id="clean-voice-note-example" class="flex justify-center" github="components/chat-bubble.md" show_dark=true iframeHeight="180" >}}
{{< /example >}}Use this example to show a file attachment and a download button with a transparent background.
{{< example id="clean-file-attachment-example" class="flex justify-center" github="components/chat-bubble.md" show_dark=true iframeHeight="200" >}}
{{< /example >}}This example can be used to show an image and a download button with a transparent background.
{{< example id="clean-image-attachment-example" class="flex justify-center" github="components/chat-bubble.md" show_dark=true iframeHeight="380" >}}
{{< /example >}}Use this example to show an image gallery with a transparent background as a chat message.
{{< example id="clean-image-gallery-example" class="flex justify-center" github="components/chat-bubble.md" show_dark=true iframeHeight="390" >}}
{{< /example >}}This example can be used to show a URL preview with a transparent background.
{{< example id="clean-url-sharing-example" class="flex justify-center" github="components/chat-bubble.md" show_dark=true iframeHeight="450" >}}
Check out this open-source UI component library based on Tailwind CSS:
https://github.com/themesberg/flowbite
GitHub - themesberg/flowbite: The most popular and open source libra ... github.com Delivered