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.
Files changed (77) hide show
  1. package/LICENSE.md +21 -0
  2. package/README.md +324 -0
  3. package/build/index.js +975 -0
  4. package/build/server-runner.js +228 -0
  5. package/data/components/accordion.md +860 -0
  6. package/data/components/alerts.md +739 -0
  7. package/data/components/avatar.md +178 -0
  8. package/data/components/badge.md +420 -0
  9. package/data/components/banner.md +145 -0
  10. package/data/components/bottom-navigation.md +513 -0
  11. package/data/components/breadcrumb.md +273 -0
  12. package/data/components/button-group.md +410 -0
  13. package/data/components/buttons.md +405 -0
  14. package/data/components/card.md +711 -0
  15. package/data/components/carousel.md +858 -0
  16. package/data/components/chat-bubble.md +1063 -0
  17. package/data/components/clipboard.md +1029 -0
  18. package/data/components/datepicker.md +673 -0
  19. package/data/components/device-mockups.md +152 -0
  20. package/data/components/drawer.md +1353 -0
  21. package/data/components/dropdowns.md +1925 -0
  22. package/data/components/footer.md +299 -0
  23. package/data/components/forms.md +371 -0
  24. package/data/components/gallery.md +322 -0
  25. package/data/components/indicators.md +262 -0
  26. package/data/components/jumbotron.md +213 -0
  27. package/data/components/kbd.md +217 -0
  28. package/data/components/list-group.md +365 -0
  29. package/data/components/mega-menu.md +558 -0
  30. package/data/components/modal.md +1309 -0
  31. package/data/components/navbar.md +1053 -0
  32. package/data/components/pagination.md +472 -0
  33. package/data/components/popover.md +826 -0
  34. package/data/components/progress.md +95 -0
  35. package/data/components/qr-code.md +280 -0
  36. package/data/components/rating.md +323 -0
  37. package/data/components/sidebar.md +1067 -0
  38. package/data/components/skeleton.md +221 -0
  39. package/data/components/speed-dial.md +1270 -0
  40. package/data/components/spinner.md +222 -0
  41. package/data/components/stepper.md +271 -0
  42. package/data/components/tables.md +3127 -0
  43. package/data/components/tabs.md +808 -0
  44. package/data/components/timeline.md +304 -0
  45. package/data/components/toast.md +341 -0
  46. package/data/components/tooltips.md +524 -0
  47. package/data/components/typography.md +269 -0
  48. package/data/components/video.md +95 -0
  49. package/data/forms/checkbox.md +375 -0
  50. package/data/forms/file-input.md +98 -0
  51. package/data/forms/floating-label.md +185 -0
  52. package/data/forms/input-field.md +222 -0
  53. package/data/forms/number-input.md +1099 -0
  54. package/data/forms/phone-input.md +577 -0
  55. package/data/forms/radio.md +315 -0
  56. package/data/forms/range.md +83 -0
  57. package/data/forms/search-input.md +280 -0
  58. package/data/forms/select.md +259 -0
  59. package/data/forms/textarea.md +155 -0
  60. package/data/forms/timepicker.md +732 -0
  61. package/data/forms/toggle.md +176 -0
  62. package/data/plugins/charts.md +2683 -0
  63. package/data/plugins/datatables.md +1922 -0
  64. package/data/plugins/datepicker.md +5 -0
  65. package/data/plugins/wysiwyg.md +2377 -0
  66. package/data/quickstart.md +169 -0
  67. package/data/theme.md +231 -0
  68. package/data/toc.md +79 -0
  69. package/data/typography/blockquote.md +182 -0
  70. package/data/typography/headings.md +174 -0
  71. package/data/typography/hr.md +74 -0
  72. package/data/typography/images.md +168 -0
  73. package/data/typography/links.md +118 -0
  74. package/data/typography/lists.md +387 -0
  75. package/data/typography/paragraphs.md +186 -0
  76. package/data/typography/text.md +249 -0
  77. package/package.json +71 -0
