From c7070180dc64ac6fcc2e63197db24918c01b5aeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Kuna?= <1282324+codecalm@users.noreply.github.com> Date: Sat, 15 Nov 2025 13:42:11 +0100 Subject: [PATCH] feat: add All Elements UI components page (#2524) --- .changeset/young-needles-love.md | 5 + preview/pages/all-elements.html | 887 ++++++++++++++++++++++++++ shared/data/menu.json | 4 + shared/includes/ui/nav-segmented.html | 2 +- shared/includes/ui/nav.html | 2 +- 5 files changed, 898 insertions(+), 2 deletions(-) create mode 100644 .changeset/young-needles-love.md create mode 100644 preview/pages/all-elements.html diff --git a/.changeset/young-needles-love.md b/.changeset/young-needles-love.md new file mode 100644 index 000000000..0a2c7d7d8 --- /dev/null +++ b/.changeset/young-needles-love.md @@ -0,0 +1,5 @@ +--- +"@tabler/preview": patch +--- + +Added comprehensive All Elements page with all UI components and Bootstrap elements diff --git a/preview/pages/all-elements.html b/preview/pages/all-elements.html new file mode 100644 index 000000000..bd2cfe79c --- /dev/null +++ b/preview/pages/all-elements.html @@ -0,0 +1,887 @@ +--- +title: All Elements - Kitchen Sink +page-header: All Elements +page-menu: base.all-elements +page-libs: [nouislider, star-rating.js, tabler-flags, tabler-payments, tom-select] +layout: default +permalink: all-elements.html +--- + +
This is a lead paragraph with larger text.
+This is a regular paragraph with bold text, italic text, and + underlined text.
+This is small muted text.
+Primary text color
+Success text color
+Danger text color
+This is a simple card with header and body content.
+This card includes a footer section.
+| Name | +Status | +|
|---|---|---|
| John Doe | +john@example.com | +{% include "ui/badge.html" text="Active" color="success" %} | +
| Jane Smith | +jane@example.com | +{% include "ui/badge.html" text="Pending" color="warning" %} | +
| Bob Johnson | +bob@example.com | +{% include "ui/badge.html" text="Inactive" color="danger" %} | +
++ +This is a blockquote example with some sample text to demonstrate the styling.
+ +
// JavaScript example
+function greetUser(name) {
+ console.log(`Hello, ${name}!`);
+ return true;
+}
+
+ This paragraph contains inline code, Ctrl + S keyboard shortcut, and highlighted text.