flowbite-mcp 1.0.0
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/LICENSE.md +21 -0
- package/README.md +324 -0
- package/build/index.js +975 -0
- package/build/server-runner.js +228 -0
- package/data/components/accordion.md +860 -0
- package/data/components/alerts.md +739 -0
- package/data/components/avatar.md +178 -0
- package/data/components/badge.md +420 -0
- package/data/components/banner.md +145 -0
- package/data/components/bottom-navigation.md +513 -0
- package/data/components/breadcrumb.md +273 -0
- package/data/components/button-group.md +410 -0
- package/data/components/buttons.md +405 -0
- package/data/components/card.md +711 -0
- package/data/components/carousel.md +858 -0
- package/data/components/chat-bubble.md +1063 -0
- package/data/components/clipboard.md +1029 -0
- package/data/components/datepicker.md +673 -0
- package/data/components/device-mockups.md +152 -0
- package/data/components/drawer.md +1353 -0
- package/data/components/dropdowns.md +1925 -0
- package/data/components/footer.md +299 -0
- package/data/components/forms.md +371 -0
- package/data/components/gallery.md +322 -0
- package/data/components/indicators.md +262 -0
- package/data/components/jumbotron.md +213 -0
- package/data/components/kbd.md +217 -0
- package/data/components/list-group.md +365 -0
- package/data/components/mega-menu.md +558 -0
- package/data/components/modal.md +1309 -0
- package/data/components/navbar.md +1053 -0
- package/data/components/pagination.md +472 -0
- package/data/components/popover.md +826 -0
- package/data/components/progress.md +95 -0
- package/data/components/qr-code.md +280 -0
- package/data/components/rating.md +323 -0
- package/data/components/sidebar.md +1067 -0
- package/data/components/skeleton.md +221 -0
- package/data/components/speed-dial.md +1270 -0
- package/data/components/spinner.md +222 -0
- package/data/components/stepper.md +271 -0
- package/data/components/tables.md +3127 -0
- package/data/components/tabs.md +808 -0
- package/data/components/timeline.md +304 -0
- package/data/components/toast.md +341 -0
- package/data/components/tooltips.md +524 -0
- package/data/components/typography.md +269 -0
- package/data/components/video.md +95 -0
- package/data/forms/checkbox.md +375 -0
- package/data/forms/file-input.md +98 -0
- package/data/forms/floating-label.md +185 -0
- package/data/forms/input-field.md +222 -0
- package/data/forms/number-input.md +1099 -0
- package/data/forms/phone-input.md +577 -0
- package/data/forms/radio.md +315 -0
- package/data/forms/range.md +83 -0
- package/data/forms/search-input.md +280 -0
- package/data/forms/select.md +259 -0
- package/data/forms/textarea.md +155 -0
- package/data/forms/timepicker.md +732 -0
- package/data/forms/toggle.md +176 -0
- package/data/plugins/charts.md +2683 -0
- package/data/plugins/datatables.md +1922 -0
- package/data/plugins/datepicker.md +5 -0
- package/data/plugins/wysiwyg.md +2377 -0
- package/data/quickstart.md +169 -0
- package/data/theme.md +231 -0
- package/data/toc.md +79 -0
- package/data/typography/blockquote.md +182 -0
- package/data/typography/headings.md +174 -0
- package/data/typography/hr.md +74 -0
- package/data/typography/images.md +168 -0
- package/data/typography/links.md +118 -0
- package/data/typography/lists.md +387 -0
- package/data/typography/paragraphs.md +186 -0
- package/data/typography/text.md +249 -0
- package/package.json +71 -0
|
@@ -0,0 +1,387 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: docs
|
|
3
|
+
title: Tailwind CSS Lists - Flowbite
|
|
4
|
+
description: Use the list component to show an unordered or ordered list of items based on multiple styles, layouts, and variants built with Tailwind CSS and Flowbite
|
|
5
|
+
group: typography
|
|
6
|
+
toc: true
|
|
7
|
+
|
|
8
|
+
previous: Images
|
|
9
|
+
previousLink: typography/images/
|
|
10
|
+
next: Links
|
|
11
|
+
nextLink: typography/links/
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
Get started with a collection of list components built with Tailwind CSS for ordered and unordered lists with bullets, numbers, or icons and other styles and layouts to show a list of items inside an article or throughout your web page.
|
|
15
|
+
|
|
16
|
+
## Unordered list
|
|
17
|
+
|
|
18
|
+
Use this example to create a default unordered list of items using the `list-disc` class.
|
|
19
|
+
|
|
20
|
+
{{< example github="typography/lists.md" show_dark=true >}}
|
|
21
|
+
<h2 class="mb-2 text-lg font-medium text-heading">Password requirements:</h2>
|
|
22
|
+
<ul class="max-w-md space-y-1 text-body list-disc list-inside">
|
|
23
|
+
<li>
|
|
24
|
+
At least 10 characters (and up to 100 characters)
|
|
25
|
+
</li>
|
|
26
|
+
<li>
|
|
27
|
+
At least one lowercase character
|
|
28
|
+
</li>
|
|
29
|
+
<li>
|
|
30
|
+
Inclusion of at least one special character, e.g., ! @ # ?
|
|
31
|
+
</li>
|
|
32
|
+
</ul>
|
|
33
|
+
{{< /example >}}
|
|
34
|
+
|
|
35
|
+
### Icons
|
|
36
|
+
|
|
37
|
+
This example can be used to apply custom icons instead of the default bullets for the list items.
|
|
38
|
+
|
|
39
|
+
{{< example github="typography/lists.md" show_dark=true >}}
|
|
40
|
+
<h2 class="mb-2 text-lg font-medium text-heading">Password requirements:</h2>
|
|
41
|
+
<ul class="max-w-md space-y-1 text-body list-inside">
|
|
42
|
+
<li class="flex items-center">
|
|
43
|
+
<svg class="w-4 h-4 text-fg-success me-1.5 shrink-0" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"/></svg>
|
|
44
|
+
At least 10 characters
|
|
45
|
+
</li>
|
|
46
|
+
<li class="flex items-center">
|
|
47
|
+
<svg class="w-4 h-4 text-fg-success me-1.5 shrink-0" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"/></svg>
|
|
48
|
+
At least one lowercase character
|
|
49
|
+
</li>
|
|
50
|
+
<li class="flex items-center">
|
|
51
|
+
<svg class="w-4 h-4 text-body me-1.5 shrink-0" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"/></svg>
|
|
52
|
+
At least one special character, e.g., ! @ # ?
|
|
53
|
+
</li>
|
|
54
|
+
</ul>
|
|
55
|
+
{{< /example >}}
|
|
56
|
+
|
|
57
|
+
### Nested
|
|
58
|
+
|
|
59
|
+
Use this example to nested another list of items inside the parent list element.
|
|
60
|
+
|
|
61
|
+
{{< example github="typography/lists.md" show_dark=true >}}
|
|
62
|
+
<ul class="space-y-4 text-body list-disc list-inside">
|
|
63
|
+
<li>
|
|
64
|
+
List item one
|
|
65
|
+
<ol class="ps-5 mt-2 space-y-1 list-decimal list-inside">
|
|
66
|
+
<li>You might feel like you are being really "organized" o</li>
|
|
67
|
+
<li>Nested navigation in UIs is a bad idea too, keep things as flat as possible.</li>
|
|
68
|
+
<li>Nesting tons of folders in your source code is also not helpful.</li>
|
|
69
|
+
</ol>
|
|
70
|
+
</li>
|
|
71
|
+
<li>
|
|
72
|
+
List item two
|
|
73
|
+
<ul class="ps-5 mt-2 space-y-1 list-decimal list-inside">
|
|
74
|
+
<li>I'm not sure if we'll bother styling more than two levels deep.</li>
|
|
75
|
+
<li>Two is already too much, three is guaranteed to be a bad idea.</li>
|
|
76
|
+
<li>If you nest four levels deep you belong in prison.</li>
|
|
77
|
+
</ul>
|
|
78
|
+
</li>
|
|
79
|
+
<li>
|
|
80
|
+
List item three
|
|
81
|
+
<ul class="ps-5 mt-2 space-y-1 list-decimal list-inside">
|
|
82
|
+
<li>Again please don't nest lists if you want</li>
|
|
83
|
+
<li>Nobody wants to look at this.</li>
|
|
84
|
+
<li>I'm upset that we even have to bother styling this.</li>
|
|
85
|
+
</ul>
|
|
86
|
+
</li>
|
|
87
|
+
</ul>
|
|
88
|
+
{{< /example >}}
|
|
89
|
+
|
|
90
|
+
### Unstyled
|
|
91
|
+
|
|
92
|
+
Use the `list-none` class to disable the list style bullets or numbers.
|
|
93
|
+
|
|
94
|
+
{{< example github="typography/lists.md" show_dark=true >}}
|
|
95
|
+
<h2 class="mb-3 text-lg font-medium text-heading">Password requirements:</h2>
|
|
96
|
+
<ul class="max-w-md space-y-2 text-body list-none list-inside">
|
|
97
|
+
<li>
|
|
98
|
+
At least 10 characters (and up to 100 characters)
|
|
99
|
+
</li>
|
|
100
|
+
<li>
|
|
101
|
+
At least one lowercase character
|
|
102
|
+
</li>
|
|
103
|
+
<li>
|
|
104
|
+
Inclusion of at least one special character, e.g., ! @ # ?
|
|
105
|
+
</li>
|
|
106
|
+
</ul>
|
|
107
|
+
{{< /example >}}
|
|
108
|
+
|
|
109
|
+
## Ordered list
|
|
110
|
+
|
|
111
|
+
Use the `<ol>` tag to create an ordered list of items with numbers.
|
|
112
|
+
|
|
113
|
+
{{< example github="typography/lists.md" show_dark=true >}}
|
|
114
|
+
<h2 class="mb-3 text-lg font-medium text-heading">Top students:</h2>
|
|
115
|
+
<ol class="max-w-md space-y-2 text-body list-decimal list-inside">
|
|
116
|
+
<li>
|
|
117
|
+
<span class="font-medium text-heading">Bonnie Green</span> with <span class="font-medium text-heading">70</span> points
|
|
118
|
+
</li>
|
|
119
|
+
<li>
|
|
120
|
+
<span class="font-medium text-heading">Jese Leos</span> with <span class="font-medium text-heading">63</span> points
|
|
121
|
+
</li>
|
|
122
|
+
<li>
|
|
123
|
+
<span class="font-medium text-heading">Leslie Livingston</span> with <span class="font-medium text-heading">57</span> points
|
|
124
|
+
</li>
|
|
125
|
+
</ol>
|
|
126
|
+
{{< /example >}}
|
|
127
|
+
|
|
128
|
+
### Nested
|
|
129
|
+
|
|
130
|
+
This example can be used to nest multiple lists into each other.
|
|
131
|
+
|
|
132
|
+
{{< example github="typography/lists.md" show_dark=true >}}
|
|
133
|
+
<ol class="space-y-4 text-body list-decimal list-inside">
|
|
134
|
+
<li>
|
|
135
|
+
List item one
|
|
136
|
+
<ul class="ps-5 mt-2 space-y-1 list-disc list-inside">
|
|
137
|
+
<li>You might feel like you are being really "organized" o</li>
|
|
138
|
+
<li>Nested navigation in UIs is a bad idea too, keep things as flat as possible.</li>
|
|
139
|
+
<li>Nesting tons of folders in your source code is also not helpful.</li>
|
|
140
|
+
</ul>
|
|
141
|
+
</li>
|
|
142
|
+
<li>
|
|
143
|
+
List item two
|
|
144
|
+
<ul class="ps-5 mt-2 space-y-1 list-disc list-inside">
|
|
145
|
+
<li>I'm not sure if we'll bother styling more than two levels deep.</li>
|
|
146
|
+
<li>Two is already too much, three is guaranteed to be a bad idea.</li>
|
|
147
|
+
<li>If you nest four levels deep you belong in prison.</li>
|
|
148
|
+
</ul>
|
|
149
|
+
</li>
|
|
150
|
+
<li>
|
|
151
|
+
List item three
|
|
152
|
+
<ul class="ps-5 mt-2 space-y-1 list-disc list-inside">
|
|
153
|
+
<li>Again please don't nest lists if you want</li>
|
|
154
|
+
<li>Nobody wants to look at this.</li>
|
|
155
|
+
<li>I'm upset that we even have to bother styling this.</li>
|
|
156
|
+
</ul>
|
|
157
|
+
</li>
|
|
158
|
+
</ol>
|
|
159
|
+
{{< /example >}}
|
|
160
|
+
|
|
161
|
+
## Description list
|
|
162
|
+
|
|
163
|
+
Create a description list by using the `<dl>` tag and set the term and name with the following example.
|
|
164
|
+
|
|
165
|
+
{{< example github="typography/lists.md" show_dark=true >}}
|
|
166
|
+
<dl class="max-w-md text-heading divide-y divide-default">
|
|
167
|
+
<div class="flex flex-col pb-3">
|
|
168
|
+
<dt class="mb-1 text-body">Email address</dt>
|
|
169
|
+
<dd class="text-lg font-medium">yourname@flowbite.com</dd>
|
|
170
|
+
</div>
|
|
171
|
+
<div class="flex flex-col py-3">
|
|
172
|
+
<dt class="mb-1 text-body">Home address</dt>
|
|
173
|
+
<dd class="text-lg font-medium">92 Miles Drive, Newark, NJ 07103, California, USA</dd>
|
|
174
|
+
</div>
|
|
175
|
+
<div class="flex flex-col pt-3">
|
|
176
|
+
<dt class="mb-1 text-body">Phone number</dt>
|
|
177
|
+
<dd class="text-lg font-medium">+00 123 456 789 / +12 345 678</dd>
|
|
178
|
+
</div>
|
|
179
|
+
</dl>
|
|
180
|
+
{{< /example >}}
|
|
181
|
+
|
|
182
|
+
## List with icons
|
|
183
|
+
|
|
184
|
+
Use this example to create a list of items with [custom SVG icons](https://flowbite.com/icons/) instead of the default bullets.
|
|
185
|
+
|
|
186
|
+
{{< example github="typography/lists.md" show_dark=true >}}
|
|
187
|
+
<ul class="space-y-4 text-left text-body">
|
|
188
|
+
<li class="flex items-center space-x-3 rtl:space-x-reverse">
|
|
189
|
+
<svg class="w-4 h-4 text-fg-success shrink-0 me-1.5" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"/></svg>
|
|
190
|
+
<span>Individual configuration</span>
|
|
191
|
+
</li>
|
|
192
|
+
<li class="flex items-center space-x-3 rtl:space-x-reverse">
|
|
193
|
+
<svg class="w-4 h-4 text-fg-success shrink-0 me-1.5" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"/></svg>
|
|
194
|
+
<span>No setup, or hidden fees</span>
|
|
195
|
+
</li>
|
|
196
|
+
<li class="flex items-center space-x-3 rtl:space-x-reverse">
|
|
197
|
+
<svg class="w-4 h-4 text-fg-success shrink-0 me-1.5" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"/></svg>
|
|
198
|
+
<span>Team size: <span class="font-medium text-heading">1 developer</span></span>
|
|
199
|
+
</li>
|
|
200
|
+
<li class="flex items-center space-x-3 rtl:space-x-reverse">
|
|
201
|
+
<svg class="w-4 h-4 text-fg-success shrink-0 me-1.5" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"/></svg>
|
|
202
|
+
<span>Premium support: <span class="font-medium text-heading">6 months</span></span>
|
|
203
|
+
</li>
|
|
204
|
+
<li class="flex items-center space-x-3 rtl:space-x-reverse">
|
|
205
|
+
<svg class="w-4 h-4 text-fg-success shrink-0 me-1.5" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"/></svg>
|
|
206
|
+
<span>Free updates: <span class="font-medium text-heading">6 months</span></span>
|
|
207
|
+
</li>
|
|
208
|
+
</ul>
|
|
209
|
+
{{< /example >}}
|
|
210
|
+
|
|
211
|
+
## Advanced layout
|
|
212
|
+
|
|
213
|
+
This example can be used to show more details for each list item such as the user's name, email and profile picture.
|
|
214
|
+
|
|
215
|
+
{{< example github="typography/lists.md" show_dark=true >}}
|
|
216
|
+
<ul class="max-w-md divide-y divide-default">
|
|
217
|
+
<li class="pb-3 sm:pb-4">
|
|
218
|
+
<div class="flex items-center space-x-4 rtl:space-x-reverse">
|
|
219
|
+
<div class="shrink-0">
|
|
220
|
+
<img class="w-8 h-8 rounded-full" src="/docs/images/people/profile-picture-1.jpg" alt="Neil image">
|
|
221
|
+
</div>
|
|
222
|
+
<div class="flex-1 min-w-0">
|
|
223
|
+
<p class="text-sm font-medium text-heading truncate">
|
|
224
|
+
Neil Sims
|
|
225
|
+
</p>
|
|
226
|
+
<p class="text-sm text-body truncate">
|
|
227
|
+
email@flowbite.com
|
|
228
|
+
</p>
|
|
229
|
+
</div>
|
|
230
|
+
<div class="inline-flex items-center text-base font-semibold text-heading">
|
|
231
|
+
$320
|
|
232
|
+
</div>
|
|
233
|
+
</div>
|
|
234
|
+
</li>
|
|
235
|
+
<li class="py-3 sm:py-4">
|
|
236
|
+
<div class="flex items-center space-x-4 rtl:space-x-reverse">
|
|
237
|
+
<div class="shrink-0">
|
|
238
|
+
<img class="w-8 h-8 rounded-full" src="/docs/images/people/profile-picture-3.jpg" alt="Neil image">
|
|
239
|
+
</div>
|
|
240
|
+
<div class="flex-1 min-w-0">
|
|
241
|
+
<p class="text-sm font-medium text-heading truncate">
|
|
242
|
+
Bonnie Green
|
|
243
|
+
</p>
|
|
244
|
+
<p class="text-sm text-body truncate">
|
|
245
|
+
email@flowbite.com
|
|
246
|
+
</p>
|
|
247
|
+
</div>
|
|
248
|
+
<div class="inline-flex items-center text-base font-semibold text-heading">
|
|
249
|
+
$3467
|
|
250
|
+
</div>
|
|
251
|
+
</div>
|
|
252
|
+
</li>
|
|
253
|
+
<li class="py-3 sm:py-4">
|
|
254
|
+
<div class="flex items-center space-x-4 rtl:space-x-reverse">
|
|
255
|
+
<div class="shrink-0">
|
|
256
|
+
<img class="w-8 h-8 rounded-full" src="/docs/images/people/profile-picture-2.jpg" alt="Neil image">
|
|
257
|
+
</div>
|
|
258
|
+
<div class="flex-1 min-w-0">
|
|
259
|
+
<p class="text-sm font-medium text-heading truncate">
|
|
260
|
+
Michael Gough
|
|
261
|
+
</p>
|
|
262
|
+
<p class="text-sm text-body truncate">
|
|
263
|
+
email@flowbite.com
|
|
264
|
+
</p>
|
|
265
|
+
</div>
|
|
266
|
+
<div class="inline-flex items-center text-base font-semibold text-heading">
|
|
267
|
+
$67
|
|
268
|
+
</div>
|
|
269
|
+
</div>
|
|
270
|
+
</li>
|
|
271
|
+
<li class="py-3 sm:py-4">
|
|
272
|
+
<div class="flex items-center space-x-4 rtl:space-x-reverse">
|
|
273
|
+
<div class="shrink-0">
|
|
274
|
+
<img class="w-8 h-8 rounded-full" src="/docs/images/people/profile-picture-5.jpg" alt="Neil image">
|
|
275
|
+
</div>
|
|
276
|
+
<div class="flex-1 min-w-0">
|
|
277
|
+
<p class="text-sm font-medium text-heading truncate">
|
|
278
|
+
Thomas Lean
|
|
279
|
+
</p>
|
|
280
|
+
<p class="text-sm text-body truncate">
|
|
281
|
+
email@flowbite.com
|
|
282
|
+
</p>
|
|
283
|
+
</div>
|
|
284
|
+
<div class="inline-flex items-center text-base font-semibold text-heading">
|
|
285
|
+
$2367
|
|
286
|
+
</div>
|
|
287
|
+
</div>
|
|
288
|
+
</li>
|
|
289
|
+
<li class="pt-3 pb-0 sm:pt-4">
|
|
290
|
+
<div class="flex items-center space-x-4 rtl:space-x-reverse">
|
|
291
|
+
<div class="shrink-0">
|
|
292
|
+
<img class="w-8 h-8 rounded-full" src="/docs/images/people/profile-picture-4.jpg" alt="Neil image">
|
|
293
|
+
</div>
|
|
294
|
+
<div class="flex-1 min-w-0">
|
|
295
|
+
<p class="text-sm font-medium text-heading truncate">
|
|
296
|
+
Lana Byrd
|
|
297
|
+
</p>
|
|
298
|
+
<p class="text-sm text-body truncate">
|
|
299
|
+
email@flowbite.com
|
|
300
|
+
</p>
|
|
301
|
+
</div>
|
|
302
|
+
<div class="inline-flex items-center text-base font-semibold text-heading">
|
|
303
|
+
$367
|
|
304
|
+
</div>
|
|
305
|
+
</div>
|
|
306
|
+
</li>
|
|
307
|
+
</ul>
|
|
308
|
+
{{< /example >}}
|
|
309
|
+
|
|
310
|
+
## Features list card
|
|
311
|
+
|
|
312
|
+
Use this example to show a list of features inside a card component.
|
|
313
|
+
|
|
314
|
+
{{< example github="typography/lists.md" show_dark=true >}}
|
|
315
|
+
|
|
316
|
+
<div class="w-full max-w-sm p-6 bg-neutral-primary-soft border border-default rounded-base shadow-xs mx-auto">
|
|
317
|
+
<h5 class="mb-4 text-xl font-medium text-body">Standard plan</h5>
|
|
318
|
+
<div class="flex items-baseline text-heading">
|
|
319
|
+
<span class="text-5xl font-extrabold tracking-tight">$49</span>
|
|
320
|
+
<span class="ms-2 font-medium text-body">/month</span>
|
|
321
|
+
</div>
|
|
322
|
+
<ul role="list" class="space-y-4 my-6">
|
|
323
|
+
<li class="flex items-center">
|
|
324
|
+
<svg class="w-5 h-5 shrink-0 text-fg-brand me-1.5" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"/></svg>
|
|
325
|
+
<span class="text-body">2 team members</span>
|
|
326
|
+
</li>
|
|
327
|
+
<li class="flex items-center">
|
|
328
|
+
<svg class="w-5 h-5 shrink-0 text-fg-brand me-1.5" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"/></svg>
|
|
329
|
+
<span class="text-body">20GB Cloud storage</span>
|
|
330
|
+
</li>
|
|
331
|
+
<li class="flex items-center">
|
|
332
|
+
<svg class="w-5 h-5 shrink-0 text-fg-brand me-1.5" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"/></svg>
|
|
333
|
+
<span class="text-body">Integration help</span>
|
|
334
|
+
</li>
|
|
335
|
+
<li class="flex items-center line-through decoration-body">
|
|
336
|
+
<svg class="w-5 h-5 shrink-0 text-fg-brand me-1.5" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"/></svg>
|
|
337
|
+
<span class="text-body">Sketch Files</span>
|
|
338
|
+
</li>
|
|
339
|
+
<li class="flex items-center line-through decoration-body">
|
|
340
|
+
<svg class="w-5 h-5 shrink-0 text-fg-brand me-1.5" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"/></svg>
|
|
341
|
+
<span class="text-body">API Access</span>
|
|
342
|
+
</li>
|
|
343
|
+
<li class="flex items-center line-through decoration-body">
|
|
344
|
+
<svg class="w-5 h-5 shrink-0 text-fg-brand me-1.5" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"/></svg>
|
|
345
|
+
<span class="text-body">Complete documentation</span>
|
|
346
|
+
</li>
|
|
347
|
+
<li class="flex items-center line-through decoration-body">
|
|
348
|
+
<svg class="w-5 h-5 shrink-0 text-fg-brand me-1.5" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"/></svg>
|
|
349
|
+
<span class="text-body">24×7 phone & email support</span>
|
|
350
|
+
</li>
|
|
351
|
+
</ul>
|
|
352
|
+
<button type="button" class="w-full text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none">Choose plan</button>
|
|
353
|
+
</div>
|
|
354
|
+
|
|
355
|
+
{{< /example >}}
|
|
356
|
+
|
|
357
|
+
## Horizontal list
|
|
358
|
+
|
|
359
|
+
Use this example to create a horizontally aligned list of items.
|
|
360
|
+
|
|
361
|
+
{{< example github="typography/lists.md" show_dark=true >}}
|
|
362
|
+
<ul class="flex flex-wrap items-center justify-center text-heading">
|
|
363
|
+
<li>
|
|
364
|
+
<a href="#" class="me-4 hover:underline md:me-6 ">About</a>
|
|
365
|
+
</li>
|
|
366
|
+
<li>
|
|
367
|
+
<a href="#" class="me-4 hover:underline md:me-6">Premium</a>
|
|
368
|
+
</li>
|
|
369
|
+
<li>
|
|
370
|
+
<a href="#" class="me-4 hover:underline md:me-6 ">Campaigns</a>
|
|
371
|
+
</li>
|
|
372
|
+
<li>
|
|
373
|
+
<a href="#" class="me-4 hover:underline md:me-6">Blog</a>
|
|
374
|
+
</li>
|
|
375
|
+
<li>
|
|
376
|
+
<a href="#" class="me-4 hover:underline md:me-6">Affiliate Program</a>
|
|
377
|
+
</li>
|
|
378
|
+
<li>
|
|
379
|
+
<a href="#" class="me-4 hover:underline md:me-6">FAQs</a>
|
|
380
|
+
</li>
|
|
381
|
+
<li>
|
|
382
|
+
<a href="#" class="me-4 hover:underline md:me-6">Contact</a>
|
|
383
|
+
</li>
|
|
384
|
+
</ul>
|
|
385
|
+
{{< /example >}}
|
|
386
|
+
|
|
387
|
+
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: docs
|
|
3
|
+
title: Tailwind CSS Paragraphs - Flowbite
|
|
4
|
+
description: Use the paragraph component to create multiple blocks of text separated by blank lines and write content based on multiple layouts and styles based on Tailwind CSS
|
|
5
|
+
group: typography
|
|
6
|
+
toc: true
|
|
7
|
+
|
|
8
|
+
previous: Headings
|
|
9
|
+
previousLink: typography/headings/
|
|
10
|
+
next: Blockquote
|
|
11
|
+
nextLink: typography/blockquote/
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
The paragraph element is one of the most commonly used HTML tags on a document page because it is used to write longer blocks of text separated by a blank line and can massively improve the on-page SEO of the page when used correctly.
|
|
15
|
+
|
|
16
|
+
Get started with a collection of paragraph components based on multiple styles, layouts, colors and sizes to use for your website built with the utility classes from Tailwind CSS.
|
|
17
|
+
|
|
18
|
+
## Default paragraph
|
|
19
|
+
|
|
20
|
+
Use this example of a paragraph element to use inside article content or a landing page.
|
|
21
|
+
|
|
22
|
+
{{< example github="typography/paragraphs.md" show_dark=true >}}
|
|
23
|
+
<p class="mb-3 text-body">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
24
|
+
<p class="text-body">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>
|
|
25
|
+
{{< /example >}}
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
## Leading paragraph
|
|
29
|
+
|
|
30
|
+
The leading text can be used as the first paragraph inside an article content page.
|
|
31
|
+
|
|
32
|
+
{{< example github="typography/paragraphs.md" show_dark=true >}}
|
|
33
|
+
<p class="mb-3 text-lg text-body md:text-xl">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work and deploy.</p>
|
|
34
|
+
<p class="text-body">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
35
|
+
{{< /example >}}
|
|
36
|
+
|
|
37
|
+
## First letter
|
|
38
|
+
|
|
39
|
+
Use this example to highlight the first letter of the paragraph, often used in e-books and PDF documents.
|
|
40
|
+
|
|
41
|
+
{{< example github="typography/paragraphs.md" show_dark=true >}}
|
|
42
|
+
<p class="mb-3 text-body first-line:uppercase first-line:tracking-widest first-letter:text-7xl first-letter:font-bold first-letter:text-heading first-letter:me-3 first-letter:float-start">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
43
|
+
<p class="text-body">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>
|
|
44
|
+
{{< /example >}}
|
|
45
|
+
|
|
46
|
+
## Paragraph link
|
|
47
|
+
|
|
48
|
+
This example can be used to add a custom styled link element inside the paragraph.
|
|
49
|
+
|
|
50
|
+
{{< example github="typography/paragraphs.md" show_dark=true >}}
|
|
51
|
+
<p class="mb-3 text-body">Track work across the enterprise through an open, collaborative platform. <a href="#" class="font-medium text-fg-brand underline hover:no-underline">Link issues across Jira</a> and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
52
|
+
{{< /example >}}
|
|
53
|
+
|
|
54
|
+
## Paragraph bold
|
|
55
|
+
|
|
56
|
+
Use this example to highlight a piece of text inside the paragraph by using a bolder font weight.
|
|
57
|
+
|
|
58
|
+
{{< example github="typography/paragraphs.md" show_dark=true >}}
|
|
59
|
+
<p class="mb-3 text-body">Track work across the enterprise through an open, collaborative platform. <strong class="font-semibold text-heading">Link issues across Jira</strong> and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
60
|
+
{{< /example >}}
|
|
61
|
+
|
|
62
|
+
## Paragraph underline
|
|
63
|
+
|
|
64
|
+
This example can be used to underline a certain part of the text inside the paragraph.
|
|
65
|
+
|
|
66
|
+
{{< example github="typography/paragraphs.md" show_dark=true >}}
|
|
67
|
+
<p class="mb-3 text-body">Track work across the enterprise through an open, collaborative platform. <u class="underline">Link issues across Jira</u> and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
68
|
+
{{< /example >}}
|
|
69
|
+
|
|
70
|
+
## Paragraph italic
|
|
71
|
+
|
|
72
|
+
Use this example to make the font style of the text inside the paragraph italic.
|
|
73
|
+
|
|
74
|
+
{{< example github="typography/paragraphs.md" show_dark=true >}}
|
|
75
|
+
<p class="mb-3 text-body">Track work across the enterprise through an open, collaborative platform. <em class="font-italic">Link issues across Jira</em> and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
76
|
+
{{< /example >}}
|
|
77
|
+
|
|
78
|
+
## Paragraph popover
|
|
79
|
+
|
|
80
|
+
Get started with this example to show a popover with extra information inside paragraph elements.
|
|
81
|
+
|
|
82
|
+
{{< example class="pt-60" github="typography/paragraphs.md" show_dark=true >}}
|
|
83
|
+
<p class="text-body">Due to its central geographic location in Southern Europe, <a href="#" class="text-fg-brand font-medium underline hover:no-underline" data-popover-target="popover-image">Italy</a> has historically been home to myriad peoples and cultures. In addition to the various ancient peoples dispersed throughout what is now modern-day Italy, the most predominant being the Indo-European Italic peoples who gave the peninsula its name, beginning from the classical era, Phoenicians and Carthaginians founded colonies mostly in insular Italy</p>
|
|
84
|
+
<div data-popover id="popover-image" role="tooltip" class="absolute z-10 p-3 invisible inline-block text-sm text-body transition-opacity duration-300 bg-neutral-primary-soft border border-default rounded-lg shadow-xs opacity-0 w-96">
|
|
85
|
+
<div class="grid grid-cols-5">
|
|
86
|
+
<div class="col-span-3 pe-3">
|
|
87
|
+
<div class="space-y-2">
|
|
88
|
+
<h3 class="font-semibold text-heading">About Italy</h3>
|
|
89
|
+
<p class="mb-2">Italy is located in the middle of the Mediterranean Sea, in Southern Europe it is also part of Western Europe.</p>
|
|
90
|
+
<p>A unitary parliamentary republic with Rome as its capital and largest city.</p>
|
|
91
|
+
<a href="#" class="flex items-center font-medium text-fg-brand hover:underline">
|
|
92
|
+
Read more
|
|
93
|
+
<svg class="w-4 h-4 ms-1 rtl:rotate-180" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 12H5m14 0-4 4m4-4-4-4"/></svg>
|
|
94
|
+
</a>
|
|
95
|
+
</div>
|
|
96
|
+
</div>
|
|
97
|
+
<img src="/docs/images/popovers/italy.png" class="h-full col-span-2 rounded" alt="Italy map" />
|
|
98
|
+
</div>
|
|
99
|
+
<div data-popper-arrow></div>
|
|
100
|
+
</div>
|
|
101
|
+
|
|
102
|
+
{{< /example >}}
|
|
103
|
+
|
|
104
|
+
## Layout
|
|
105
|
+
|
|
106
|
+
Get started with examples of layouts for the paragraph component to separate content into multiple rows and columns.
|
|
107
|
+
|
|
108
|
+
### One column
|
|
109
|
+
|
|
110
|
+
Use this example to show multiple paragraphs on a single line.
|
|
111
|
+
|
|
112
|
+
{{< example github="typography/paragraphs.md" show_dark=true >}}
|
|
113
|
+
<p class="mb-3 text-body">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
114
|
+
<p class="mb-3 text-body">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>
|
|
115
|
+
{{< /example >}}
|
|
116
|
+
|
|
117
|
+
### Two columns even
|
|
118
|
+
|
|
119
|
+
Use this example to separate paragraphs into two columns for better readability.
|
|
120
|
+
|
|
121
|
+
{{< example github="typography/paragraphs.md" show_dark=true >}}
|
|
122
|
+
<p class="mb-3 text-body">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
123
|
+
<div class="grid grid-cols-1 gap-6 sm:grid-cols-2">
|
|
124
|
+
<p class="mb-3 text-body">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
125
|
+
<p class="mb-3 text-body">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>
|
|
126
|
+
</div>
|
|
127
|
+
<p class="mb-3 text-body">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>
|
|
128
|
+
{{< /example >}}
|
|
129
|
+
|
|
130
|
+
### Three columns even
|
|
131
|
+
|
|
132
|
+
This example can be used to separate paragraphs into three separate columns.
|
|
133
|
+
|
|
134
|
+
{{< example github="typography/paragraphs.md" show_dark=true >}}
|
|
135
|
+
<p class="mb-3 text-body">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
136
|
+
<div class="grid grid-cols-1 gap-6 sm:grid-cols-3">
|
|
137
|
+
<p class="mb-3 text-body">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
138
|
+
<p class="mb-3 text-body">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>
|
|
139
|
+
<p class="mb-3 text-body">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>
|
|
140
|
+
</div>
|
|
141
|
+
<p class="mb-3 text-body">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>
|
|
142
|
+
{{< /example >}}
|
|
143
|
+
|
|
144
|
+
### Two columns uneven
|
|
145
|
+
|
|
146
|
+
Use this example to separate paragraphs into two uneven columns.
|
|
147
|
+
|
|
148
|
+
{{< example github="typography/paragraphs.md" show_dark=true >}}
|
|
149
|
+
<p class="mb-3 text-body">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
150
|
+
<div class="grid grid-cols-1 gap-6 sm:grid-cols-3">
|
|
151
|
+
<div class="col-span-2">
|
|
152
|
+
<p class="mb-3 text-body">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
153
|
+
<p class="mb-3 text-body">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>
|
|
154
|
+
</div>
|
|
155
|
+
<p class="mb-3 text-body">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
156
|
+
</div>
|
|
157
|
+
<p class="mb-3 text-body">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>
|
|
158
|
+
{{< /example >}}
|
|
159
|
+
|
|
160
|
+
## Text alignment
|
|
161
|
+
|
|
162
|
+
Align the paragraph component to the left (default), center or right side of the document page using the `text-{left|center|right}` utility class from Tailwind CSS.
|
|
163
|
+
|
|
164
|
+
### Left
|
|
165
|
+
|
|
166
|
+
The default alignment of the paragraph is to the left side and you can use the `text-left` class to align it manually.
|
|
167
|
+
|
|
168
|
+
{{< example github="typography/paragraphs.md" show_dark=true >}}
|
|
169
|
+
<p class="mb-3 text-left rtl:text-right text-body">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
170
|
+
{{< /example >}}
|
|
171
|
+
|
|
172
|
+
### Center
|
|
173
|
+
|
|
174
|
+
Use the `text-center` class to align the paragraph text to the center.
|
|
175
|
+
|
|
176
|
+
{{< example github="typography/paragraphs.md" show_dark=true >}}
|
|
177
|
+
<p class="mb-3 text-center text-body">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
178
|
+
{{< /example >}}
|
|
179
|
+
|
|
180
|
+
### Right
|
|
181
|
+
|
|
182
|
+
Use the `text-right` utility class to align the paragraph text the right side of the page.
|
|
183
|
+
|
|
184
|
+
{{< example github="typography/paragraphs.md" show_dark=true >}}
|
|
185
|
+
<p class="mb-3 text-right rtl:text-left text-body">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
186
|
+
{{< /example >}}
|