@@ -0,0 +1,174 @@
1
+ ---
2
+ layout: docs
3
+ title: Tailwind CSS Headings - Flowbite
4
+ description: The heading component defines six levels of title elements from H1 to H6 that are used as titles and subtitles on a web page based on multiple styles and layouts
5
+ group: typography
6
+ toc: true
7
+
8
+ previous: Floating label
9
+ previousLink: forms/floating-label/
10
+ next: Paragraphs
11
+ nextLink: typography/paragraphs/
12
+ ---
13
+
14
+ Get started with the heading component to define titles and subtitles on a web page and also improve the on-page SEO metrics of your website by targeting high-traffic keywords on Google.
15
+
16
+ At least one unique H1 tag should be available for each page on your website with the next tags starting from H2 to H6 for each section. Choose from a collection of custom heading components based on multiple styles and layouts built with the utility classes from Tailwind CSS.
17
+
18
+ ## Default heading
19
+
20
+ Use this example of a H1 heading in the context of a paragraph and CTA button for landing pages.
21
+
22
+ {{< example class="text-center py-16" github="typography/headings.md" show_dark=true >}}
23
+ <h1 class="mb-4 text-4xl font-bold tracking-tight text-heading md:text-5xl lg:text-6xl">We invest in the world’s potential</h1>
24
+ <p class="mb-6 text-lg font-normal text-body lg:text-xl sm:px-16 xl:px-48">Here at Flowbite we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth.</p>
25
+ <a href="#" class="inline-flex items-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-base px-5 py-3 focus:outline-none">Learn more</a>
26
+ {{< /example >}}
27
+
28
+ ## Second-level heading
29
+
30
+ Use this example of a second-level H2 heading as the main subtitle for each section of your web page.
31
+
32
+ {{< example class="py-16" github="typography/headings.md" show_dark=true >}}
33
+ <h2 class="text-4xl font-bold">Payments tool for companies</h2>
34
+ <p class="my-4 text-lg text-body">Start developing with an open-source library of over 450+ UI components, sections, and pages built with the utility classes from Tailwind CSS and designed in Figma.</p>
35
+ <p class="mb-4 text-lg font-normal 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.</p>
36
+ <a href="#" class="inline-flex items-center text-lg font-medium text-fg-brand hover:underline">
37
+ Read more
38
+ <svg class="w-5 h-5 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>
39
+ </a>
40
+ {{< /example >}}
41
+
42
+ ## Highlighted heading
43
+
44
+ Use this example to highlight a certain portion of the heading text with a different color.
45
+
46
+ {{< example class="py-16" github="typography/headings.md" show_dark=true >}}
47
+ <h1 class="mb-4 text-4xl font-bold tracking-tight text-heading md:text-5xl lg:text-6xl">Get back to growth with <span class="text-fg-brand">the world's #1</span> CRM.</h1>
48
+ <p class="text-lg font-normal text-body lg:text-xl">Here at Flowbite we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth.</p>
49
+ {{< /example >}}
50
+
51
+ ## Heading mark
52
+
53
+ This example can be used to mark one part of the heading text with a solid background for highlighting.
54
+
55
+ {{< example class="py-16" github="typography/headings.md" show_dark=true >}}
56
+ <h1 class="mb-4 text-4xl font-bold tracking-tight text-heading md:text-5xl lg:text-6xl">Regain <mark class="px-2 pb-0.5 text-white bg-brand rounded-base">control</mark> over your days</h1>
57
+ <p class="text-lg font-normal text-body lg:text-xl">Here at Flowbite we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth.</p>
58
+ {{< /example >}}
59
+
60
+ ## Heading gradient
61
+
62
+ Use this example to highlight a portion of the heading text by using a gradient style.
63
+
64
+ {{< example class="py-16" github="typography/headings.md" show_dark=true >}}
65
+ <h1 class="mb-4 text-3xl font-bold text-heading md:text-5xl lg:text-6xl"><span class="text-transparent bg-clip-text bg-gradient-to-r to-emerald-600 from-sky-400">Better Data</span> Scalable AI.</h1>
66
+ <p class="text-lg font-normal text-body lg:text-xl">Here at Flowbite we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth.</p>
67
+ {{< /example >}}
68
+
69
+ ## Heading underline
70
+
71
+ Get started with this example to underline an important part of the heading component using the offset feature from Tailwind CSS.
72
+
73
+ {{< example class="py-16" github="typography/headings.md" show_dark=true >}}
74
+ <h1 class="mb-4 text-4xl font-bold tracking-tight text-heading md:text-5xl lg:text-6xl">We invest in the <span class="underline underline-offset-3 decoration-8 decoration-brand">world’s potential</span></h1>
75
+ <p class="text-lg font-normal text-body lg:text-xl">Here at Flowbite we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth.</p>
76
+ {{< /example >}}
77
+
78
+ ## Breadcrumb context
79
+
80
+ Get started with this example to position a breadcrumb component above the H1 heading component.
81
+
82
+ {{< example class="py-8" github="typography/headings.md" show_dark=true >}}
83
+ <nav class="flex mb-2.5" aria-label="Breadcrumb">
84
+ <ol class="inline-flex items-center space-x-1 md:space-x-2 rtl:space-x-reverse">
85
+ <li class="inline-flex items-center">
86
+ <a href="#" class="inline-flex items-center text-sm font-medium text-body hover:text-fg-brand">
87
+ <svg class="w-4 h-4 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="m4 12 8-8 8 8M6 10.5V19a1 1 0 0 0 1 1h3v-3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3h3a1 1 0 0 0 1-1v-8.5"/></svg>
88
+ Home
89
+ </a>
90
+ </li>
91
+ <li>
92
+ <div class="flex items-center space-x-1.5">
93
+ <svg class="w-3.5 h-3.5 rtl:rotate-180 text-body" 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="m9 5 7 7-7 7"/></svg>
94
+ <a href="#" class="inline-flex items-center text-sm font-medium text-body hover:text-fg-brand">Projects</a>
95
+ </div>
96
+ </li>
97
+ <li aria-current="page">
98
+ <div class="flex items-center space-x-1.5">
99
+ <svg class="w-3.5 h-3.5 rtl:rotate-180 text-body" 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="m9 5 7 7-7 7"/></svg>
100
+ <span class="inline-flex items-center text-sm font-medium text-body-subtle">Flowbite</span>
101
+ </div>
102
+ </li>
103
+ </ol>
104
+ </nav>
105
+ <h2 class="text-3xl font-bold tracking-tight text-heading md:text-4xl">Team management</h2>
106
+ {{< /example >}}
107
+
108
+ ## Badge context
109
+
110
+ Use this example to show a badge component inside the heading text element as a secondary indicator.
111
+
112
+ {{< example github="typography/headings.md" show_dark=true >}}
113
+ <h1 class="text-heading flex items-center text-5xl font-bold tracking-tight">Flowbite <span class="inline-flex ms-3 px-2 py-1 ring-1 ring-inset ring-brand-subtle text-fg-brand-strong text-sm font-medium rounded bg-brand-softer">PRO</span></h1>
114
+ {{< /example >}}
115
+
116
+ ## Secondary text
117
+
118
+ This example can be used to add a secondary text inside the main heading component.
119
+
120
+ {{< example github="typography/headings.md" show_dark=true >}}
121
+ <h1 class="text-5xl font-bold text-heading">Flowbite<small class="ms-2 font-medium text-body">This is secondary text</small></h1>
122
+ {{< /example >}}
123
+
124
+ ## Sizes
125
+
126
+ The heading component has six levels of importance starting from H1 which has to be unique on the page and has the greatest weight of importance all the way to H6.
127
+
128
+ ### Heading one (H1)
129
+
130
+ Use the H1 tag as the most important text element to indicate the title of your web page.
131
+
132
+ {{< example github="typography/headings.md" show_dark=true >}}
133
+ <h1 class="text-5xl font-bold text-heading">Heading 1</h1>
134
+ {{< /example >}}
135
+
136
+ ### Heading two (H2)
137
+
138
+ The H2 tag can be used as subtitles of the page's sections.
139
+
140
+ {{< example github="typography/headings.md" show_dark=true >}}
141
+ <h2 class="text-4xl font-bold text-heading">Heading 2</h2>
142
+ {{< /example >}}
143
+
144
+ ### Heading three (H3)
145
+
146
+ Use the H3 tags inside sections that already have a H2 available.
147
+
148
+ {{< example github="typography/headings.md" show_dark=true >}}
149
+ <h3 class="text-3xl font-bold text-heading">Heading 3</h3>
150
+ {{< /example >}}
151
+
152
+ ### Heading four (H4)
153
+
154
+ The H4 can be generally used after H2 and H3 tags are already present and you need a more in-depth hierarchy.
155
+
156
+ {{< example github="typography/headings.md" show_dark=true >}}
157
+ <h4 class="text-2xl font-bold text-heading">Heading 4</h4>
158
+ {{< /example >}}
159
+
160
+ ### Heading five (H5)
161
+
162
+ The H5 tag is most often used in longer articles with other heading already available or in sidebars.
163
+
164
+ {{< example github="typography/headings.md" show_dark=true >}}
165
+ <h5 class="text-xl font-bold text-heading">Heading 5</h5>
166
+ {{< /example >}}
167
+
168
+ ### Heading six (H6)
169
+
170
+ Using the H6 tag is quite rare because it means that you've already used all heading from H1 to H5, but you can still use it if you have a very complex article with lots of headings.
171
+
172
+ {{< example github="typography/headings.md" show_dark=true >}}
173
+ <h6 class="text-lg font-bold text-heading">Heading 6</h6>
174
+ {{< /example >}}
@@ -0,0 +1,74 @@
1
+ ---
2
+ layout: docs
3
+ title: Tailwind CSS Horizontal Line (HR) - Flowbite
4
+ description: Create a horizontal line using the HR tag to separate content such as paragraphs, blockquotes, and other elements using the utility classes from Tailwind CSS
5
+ group: typography
6
+ toc: true
7
+
8
+ previous: Text
9
+ previousLink: typography/text/
10
+ next: Charts
11
+ nextLink: plugins/charts/
12
+ ---
13
+
14
+ The HR component can be used to separate content using a horizontal line by adding space between elements based on multiple styles, variants, and layouts.
15
+
16
+ ## Default HR
17
+
18
+ Use this example to separate text content with a `<hr>` horizontal line.
19
+
20
+ {{< example github="typography/hr.md" show_dark=true >}}
21
+ <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>
22
+ <hr class="h-px my-8 bg-neutral-quaternary border-0">
23
+ <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>
24
+ {{< /example >}}
25
+
26
+ ## Trimmed
27
+
28
+ Use this example to show a shorter version of the horizontal line.
29
+
30
+ {{< example github="typography/hr.md" show_dark=true >}}
31
+ <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>
32
+ <hr class="w-48 h-1 mx-auto my-4 bg-neutral-quaternary border-0 rounded-sm md:my-10">
33
+ <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>
34
+ {{< /example >}}
35
+
36
+ ## Icon HR
37
+
38
+ This example can be used to set a custom [SVG icon](https://flowbite.com/icons/) in the middle of the HR element.
39
+
40
+ {{< example class="text-center" github="typography/hr.md" show_dark=true >}}
41
+ <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>
42
+ <div class="inline-flex items-center justify-center w-full">
43
+ <hr class="w-64 h-1 my-8 bg-neutral-quaternary border-0 rounded-sm">
44
+ <div class="absolute px-4 -translate-x-1/2 bg-neutral-primary left-1/2">
45
+ <svg class="w-6 h-6 text-body" 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="M10 11V8a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1Zm0 0v2a4 4 0 0 1-4 4H5m14-6V8a1 1 0 0 0-1-1h-3a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1Zm0 0v2a4 4 0 0 1-4 4h-1"/></svg>
46
+ </div>
47
+ </div>
48
+ <p class="text-body">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil.</p>
49
+ {{< /example >}}
50
+
51
+ ## HR with text
52
+
53
+ Use this example to add a text in the middle of the HR component.
54
+
55
+ {{< example class="text-center" github="typography/hr.md" show_dark=true >}}
56
+ <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>
57
+ <div class="inline-flex items-center justify-center w-full">
58
+ <hr class="w-64 h-px my-8 bg-neutral-quaternary border-0">
59
+ <span class="absolute px-3 font-medium text-heading -translate-x-1/2 bg-neutral-primary left-1/2">or</span>
60
+ </div>
61
+ <p class="text-body">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil.</p>
62
+ {{< /example >}}
63
+
64
+ ## HR shape
65
+
66
+ This example can be used to separate content with a HR tag as a shape instead of a line.
67
+
68
+ {{< example github="typography/hr.md" show_dark=true >}}
69
+ <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>
70
+ <hr class="w-8 h-8 mx-auto my-8 bg-neutral-quaternary border-0 rounded-sm md:my-12">
71
+ <blockquote class="text-xl italic font-semibold text-center text-heading">
72
+ <p>"Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to complex dashboard. Perfect choice for your next SaaS application."</p>
73
+ </blockquote>
74
+ {{< /example >}}
@@ -0,0 +1,168 @@
1
+ ---
2
+ layout: docs
3
+ title: Tailwind CSS Images - Flowbite
4
+ description: The image component can be used to embed images inside the web page in articles and sections based on multiple styles, sizes, layouts and hover animations
5
+ group: typography
6
+ toc: true
7
+
8
+ previous: Blockquote
9
+ previousLink: typography/blockquote/
10
+ next: Lists
11
+ nextLink: typography/lists/
12
+ ---
13
+
14
+ Get started with a collection of responsive image components coded with the utility classes from Tailwind CSS that you can use inside articles, cards, sections, and other components based on multiple styles, sizes, layouts, and hover animations.
15
+
16
+ ## Default image
17
+
18
+ Use this example to show the a responsive image that won't grow beyond the maximum original width.
19
+
20
+ {{< example class="flex justify-center" github="typography/images.md" show_dark=true >}}
21
+ <img class="h-auto max-w-full" src="/docs/images/examples/image-1@2x.jpg" alt="image description">
22
+ {{< /example >}}
23
+
24
+ ## Image caption
25
+
26
+ This example can be used to add a caption for the image often used inside articles.
27
+
28
+ {{< example class="flex justify-center" github="typography/images.md" show_dark=true >}}
29
+ <figure class="max-w-lg">
30
+ <img class="h-auto max-w-full rounded-base" src="/docs/images/examples/image-3@2x.jpg" alt="image description">
31
+ <figcaption class="mt-2 text-sm text-center text-body">Image caption</figcaption>
32
+ </figure>
33
+ {{< /example >}}
34
+
35
+ ## Rounded corners
36
+
37
+ Apply rounded corners to the image by using the specific utility classes from Tailwind CSS.
38
+
39
+ ### Border radius
40
+
41
+ Use this example to apply rounded corners to the image by using the `rounded-{size}` class where the size can be anything from small to extra large.
42
+
43
+ {{< example class="flex justify-center" github="typography/images.md" show_dark=true >}}
44
+ <img class="h-auto max-w-lg rounded-base" src="/docs/images/examples/image-1@2x.jpg" alt="image description">
45
+ {{< /example >}}
46
+
47
+ ### Full circle
48
+
49
+ Use this example to mask the image inside a circle using the `rounded-full` utility class from Tailwind CSS.
50
+
51
+ {{< example class="flex justify-center" github="typography/images.md" show_dark=true >}}
52
+ <img class="rounded-full w-96 h-96" src="/docs/images/examples/image-4@2x.jpg" alt="image description">
53
+ {{< /example >}}
54
+
55
+ ## Image shadow
56
+
57
+ This example can be used to show a shadow effect for the image using the `shadow-{size}` utility class.
58
+
59
+ {{< example class="flex justify-center pb-8" github="typography/images.md" show_dark=true >}}
60
+ <img class="h-auto max-w-xl rounded-base shadow-xl dark:shadow-gray-800" src="/docs/images/examples/image-2@2x.jpg" alt="image description">
61
+ {{< /example >}}
62
+
63
+ ## Retina-ready
64
+
65
+ Use the `srcset` attribute to set Retina-ready images with double resolution.
66
+
67
+ {{< example class="flex justify-center" github="typography/images.md" show_dark=true >}}
68
+ <img srcset="/docs/images/examples/image-1.jpg 1x, /docs/images/examples/image-1@2x.jpg 2x" class="w-full h-auto max-w-xl rounded-base" alt="image description">
69
+ {{< /example >}}
70
+
71
+ ## Image card
72
+
73
+ Use this example to make the image a card item with a link and a short text description.
74
+
75
+ {{< example class="flex justify-center" github="typography/images.md" show_dark=true >}}
76
+ <figure class="relative max-w-sm transition-all duration-300 cursor-pointer filter grayscale hover:grayscale-0">
77
+ <a href="#">
78
+ <img class="rounded-base" src="https://flowbite.s3.amazonaws.com/blocks/marketing-ui/content/content-gallery-3.png" alt="image description">
79
+ </a>
80
+ <figcaption class="absolute px-4 text-lg text-white bottom-6">
81
+ <p>Do you want to get notified when a new component is added to Flowbite?</p>
82
+ </figcaption>
83
+ </figure>
84
+ {{< /example >}}
85
+
86
+ ## Image effects
87
+
88
+ Use image effects such as grayscale or blur to change the appearances of the image when being hovered.
89
+
90
+ ### Grayscale
91
+
92
+ Use the filter option and apply a grayscale to the image element using the `grayscale` class.
93
+
94
+ {{< example class="flex justify-center" github="typography/images.md" show_dark=true >}}
95
+ <img class="h-auto max-w-lg transition-all duration-300 rounded-base cursor-pointer filter grayscale hover:grayscale-0" src="https://flowbite.s3.amazonaws.com/blocks/marketing-ui/content/content-gallery-3.png" alt="image description">
96
+ {{< /example >}}
97
+
98
+ ### Blur
99
+
100
+ Apply a blur by using the `blur-{size}` utility class from Tailwind CSS to an image component.
101
+
102
+ {{< example class="flex justify-center" github="typography/images.md" show_dark=true >}}
103
+ <img class="h-auto max-w-lg transition-all duration-300 rounded-base blur-xs hover:blur-none" src="https://flowbite.s3.amazonaws.com/blocks/marketing-ui/content/content-gallery-3.png" alt="image description">
104
+ {{< /example >}}
105
+
106
+ ## Alignment
107
+
108
+ Align the image component to the left, center or right side of the document page using margin styles.
109
+
110
+ ### Left
111
+
112
+ By default, the image component will be aligned to the left side of the page.
113
+
114
+ {{< example github="typography/images.md" show_dark=true >}}
115
+ <img class="h-auto max-w-lg" src="/docs/images/examples/image-1@2x.jpg" alt="image description">
116
+ {{< /example >}}
117
+
118
+ ### Center
119
+
120
+ Horizontally align the image to the center of the page using the `mx-auto` class.
121
+
122
+ {{< example github="typography/images.md" show_dark=true >}}
123
+ <img class="h-auto max-w-lg mx-auto" src="/docs/images/examples/image-1@2x.jpg" alt="image description">
124
+ {{< /example >}}
125
+
126
+ ### Right
127
+
128
+ Use the `ml-auto` (or `ms-auto`) class to align the image to the right side of the page.
129
+
130
+ {{< example github="typography/images.md" show_dark=true >}}
131
+ <img class="h-auto max-w-lg ms-auto" src="/docs/images/examples/image-1@2x.jpg" alt="image description">
132
+ {{< /example >}}
133
+
134
+ ## Sizes
135
+
136
+ Set the size of the image using the `w-{size}` and `h-{size}` or `max-w-{size}` utility classes from Tailwind CSS to set the width and height of the element.
137
+
138
+ ### Small
139
+
140
+ Use the `max-w-xs` class to set a small size of the image.
141
+
142
+ {{< example github="typography/images.md" show_dark=true >}}
143
+ <img class="h-auto max-w-xs" src="/docs/images/examples/image-1@2x.jpg" alt="image description">
144
+ {{< /example >}}
145
+
146
+ ### Medium
147
+
148
+ Use the `max-w-md` class to set a medium size of the image.
149
+
150
+ {{< example github="typography/images.md" show_dark=true >}}
151
+ <img class="h-auto max-w-md" src="/docs/images/examples/image-1@2x.jpg" alt="image description">
152
+ {{< /example >}}
153
+
154
+ ### Large
155
+
156
+ Use the `max-w-xl` class to set a large size of the image.
157
+
158
+ {{< example github="typography/images.md" show_dark=true >}}
159
+ <img class="h-auto max-w-xl" src="/docs/images/examples/image-1@2x.jpg" alt="image description">
160
+ {{< /example >}}
161
+
162
+ ### Full width
163
+
164
+ Use the `max-w-full` class to set the full width of the image as long as it doesn't become larger than the original source.
165
+
166
+ {{< example github="typography/images.md" show_dark=true >}}
167
+ <img class="h-auto max-w-full" src="/docs/images/examples/image-1@2x.jpg" alt="image description">
168
+ {{< /example >}}
@@ -0,0 +1,118 @@
1
+ ---
2
+ layout: docs
3
+ title: Tailwind CSS Links - Flowbite
4
+ description: The link component can be used to set hyperlinks from one page to another or to an external website when clicking on an inline text item, button, or card
5
+ group: typography
6
+ toc: true
7
+
8
+ previous: Lists
9
+ previousLink: typography/lists/
10
+ next: Text
11
+ nextLink: typography/text/
12
+ ---
13
+
14
+ Get started with the link component to enable hyperlinks across pages and external websites applied to elements such as inline text, buttons, cards, inside paragraphs, and more.
15
+
16
+ Hyperlinks are a great way to reduce bounce rate of the current page and encourage visitors to browse your website and become a returning user.
17
+
18
+ ## Default link
19
+
20
+ Use this example to set default styles to an inline link element.
21
+
22
+ {{< example class="flex justify-center" github="typography/links.md" show_dark=true >}}
23
+ <a href="#" class="font-medium text-fg-brand hover:underline">Read more</a>
24
+ {{< /example >}}
25
+
26
+ ## Button
27
+
28
+ This example can be used to set a hyperlink on a button component.
29
+
30
+ {{< example class="flex justify-center" github="typography/links.md" show_dark=true >}}
31
+ <a href="#" class="text-white bg-brand box-border border border-transparent hover:bg-brand-strong 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">Read more</a>
32
+ {{< /example >}}
33
+
34
+ ## Paragraph
35
+
36
+ Use this example to set a link inside a paragraph with an underline style.
37
+
38
+ {{< example github="typography/links.md" show_dark=true >}}
39
+ <p class="text-body">The free updates that will be provided is based on the <a href="#" class="font-medium text-fg-brand underline hover:no-underline">roadmap</a> that we have laid out for this project. It is also possible that we will provide extra updates outside of the roadmap as well.</p>
40
+ {{< /example >}}
41
+
42
+ ## Icon link
43
+
44
+ This example can be used to set a custom [SVG icon](https://flowbite.com/icons/) inside the hyperlink element.
45
+
46
+ {{< example class="flex justify-center" github="typography/links.md" show_dark=true >}}
47
+ <p class="text-body">500,000 people & companies have made over a million apps with Glide. <a href="#" class="inline-flex items-center font-medium text-fg-brand hover:underline">
48
+ Read their stories
49
+ <svg class="w-5 h-5 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>
50
+ </a></p>
51
+
52
+ {{< /example >}}
53
+
54
+ ## CTA link
55
+
56
+ Use this example to set a hyperlink on a CTA element with text and a custom icon.
57
+
58
+ {{< example class="flex justify-center" github="typography/links.md" show_dark=true >}}
59
+ <a href="#" class="inline-flex items-center justify-center p-5 text-base font-medium border border-default hover:border-default-medium text-body rounded-base bg-neutral-secondary-soft hover:text-heading hover:bg-neutral-tertiary">
60
+ <svg aria-hidden="true" class="w-5 h-5 me-3" viewBox="0 0 22 31" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_4151_63004)"><path d="M5.50085 30.1242C8.53625 30.1242 10.9998 27.8749 10.9998 25.1035V20.0828H5.50085C2.46546 20.0828 0.00195312 22.332 0.00195312 25.1035C0.00195312 27.8749 2.46546 30.1242 5.50085 30.1242Z" fill="#0ACF83"/><path d="M0.00195312 15.062C0.00195312 12.2905 2.46546 10.0413 5.50085 10.0413H10.9998V20.0827H5.50085C2.46546 20.0827 0.00195312 17.8334 0.00195312 15.062Z" fill="#A259FF"/><path d="M0.00195312 5.02048C0.00195312 2.24904 2.46546 -0.000244141 5.50085 -0.000244141H10.9998V10.0412H5.50085C2.46546 10.0412 0.00195312 7.79193 0.00195312 5.02048Z" fill="#F24E1E"/><path d="M11 -0.000244141H16.4989C19.5343 -0.000244141 21.9978 2.24904 21.9978 5.02048C21.9978 7.79193 19.5343 10.0412 16.4989 10.0412H11V-0.000244141Z" fill="#FF7262"/><path d="M21.9978 15.062C21.9978 17.8334 19.5343 20.0827 16.4989 20.0827C13.4635 20.0827 11 17.8334 11 15.062C11 12.2905 13.4635 10.0413 16.4989 10.0413C19.5343 10.0413 21.9978 12.2905 21.9978 15.062Z" fill="#1ABCFE"/></g><defs><clipPath id="clip0_4151_63004"><rect width="22" height="30.1244" fill="white" transform="translate(0 -0.000244141)"/></clipPath></defs></svg>
61
+ <span class="w-full">Get started with our Figma Design System</span>
62
+ <svg class="w-6 h-6 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>
63
+ </a>
64
+ {{< /example >}}
65
+
66
+ ## Card link
67
+
68
+ Use this example to set a hyperlink on a card component.
69
+
70
+ {{< example class="flex justify-center" github="typography/links.md" show_dark=true >}}
71
+ <a href="#" class="bg-neutral-primary-soft block max-w-sm p-6 border border-default rounded-base shadow-xs hover:bg-neutral-secondary-medium">
72
+ <h5 class="mb-3 text-2xl font-semibold tracking-tight text-heading leading-8">Noteworthy technology acquisitions 2021</h5>
73
+ <p class="text-body">Here are the biggest enterprise technology acquisitions of 2021 so far, in reverse chronological order.</p>
74
+ </a>
75
+ {{< /example >}}
76
+
77
+ ## Image link
78
+
79
+ This example can be used to set a hyperlink on an image inside a card component.
80
+
81
+ {{< example class="flex justify-center" github="typography/links.md" show_dark=true >}}
82
+ <div class="bg-neutral-primary-soft block max-w-sm border border-default rounded-base shadow-xs">
83
+ <a href="#">
84
+ <img class="rounded-t-base" src="/docs/images/blog/image-1.jpg" alt="" />
85
+ </a>
86
+ <div class="p-6 text-center">
87
+ <span class="inline-flex items-center bg-brand-softer border border-brand-subtle text-fg-brand-strong text-xs font-medium px-1.5 py-0.5 rounded-sm">
88
+ <svg class="w-3 h-3 me-1" 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="M18.122 17.645a7.185 7.185 0 0 1-2.656 2.495 7.06 7.06 0 0 1-3.52.853 6.617 6.617 0 0 1-3.306-.718 6.73 6.73 0 0 1-2.54-2.266c-2.672-4.57.287-8.846.887-9.668A4.448 4.448 0 0 0 8.07 6.31 4.49 4.49 0 0 0 7.997 4c1.284.965 6.43 3.258 5.525 10.631 1.496-1.136 2.7-3.046 2.846-6.216 1.43 1.061 3.985 5.462 1.754 9.23Z"/></svg>
89
+ Trending
90
+ </span>
91
+ <a href="#">
92
+ <h5 class="mt-3 mb-6 text-2xl font-semibold tracking-tight text-heading">Streamlining your design process with Flowbite.</h5>
93
+ </a>
94
+ <a href="#" class="inline-flex items-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong 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">
95
+ Read more
96
+ <svg class="w-4 h-4 ms-1.5 rtl:rotate-180 -me-0.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="M19 12H5m14 0-4 4m4-4-4-4"/></svg>
97
+ </a>
98
+ </div>
99
+ </div>
100
+ {{< /example >}}
101
+
102
+ ## Card inner link
103
+
104
+ Use this example to show a highlighted link inside a card component.
105
+
106
+ {{< example class="flex justify-center" github="typography/links.md" show_dark=true >}}
107
+ <div class="bg-neutral-primary-soft block max-w-sm p-6 border border-default rounded-base shadow-xs">
108
+ <svg class="w-7 h-7 mb-3 text-body" 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="M10 21v-9m3-4H7.5a2.5 2.5 0 1 1 0-5c1.5 0 2.875 1.25 3.875 2.5M14 21v-9m-9 0h14v8a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-8ZM4 8h16a1 1 0 0 1 1 1v3H3V9a1 1 0 0 1 1-1Zm12.155-5c-3 0-5.5 5-5.5 5h5.5a2.5 2.5 0 0 0 0-5Z"/></svg>
109
+ <a href="#">
110
+ <h5 class="mb-2 text-2xl font-semibold tracking-tight text-heading">Need a help in Claim?</h5>
111
+ </a>
112
+ <p class="mb-3 text-body">Go to this step by step guideline process on how to certify for your weekly benefits:</p>
113
+ <a href="#" class="inline-flex font-medium items-center text-fg-brand hover:underline">
114
+ See our guideline
115
+ <svg class="w-4 h-4 ms-2 rtl:rotate-[270deg]" 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="M18 14v4.833A1.166 1.166 0 0 1 16.833 20H5.167A1.167 1.167 0 0 1 4 18.833V7.167A1.166 1.166 0 0 1 5.167 6h4.618m4.447-2H20v5.768m-7.889 2.121 7.778-7.778"/></svg>
116
+ </a>
117
+ </div>
118
+ {{< /example >}}