diff --git a/.changeset/cold-jokes-allow.md b/.changeset/cold-jokes-allow.md
new file mode 100644
index 000000000..dcf50370b
--- /dev/null
+++ b/.changeset/cold-jokes-allow.md
@@ -0,0 +1,5 @@
+---
+"@tabler/docs": patch
+---
+
+fix: improve Introduction, Base, Layout and Plugins sections in documentation
diff --git a/docs/content/ui/base/typography.md b/docs/content/ui/base/typography.md
index 6be42c7cc..c49754847 100644
--- a/docs/content/ui/base/typography.md
+++ b/docs/content/ui/base/typography.md
@@ -10,15 +10,6 @@ description: Role of typography in interface design.
Use HTML headings to organize content on your website and make the structure clear and user-friendly. The `h1` to `h6` tags are used to define HTML headings.
The `h1` tag is the highest level and the `h6` tag is the lowest level.
-```html
-
H1 Heading
-
H2 Heading
-
H3 Heading
-
H4 Heading
-
H5 Heading
-
H6 Heading
-```
-
Below are examples of headings with different levels:
{% capture html -%}
@@ -29,7 +20,7 @@ Below are examples of headings with different levels:
H5 Heading
H6 Heading
{%- endcapture %}
-{% include "docs/example.html" html=html vertical %}
+{% include "docs/example.html" html=html %}
## Paragraphs
@@ -55,32 +46,15 @@ If you use a second paragraph, it will be separated from the first one by a blan
Use a variety of semantic text elements, depending on how you want to display particular fragments of content.
-```html
-I18N
-Bold
-Citation
-Hello World!
-Deleted
-Emphasis
-Italic
-Inserted
-Ctrl + S
-Highlighted
-Strikethrough
-Sample
-Text Subscripted Text Superscripted
-
-Underline
-x = y + 2
-```
-
Here are examples of semantic text elements:
{% capture html -%}
I18N
-
Bold
+
+ Bold
+
Citation
@@ -111,19 +85,23 @@ Here are examples of semantic text elements:
Sample
-
Text Subscripted
-
Text Superscripted
+
+ Text Subscript
+
+
+ Text Superscript
+
Underline
-
x = y + 2
+
+ x = y + 2
+
{%- endcapture %}
-{% include "docs/example.html" html=html vertical %}
-
-
+{% include "docs/example.html" html=html %}
## Horizontal rules
@@ -144,15 +122,11 @@ Use the `hr` tag to represent a thematic break between paragraphs within one sec
{%- endcapture %}
-{% include "docs/example.html" html=html vertical %}
-
-```html
-
-```
+{% include "docs/example.html" html=html %}
## Horizontal rules with label
-You can also add a label to a horizontal rule and align it as you see fit.
+You can also add a label to a horizontal rule and align it as you see fit. Centered label is the default.
{% capture html -%}
@@ -173,15 +147,22 @@ You can also add a label to a horizontal rule and align it as you see fit.
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut
labore et dolore magna aliquyam erat, sed diam voluptua.
-
+
Rule text
At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea
takimata sanctus est Lorem ipsum dolor sit amet.
+
+ Rule text
+
+
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut
+ labore et dolore magna aliquyam erat, sed diam voluptua.
+
{%- endcapture %}
-{% include "docs/example.html" html=html raw %}
+{% include "docs/example.html" html=html %}
## Optimized for different alphabets
@@ -198,45 +179,33 @@ Tabler has been optimized to correctly display content in any language. It suppo
אלפבית עברי
อักษรไทย
{%- endcapture %}
-{% include "docs/example.html" html=html raw %}
+{% include "docs/example.html" html=html %}
## Text transform
Transform the content of components with text capitalization classes.
{% capture html -%}
-
Lowercased text.
-
Uppercased text.
-
Capitalized text.
-{%- endcapture %}
-{% include "docs/example.html" html=html raw %}
-
-```html
Lowercased text.
Uppercased text.
Capitalized text.
-```
+{%- endcapture %}
+{% include "docs/example.html" html=html %}
## Letter spacing
Control the tracking (letter spacing) of an element and make it tight, wide or normal.
{% capture html -%}
-
Lorem ipsum dolor sit amet. Tight letter spacing.
-
Lorem ipsum dolor sit amet. Normal letter spacing.
-
Lorem ipsum dolor sit amet. Wide letter spacing.
-{%- endcapture %}
-{% include "docs/example.html" html=html raw %}
-
-```html
Lorem ipsum dolor sit amet. Tight letter spacing.
Lorem ipsum dolor sit amet. Normal letter spacing.
Lorem ipsum dolor sit amet. Wide letter spacing.
-```
+{%- endcapture %}
+{% include "docs/example.html" html=html %}
## Line height
-Control the leading (line height) of an element.
+Control the leading (line height) of an element using the `.lh-*` classes. The line height is the vertical space between lines of text.
{% capture html -%}
@@ -254,15 +223,6 @@ Control the leading (line height) of an element.
{%- endcapture %}
{% include "docs/example.html" html=html %}
-To control the line height of an element, use the following classes:
-
-```html
-
...
-
...
-
...
-
...
-```
-
## Antialiasing
Control the font smoothing of an element.
@@ -273,21 +233,17 @@ Use the `.antialiased` utility to render text using subpixel antialiasing or use
Text with antialiasing
Text without antialiasing
{%- endcapture %}
-{% include "docs/example.html" html=html raw %}
+{% include "docs/example.html" html=html %}
## Keyboard input
Use the `` to indicate input that is typically entered via keyboard.
{% capture html -%}
-
To edit settings, press ctrl + , or ctrl + C.
+To edit settings, press ctrl + , or ctrl + C.
{%- endcapture %}
{% include "docs/example.html" html=html %}
-```html
-To edit settings, press ctrl + , or ctrl + C.
-```
-
## Markdown elements
If you can't use the CSS classes you want, or you just want to use HTML tags, use the `.markdown` class in a container. It will apply the default styles for markdown elements.
diff --git a/docs/content/ui/getting-started/faq.md b/docs/content/ui/getting-started/faq.md
index 49186b2e7..0da64919a 100644
--- a/docs/content/ui/getting-started/faq.md
+++ b/docs/content/ui/getting-started/faq.md
@@ -27,4 +27,4 @@ Tabler is an HTML template that can be used for any purpose. However, it is not
## How do I get notified of new Tabler versions?
-You may watch the releases on GitHub, follow us on [X](https://x.com/tabler_io) or stay up to date with our [changelog]({{ site.homepage }}/changelog).
+You may watch [the releases on GitHub](https://github.com/tabler/tabler/releases), follow us on [X](https://x.com/tabler_io) or stay up to date with our [changelog]({{ site.homepage }}/changelog).
diff --git a/docs/content/ui/layout/navs-tabls.md b/docs/content/ui/layout/navs-tabs.md
similarity index 85%
rename from docs/content/ui/layout/navs-tabls.md
rename to docs/content/ui/layout/navs-tabs.md
index 6effe5baf..4aab22fd7 100644
--- a/docs/content/ui/layout/navs-tabls.md
+++ b/docs/content/ui/layout/navs-tabs.md
@@ -10,20 +10,6 @@ Navigation bars are essential components of modern web applications, providing u
If you want to create a horizontal navigation bar, you can use the `.nav` class. The `.nav-item` class is used to style each item within the navigation bar, and `.nav-link` is applied to the links. The `.active` class highlights the current active link, while the `.disabled` class styles non-clickable links.
-```html
-
-```
-
Look at the example below to see how the horizontal navigation bar is displayed.
{% capture html -%}
@@ -34,9 +20,6 @@ Look at the example below to see how the horizontal navigation bar is displayed.
@@ -84,7 +64,7 @@ To create a tabbed navigation interface, use the `.nav-tabs` class. This is idea
```
-Example below shows how the tabbed navigation interface is displayed.
+The example below shows how the tabbed navigation interface is displayed.
{% capture html -%}
@@ -94,9 +74,6 @@ Example below shows how the tabbed navigation interface is displayed.
@@ -106,7 +83,7 @@ Example below shows how the tabbed navigation interface is displayed.
## Pills
-For a pill-shaped navigation style, use the `.nav-pills` class. This is a great choice for a sleek, modern look, especially in interactive UI components.
+For a pill-shaped navigation style, use the `.nav-pills` class. This is a great choice for a sleek, modern look, especially in the interactive UI components.
{% capture html -%}
@@ -116,9 +93,6 @@ For a pill-shaped navigation style, use the `.nav-pills` class. This is a great
diff --git a/docs/content/ui/plugins/flags.md b/docs/content/ui/plugins/flags.md
index f0a0f6fe2..66cb3e527 100644
--- a/docs/content/ui/plugins/flags.md
+++ b/docs/content/ui/plugins/flags.md
@@ -28,12 +28,7 @@ To create a flag, add the `flag` class to a component and choose the country who
## Country flags
-To use the flag of a particular country, add the `flag-country-(country name)` class. For example, to create a flag of Andorra, you should use the following class: `.flag-country-ad`. The full list of countries can be found below.
-
-```html
-
-
-```
+To use the flag of a particular country, add the `flag-country-(country name)` class. For example, to create a flag of Andorra, you should use the following class: `.flag-country-ad`. The full list of countries can be found at the end of this page.
{% capture html -%}
@@ -55,14 +50,6 @@ Using Bootstrap’s typical naming structure, you can create a standard flag, or
{%- endcapture %}
{% include "docs/example.html" html=html %}
-```html
-
-
-
-
-
-```
-
## Flags list
The full list of countries can be found below.
diff --git a/docs/content/ui/plugins/payments.md b/docs/content/ui/plugins/payments.md
index d97913a2c..606198dc5 100644
--- a/docs/content/ui/plugins/payments.md
+++ b/docs/content/ui/plugins/payments.md
@@ -17,7 +17,7 @@ You can also include the plugin via CDN:
## Payment
-To create a payment provider icon, add the `payment` class to a component and specify the payment provider. The full list of payment providers can be found below.
+To create a payment provider icon, add the `payment` class to a component and specify the payment provider with the `payment-provider-*` class. The full list of payment providers can be found at the end of this page.
{% capture html -%}
diff --git a/docs/content/ui/plugins/social-icons.md b/docs/content/ui/plugins/social-icons.md
index 18f5b4f12..b71931eda 100644
--- a/docs/content/ui/plugins/social-icons.md
+++ b/docs/content/ui/plugins/social-icons.md
@@ -18,7 +18,7 @@ You can also include the plugin via CDN:
## Social icons
-To create a social icon, add the `social` class to a component and also add the class for the specific social app whose icon you want to use.
+To create a social icon, add the `social` class to a component and provide the class `social-app-*` with the social app whose icon you want to use.
{% capture html -%}
diff --git a/shared/includes/docs/flags.html b/shared/includes/docs/flags.html
index 3679cd2af..cbb075394 100644
--- a/shared/includes/docs/flags.html
+++ b/shared/includes/docs/flags.html
@@ -3,7 +3,7 @@