flowbite-mcp 1.1.3 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +49 -74
- package/build/index.js +20 -36
- package/data/components/accordion.md +39 -53
- package/data/components/alerts.md +27 -44
- package/data/components/avatar.md +20 -33
- package/data/components/badge.md +34 -47
- package/data/components/banner.md +10 -29
- package/data/components/bottom-navigation.md +16 -29
- package/data/components/breadcrumb.md +12 -25
- package/data/components/button-group.md +26 -39
- package/data/components/buttons.md +41 -67
- package/data/components/card.md +34 -47
- package/data/components/carousel.md +25 -39
- package/data/components/chat-bubble.md +36 -50
- package/data/components/clipboard.md +256 -252
- package/data/components/datepicker.md +56 -70
- package/data/components/device-mockups.md +16 -29
- package/data/components/drawer.md +42 -56
- package/data/components/dropdowns.md +66 -80
- package/data/components/footer.md +16 -29
- package/data/components/forms.md +32 -50
- package/data/components/gallery.md +16 -33
- package/data/components/indicators.md +18 -31
- package/data/components/jumbotron.md +12 -25
- package/data/components/kbd.md +14 -27
- package/data/components/list-group.md +14 -27
- package/data/components/mega-menu.md +10 -24
- package/data/components/modal.md +37 -51
- package/data/components/navbar.md +41 -55
- package/data/components/pagination.md +22 -35
- package/data/components/popover.md +36 -51
- package/data/components/progress.md +10 -23
- package/data/components/qr-code.md +41 -133
- package/data/components/rating.md +16 -29
- package/data/components/sidebar.md +15 -30
- package/data/components/skeleton.md +16 -29
- package/data/components/speed-dial.md +40 -55
- package/data/components/spinner.md +14 -27
- package/data/components/stepper.md +14 -27
- package/data/components/tables.md +45 -64
- package/data/components/tabs.md +30 -45
- package/data/components/timeline.md +10 -23
- package/data/components/toast.md +25 -39
- package/data/components/tooltips.md +24 -39
- package/data/components/typography.md +22 -35
- package/data/components/video.md +14 -27
- package/data/forms/checkbox.md +27 -43
- package/data/forms/file-input.md +12 -26
- package/data/forms/floating-label.md +12 -25
- package/data/forms/input-field.md +17 -32
- package/data/forms/number-input.md +83 -93
- package/data/forms/phone-input.md +42 -54
- package/data/forms/radio.md +23 -39
- package/data/forms/range.md +12 -26
- package/data/forms/search-input.md +14 -31
- package/data/forms/select.md +15 -30
- package/data/forms/textarea.md +8 -21
- package/data/forms/timepicker.md +30 -42
- package/data/forms/toggle.md +18 -31
- package/data/plugins/charts.md +542 -526
- package/data/plugins/datatables.md +285 -286
- package/data/plugins/wysiwyg.md +658 -650
- package/data/quickstart.md +24 -24
- package/data/typography/blockquote.md +24 -37
- package/data/typography/headings.md +30 -43
- package/data/typography/hr.md +10 -23
- package/data/typography/images.md +32 -45
- package/data/typography/links.md +16 -29
- package/data/typography/lists.md +22 -35
- package/data/typography/paragraphs.md +30 -43
- package/data/typography/text.md +42 -55
- package/package.json +1 -1
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
---
|
|
2
|
-
layout: docs
|
|
3
|
-
title: Tailwind CSS Chat Bubble - Flowbite
|
|
4
|
-
description: 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
|
|
5
|
-
group: components
|
|
6
|
-
toc: true
|
|
7
|
-
requires_js: true
|
|
8
|
-
|
|
9
|
-
previous: Carousel
|
|
10
|
-
previousLink: components/carousel/
|
|
11
|
-
next: Clipboard
|
|
12
|
-
nextLink: components/clipboard/
|
|
13
|
-
---
|
|
14
|
-
|
|
15
1
|
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.
|
|
16
2
|
|
|
17
3
|
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.
|
|
@@ -20,7 +6,7 @@ The examples below provide multiple variations of default, outline, and clean st
|
|
|
20
6
|
|
|
21
7
|
Use this example to show a simple chat bubble with a text message, user profile and a timestamp.
|
|
22
8
|
|
|
23
|
-
|
|
9
|
+
```html
|
|
24
10
|
<div class="flex items-start gap-2.5">
|
|
25
11
|
<img class="w-8 h-8 rounded-full" src="/docs/images/people/profile-picture-3.jpg" alt="Jese image">
|
|
26
12
|
<div class="flex flex-col w-full max-w-[320px] leading-1.5 p-4 bg-neutral-secondary-soft rounded-e-base rounded-es-base">
|
|
@@ -54,13 +40,13 @@ Use this example to show a simple chat bubble with a text message, user profile
|
|
|
54
40
|
</ul>
|
|
55
41
|
</div>
|
|
56
42
|
</div>
|
|
57
|
-
|
|
43
|
+
```
|
|
58
44
|
|
|
59
45
|
## Voice note message
|
|
60
46
|
|
|
61
47
|
This example can be used to show a voice note message with control buttons and a dropdown menu.
|
|
62
48
|
|
|
63
|
-
|
|
49
|
+
```html
|
|
64
50
|
<div class="flex items-start gap-2.5">
|
|
65
51
|
<img class="w-8 h-8 rounded-full" src="/docs/images/people/profile-picture-3.jpg" alt="Jese image">
|
|
66
52
|
<div class="flex flex-col gap-2.5 w-full max-w-[320px] leading-1.5 p-4 bg-neutral-secondary-soft rounded-e-base rounded-es-base">
|
|
@@ -129,13 +115,13 @@ This example can be used to show a voice note message with control buttons and a
|
|
|
129
115
|
</ul>
|
|
130
116
|
</div>
|
|
131
117
|
</div>
|
|
132
|
-
|
|
118
|
+
```
|
|
133
119
|
|
|
134
120
|
## File attachment
|
|
135
121
|
|
|
136
122
|
Use this example to send a file attachment inside a chat bubble with the ability to download the file.
|
|
137
123
|
|
|
138
|
-
|
|
124
|
+
```html
|
|
139
125
|
<div class="flex items-start gap-2.5">
|
|
140
126
|
<img class="w-8 h-8 rounded-full" src="/docs/images/people/profile-picture-3.jpg" alt="Bonnie Green image">
|
|
141
127
|
<div class="flex flex-col gap-1">
|
|
@@ -208,13 +194,13 @@ Use this example to send a file attachment inside a chat bubble with the ability
|
|
|
208
194
|
</ul>
|
|
209
195
|
</div>
|
|
210
196
|
</div>
|
|
211
|
-
|
|
197
|
+
```
|
|
212
198
|
|
|
213
199
|
## Image attachment
|
|
214
200
|
|
|
215
201
|
This example can be used to show an image attachment with a download button when hovering over.
|
|
216
202
|
|
|
217
|
-
|
|
203
|
+
```html
|
|
218
204
|
<div class="flex items-start gap-2.5">
|
|
219
205
|
<img class="w-8 h-8 rounded-full" src="/docs/images/people/profile-picture-3.jpg" alt="Bonnie Green image">
|
|
220
206
|
<div class="flex flex-col gap-1">
|
|
@@ -262,13 +248,13 @@ This example can be used to show an image attachment with a download button when
|
|
|
262
248
|
</ul>
|
|
263
249
|
</div>
|
|
264
250
|
</div>
|
|
265
|
-
|
|
251
|
+
```
|
|
266
252
|
|
|
267
253
|
## Image gallery
|
|
268
254
|
|
|
269
255
|
Use this example to show an image gallery based on a grid layout with the ability to download images.
|
|
270
256
|
|
|
271
|
-
|
|
257
|
+
```html
|
|
272
258
|
<div class="flex items-start gap-2.5">
|
|
273
259
|
<img class="w-8 h-8 rounded-full" src="/docs/images/people/profile-picture-3.jpg" alt="Bonnie Green image">
|
|
274
260
|
<div class="flex flex-col gap-1">
|
|
@@ -358,13 +344,13 @@ Use this example to show an image gallery based on a grid layout with the abilit
|
|
|
358
344
|
</ul>
|
|
359
345
|
</div>
|
|
360
346
|
</div>
|
|
361
|
-
|
|
347
|
+
```
|
|
362
348
|
|
|
363
349
|
## URL preview sharing
|
|
364
350
|
|
|
365
351
|
Use this example to show a OG preview of the URL that is being shared inside the chat bubble.
|
|
366
352
|
|
|
367
|
-
|
|
353
|
+
```html
|
|
368
354
|
<div class="flex items-start gap-2.5">
|
|
369
355
|
<img class="w-8 h-8 rounded-full" src="/docs/images/people/profile-picture-3.jpg" alt="Jese image">
|
|
370
356
|
<div class="flex flex-col w-full max-w-[320px] leading-1.5 p-4 bg-neutral-secondary-soft rounded-e-base rounded-es-base">
|
|
@@ -404,13 +390,13 @@ Use this example to show a OG preview of the URL that is being shared inside the
|
|
|
404
390
|
</ul>
|
|
405
391
|
</div>
|
|
406
392
|
</div>
|
|
407
|
-
|
|
393
|
+
```
|
|
408
394
|
|
|
409
395
|
## Outline chat bubble
|
|
410
396
|
|
|
411
397
|
Use this example to show a text message with the user profile and timestamp outside the chat bubble.
|
|
412
398
|
|
|
413
|
-
|
|
399
|
+
```html
|
|
414
400
|
<div class="flex items-start gap-2.5">
|
|
415
401
|
<img class="w-8 h-8 rounded-full" src="/docs/images/people/profile-picture-3.jpg" alt="Jese image">
|
|
416
402
|
<div class="flex flex-col gap-1 w-full max-w-[320px]">
|
|
@@ -446,13 +432,13 @@ Use this example to show a text message with the user profile and timestamp outs
|
|
|
446
432
|
</ul>
|
|
447
433
|
</div>
|
|
448
434
|
</div>
|
|
449
|
-
|
|
435
|
+
```
|
|
450
436
|
|
|
451
437
|
## Outline voice note
|
|
452
438
|
|
|
453
439
|
This example can be used to show a voice note with the user profile and timestamp outside the chat bubble.
|
|
454
440
|
|
|
455
|
-
|
|
441
|
+
```html
|
|
456
442
|
<div class="flex items-start gap-2.5">
|
|
457
443
|
<img class="w-8 h-8 rounded-full" src="/docs/images/people/profile-picture-3.jpg" alt="Jese image">
|
|
458
444
|
<div class="flex flex-col gap-1">
|
|
@@ -523,13 +509,13 @@ This example can be used to show a voice note with the user profile and timestam
|
|
|
523
509
|
</ul>
|
|
524
510
|
</div>
|
|
525
511
|
</div>
|
|
526
|
-
|
|
512
|
+
```
|
|
527
513
|
|
|
528
514
|
## Outline file attachment
|
|
529
515
|
|
|
530
516
|
Use this example to show a file attachment with the user profile and timestamp outside the chat bubble.
|
|
531
517
|
|
|
532
|
-
|
|
518
|
+
```html
|
|
533
519
|
<div class="flex items-start gap-2.5">
|
|
534
520
|
<img class="w-8 h-8 rounded-full" src="/docs/images/people/profile-picture-3.jpg" alt="Jese image">
|
|
535
521
|
<div class="flex flex-col gap-1">
|
|
@@ -602,13 +588,13 @@ Use this example to show a file attachment with the user profile and timestamp o
|
|
|
602
588
|
</ul>
|
|
603
589
|
</div>
|
|
604
590
|
</div>
|
|
605
|
-
|
|
591
|
+
```
|
|
606
592
|
|
|
607
593
|
## Outline image attachment
|
|
608
594
|
|
|
609
595
|
This example can be used to send an image attachment with the user profile outside the chat bubble.
|
|
610
596
|
|
|
611
|
-
|
|
597
|
+
```html
|
|
612
598
|
<div class="flex items-start gap-2.5">
|
|
613
599
|
<img class="w-8 h-8 rounded-full" src="/docs/images/people/profile-picture-3.jpg" alt="Jese image">
|
|
614
600
|
<div class="flex flex-col gap-1">
|
|
@@ -656,13 +642,13 @@ This example can be used to send an image attachment with the user profile outsi
|
|
|
656
642
|
</ul>
|
|
657
643
|
</div>
|
|
658
644
|
</div>
|
|
659
|
-
|
|
645
|
+
```
|
|
660
646
|
|
|
661
647
|
## Outline image gallery
|
|
662
648
|
|
|
663
649
|
Use this example to show an image gallery with the user profile and timestamp outside the chat bubble.
|
|
664
650
|
|
|
665
|
-
|
|
651
|
+
```html
|
|
666
652
|
<div class="flex items-start gap-2.5">
|
|
667
653
|
<img class="w-8 h-8 rounded-full" src="/docs/images/people/profile-picture-3.jpg" alt="Jese image">
|
|
668
654
|
<div class="flex flex-col gap-1">
|
|
@@ -752,13 +738,13 @@ Use this example to show an image gallery with the user profile and timestamp ou
|
|
|
752
738
|
</ul>
|
|
753
739
|
</div>
|
|
754
740
|
</div>
|
|
755
|
-
|
|
741
|
+
```
|
|
756
742
|
|
|
757
743
|
## Outline URL preview sharing
|
|
758
744
|
|
|
759
745
|
Use this example to show a URL preview with the user profile and timestamp outside the chat bubble.
|
|
760
746
|
|
|
761
|
-
|
|
747
|
+
```html
|
|
762
748
|
<div class="flex items-start gap-2.5">
|
|
763
749
|
<img class="w-8 h-8 rounded-full" src="/docs/images/people/profile-picture-3.jpg" alt="Jese image">
|
|
764
750
|
<div class="flex flex-col gap-1 w-full max-w-[320px]">
|
|
@@ -800,13 +786,13 @@ Use this example to show a URL preview with the user profile and timestamp outsi
|
|
|
800
786
|
</ul>
|
|
801
787
|
</div>
|
|
802
788
|
</div>
|
|
803
|
-
|
|
789
|
+
```
|
|
804
790
|
|
|
805
791
|
## Clean chat bubble
|
|
806
792
|
|
|
807
793
|
Use this example to show a text message with the user profile and timestamp with a transparent background.
|
|
808
794
|
|
|
809
|
-
|
|
795
|
+
```html
|
|
810
796
|
<div class="flex items-start gap-2.5">
|
|
811
797
|
<img class="w-8 h-8 rounded-full" src="/docs/images/people/profile-picture-3.jpg" alt="Jese image">
|
|
812
798
|
<div class="flex flex-col w-full max-w-[320px] leading-1.5">
|
|
@@ -818,13 +804,13 @@ Use this example to show a text message with the user profile and timestamp with
|
|
|
818
804
|
<span class="text-sm text-body">Delivered</span>
|
|
819
805
|
</div>
|
|
820
806
|
</div>
|
|
821
|
-
|
|
807
|
+
```
|
|
822
808
|
|
|
823
809
|
## Clean voice note
|
|
824
810
|
|
|
825
811
|
This example can be used to show a voice note with a transparent background.
|
|
826
812
|
|
|
827
|
-
|
|
813
|
+
```html
|
|
828
814
|
<div class="flex items-start gap-2.5">
|
|
829
815
|
<img class="w-8 h-8 rounded-full" src="/docs/images/people/profile-picture-3.jpg" alt="Jese image">
|
|
830
816
|
<div class="flex flex-col gap-1">
|
|
@@ -873,13 +859,13 @@ This example can be used to show a voice note with a transparent background.
|
|
|
873
859
|
<span class="text-sm text-body">Delivered</span>
|
|
874
860
|
</div>
|
|
875
861
|
</div>
|
|
876
|
-
|
|
862
|
+
```
|
|
877
863
|
|
|
878
864
|
## Clean file attachment
|
|
879
865
|
|
|
880
866
|
Use this example to show a file attachment and a download button with a transparent background.
|
|
881
867
|
|
|
882
|
-
|
|
868
|
+
```html
|
|
883
869
|
<div class="flex items-start gap-2.5">
|
|
884
870
|
<img class="h-8 w-8 rounded-full" src="/docs/images/people/profile-picture-3.jpg" alt="Jese image" />
|
|
885
871
|
<div class="flex flex-col gap-2.5">
|
|
@@ -930,13 +916,13 @@ Use this example to show a file attachment and a download button with a transpar
|
|
|
930
916
|
<span class="text-sm text-body">Delivered</span>
|
|
931
917
|
</div>
|
|
932
918
|
</div>
|
|
933
|
-
|
|
919
|
+
```
|
|
934
920
|
|
|
935
921
|
## Clean image attachment
|
|
936
922
|
|
|
937
923
|
This example can be used to show an image and a download button with a transparent background.
|
|
938
924
|
|
|
939
|
-
|
|
925
|
+
```html
|
|
940
926
|
<div class="flex items-start gap-2.5">
|
|
941
927
|
<img class="h-8 w-8 rounded-full" src="/docs/images/people/profile-picture-3.jpg" alt="Jese image" />
|
|
942
928
|
<div class="flex flex-col gap-2.5">
|
|
@@ -962,13 +948,13 @@ This example can be used to show an image and a download button with a transpare
|
|
|
962
948
|
<span class="text-sm text-body">Delivered</span>
|
|
963
949
|
</div>
|
|
964
950
|
</div>
|
|
965
|
-
|
|
951
|
+
```
|
|
966
952
|
|
|
967
953
|
## Clean image gallery
|
|
968
954
|
|
|
969
955
|
Use this example to show an image gallery with a transparent background as a chat message.
|
|
970
956
|
|
|
971
|
-
|
|
957
|
+
```html
|
|
972
958
|
<div class="flex items-start gap-2.5">
|
|
973
959
|
<img class="h-8 w-8 rounded-full" src="/docs/images/people/profile-picture-3.jpg" alt="Jese image" />
|
|
974
960
|
<div class="flex flex-col gap-2.5">
|
|
@@ -1036,13 +1022,13 @@ Use this example to show an image gallery with a transparent background as a cha
|
|
|
1036
1022
|
</div>
|
|
1037
1023
|
</div>
|
|
1038
1024
|
</div>
|
|
1039
|
-
|
|
1025
|
+
```
|
|
1040
1026
|
|
|
1041
1027
|
## Clean URL preview sharing
|
|
1042
1028
|
|
|
1043
1029
|
This example can be used to show a URL preview with a transparent background.
|
|
1044
1030
|
|
|
1045
|
-
|
|
1031
|
+
```html
|
|
1046
1032
|
<div class="flex items-start gap-2.5">
|
|
1047
1033
|
<img class="w-8 h-8 rounded-full" src="/docs/images/people/profile-picture-3.jpg" alt="Jese image">
|
|
1048
1034
|
<div class="flex flex-col w-full max-w-[320px] leading-1.5">
|
|
@@ -1060,4 +1046,4 @@ This example can be used to show a URL preview with a transparent background.
|
|
|
1060
1046
|
<span class="text-sm text-body">Delivered</span>
|
|
1061
1047
|
</div>
|
|
1062
1048
|
</div>
|
|
1063
|
-
|
|
1049
|
+
```
|