From 7b7265347ccac7275d693fdffb0e9a35cf187752 Mon Sep 17 00:00:00 2001
From: BG-Software <73077398+BG-Software-BG@users.noreply.github.com>
Date: Sun, 4 May 2025 12:59:19 +0200
Subject: [PATCH] Fix ribbon component in the documentation (#2323)
---
.changeset/new-rats-argue.md | 5 +++
docs/content/ui/components/ribbons.md | 55 ++-------------------------
2 files changed, 9 insertions(+), 51 deletions(-)
create mode 100644 .changeset/new-rats-argue.md
diff --git a/.changeset/new-rats-argue.md b/.changeset/new-rats-argue.md
new file mode 100644
index 000000000..2e33170ea
--- /dev/null
+++ b/.changeset/new-rats-argue.md
@@ -0,0 +1,5 @@
+---
+"@tabler/docs": patch
+---
+
+Fix ribbon component in the documentation
diff --git a/docs/content/ui/components/ribbons.md b/docs/content/ui/components/ribbons.md
index cdd553302..d2d6f8549 100644
--- a/docs/content/ui/components/ribbons.md
+++ b/docs/content/ui/components/ribbons.md
@@ -18,15 +18,6 @@ Use the `ribbon` class to add the default ribbon to any section of your interfac
{%- endcapture %}
{% include "docs/example.html" html=html card column %}
-```html
-
@@ -71,15 +53,6 @@ Customize the ribbon's background color. You can click [here](/img/ui/base/color
{%- endcapture %}
{% include "docs/example.html" html=html column %}
-```html
-
-
-
- {% include "ui/icon.html" icon="star" %}
-
-
-```
-
## Ribbon text
Add your own text to a ribbon to display any additional information and make it easy to spot for users.
@@ -87,25 +60,14 @@ Add your own text to a ribbon to display any additional information and make it
{% capture html -%}
-
- {% include "ui/icon.html" icon="star" %}
-
+
NEW
{%- endcapture %}
{% include "docs/example.html" html=html column %}
-```html
-
-
-
- {% include "ui/icon.html" icon="star" %}
-
-
-```
+## Bookmark ribbon
-## Ribbon style
-
-Change the style of a ribbon to make it go well with your interface design.
+Use the `.ribbon-bookmark` class to create a bookmark ribbon. It is a special style of ribbon that is used to highlight important elements in your interface.
{% capture html -%}
@@ -116,12 +78,3 @@ Change the style of a ribbon to make it go well with your interface design.
{%- endcapture %}
{% include "docs/example.html" html=html column %}
-
-```html
-
-
-
- {% include "ui/icon.html" icon="star" %}
-
-
-```