UI Elements
Alerts, badges, modals, drawers, toasts, tabs, accordions, progress and everyday admin primitives.
Alerts
Soft toned banners with icon, title, description and optional dismiss button.
Version 2.4 introduces the searchable Docs mega menu and copyable code snippets.
All 6 static pages were rendered and published with zero warnings.
You have used 88% of your monthly quota. Consider upgrading before Friday.
3 consecutive timeouts from billing.example.com. Automatic retry in 5 minutes.
<div class="flex items-start gap-3 rounded-xl p-3.5 tone-success tone-soft" role="alert">
<i class="ti ti-circle-check mt-0.5 text-xl"></i>
<div class="grow">
<div class="text-sm font-semibold">Deployment succeeded</div>
<p class="mt-0.5 text-xs opacity-90">All pages rendered cleanly.</p>
</div>
</div>
Badges & Icon Boxes
Shortcut utilities: badge-*, badge-solid-* & icon-box-*.
<span class="badge-success">Active</span>
<span class="badge-solid-danger">34</span>
<span class="icon-box-primary"><i class="ti ti-sparkles"></i></span>
Alert Styles
Solid, outline, left accent, dashed notice, alerts with actions and a centered empty-state alert. All driven by tone-*.
Scheduled maintenance on Sunday, 02:00–03:00 UTC.
Invoice #4821 was paid in full.
Your card ending in 4242 was declined.
Chrome on macOS · Bangkok, TH · just now.
Archive old files to keep uploads working.
This workspace is locked by an administrator.
Press ⌘K / Ctrl K anywhere to open search.
14.2 GB copied to the EU-West bucket.
Two team members still use weak passwords.
Turn on two-factor authentication to protect sign-ins.
Upgrade to unlock unlimited projects and priority support.
Add a payment method to keep your dashboards, reports and team seats.
Row 18 of customers.csv has an invalid email. Fix the file and try again.
<!-- Solid -->
<div class="flex items-center gap-3 rounded-xl px-3.5 py-3 tone-success tone-solid" role="alert">…</div>
<!-- Outline -->
<div class="flex gap-3 rounded-xl border border-(--tone) px-3.5 py-3 tone-info">…</div>
<!-- Left accent -->
<div class="rounded-e-xl border-s-4 border-(--tone) px-4 py-3 tone-primary tone-soft">…</div>
<!-- Dashed notice -->
<div class="relative flex items-center gap-4 rounded-xl bg-[color-mix(in_oklab,var(--tone)_8%,transparent)] p-4 tone-warning">
<!-- dash-<n> dash-gap-<n> dash-w-<n> dash-round -->
<svg class="dash-border dash-12 dash-gap-6" aria-hidden="true"><rect width="100%" height="100%" rx="12"/></svg>
<i class="ti ti-shield-check text-3xl tone-text"></i>
<div class="grow">…</div>
<button class="kt-btn kt-btn-sm kt-btn-primary">Enable 2FA</button>
</div>
Modals, Drawers & Toasts
Interactive KTUI dialogs, slide-over drawers and live KTToast notifications.
Centered dialogs with backdrop blur and Escape dismissal.
Slide-over panels in SM (380px), MD (540px), LG (760px) or left-anchored.
Trigger plain or icon-enhanced floating notifications.
<!-- Modal & Drawer triggers -->
<button class="kt-btn kt-btn-primary" data-kt-modal-toggle="#my_modal">Open Modal</button>
<button class="kt-btn kt-btn-outline" data-kt-drawer-toggle="#demo_drawer_md">MD Drawer</button>
<!-- Live KTToast (solid or light appearance) -->
KTToast.show({
message: 'Deployment completed in 12s.',
variant: 'success',
appearance: 'light', // 'solid' | 'light' | 'outline'
icon: '<i class="ti ti-circle-check text-lg"></i>',
position: 'top-end'
});
Tabs & Accordions
Native KTUI data-kt-tabs and data-kt-accordion.
data-kt-tabs.--primary in src/css/config.ktui.css.
<div class="kt-tabs kt-tabs-line" data-kt-tabs="true">
<button class="kt-tab-toggle active" data-kt-tab-toggle="#tab_1">Overview</button>
<button class="kt-tab-toggle" data-kt-tab-toggle="#tab_2">Activity</button>
</div>
Unlimited Scrollable Tabs
Overflow-safe tab bar (15 tabs) with scroll arrows, live + Add Tab, and per-tab close.
High-level workspace summary with live KPIs and status indicators.
Card Header Toolbar Tabs
Jan 2026 summary: New year launch campaign drove strong organic signups.
More Tab Styles
Folder bordered, solid pills, and vertical rail tabs powered by data-kt-tabs.
More Accordion Styles
Separated bordered cards and filled multi-expand accent headers.
--primary when expanded.
Progress, Skeletons & Tooltips
Status bars, loading placeholders and hover tooltips.
<div class="h-2 w-full rounded-full bg-muted">
<div class="h-full rounded-full tone-primary tone-bar anim-progress-fill" style="width: 76%"></div>
</div>
<button class="kt-btn kt-btn-outline" data-kt-tooltip="true">
Hover me <span class="kt-tooltip" data-kt-tooltip-content="true">Tooltip text</span>
</button>
Avatars, Pagination & Empty State
Initials avatars, stacked groups, page navigation and zero-data placeholder.
Create your first project to start tracking milestones and team activity.
Progress Rings, Tracker & Skeleton Layouts
Animated rings with count-up values, an order status tracker and loading placeholders shaped like real content. CSS only.
- Ordered 12 Nov, 09:14
- Packed 12 Nov, 15:40
- Shipped In transit
- Delivered Est. 15 Nov
Timeline & Activity Feed
Vertical event rail for order tracking, audit logs and release milestones.
-
Production release v2.4 deployed
Zero-downtime rollout completed across 3 regions.
-
Pull request #184 merged
Added BTC Trading Desk and custom sidebar scrollbar.
-
API key rotated by admin
Legacy webhook secret revoked after 24h grace window.
-
Invoice #INV-2048 paid
$1,480.00 settled via Stripe.
<ol class="relative ms-3 border-s border-border space-y-5">
<li class="ms-6">
<span class="absolute -start-3.5 flex size-7 items-center justify-center rounded-full ring-4 ring-card tone-success tone-soft">
<i class="ti ti-rocket text-sm"></i>
</span>
<div class="text-sm font-semibold text-heading">Release deployed</div>
</li>
</ol>
Multi-Step Stepper
Interactive step indicator for onboarding, checkout and setup flows.
- Account
- 2 Workspace
- 3 Billing
- 4 Launch
<span class="flex size-8 items-center justify-center rounded-full bg-primary text-white ring-4 ring-primary/20">2</span>
Popovers, Breadcrumbs & Dividers
Click-triggered info cards, path trails and labeled horizontal rules.
<div class="flex items-center gap-3 text-xs uppercase text-muted-foreground">
<span class="h-px grow bg-border"></span><span>OR</span><span class="h-px grow bg-border"></span>
</div>
Clipboard & Custom Scrollbar
One-click token copy (data-copy-target) and .custom-scroll panel.
.custom-scroll)<div class="kt-input-group">
<input id="api-key" readonly value="pk_live_…" class="kt-input font-mono">
<button class="kt-btn kt-btn-outline" data-copy-target="#api-key">Copy</button>
</div>
<div class="custom-scroll h-36 overflow-y-auto">…</div>
BlockUI, Loaders & Print
<!-- Block any container -->
<button class="kt-btn kt-btn-primary" data-block-target="#my_card" data-block-message="Syncing…">Block</button>
<!-- Inline button spinner & Print -->
<button class="kt-btn kt-btn-outline" data-btn-loading="Saving…" data-btn-done="Saved.">Save</button>
<button class="kt-btn kt-btn-outline" data-print-page>Print</button>
Rich Confirm Dialogs
Zero-dependency SweetAlert2-style dialogs powered by KTUI modals. Trigger declaratively via data-kz-dialog or programmatically via window.KZDialog.fire().
window.KZDialog.fire({
title: 'Delete Production Bucket?',
text: 'All objects will be permanently purged.',
tone: 'danger', // primary | success | warning | info | danger
icon: 'trash',
confirmText: 'Delete permanently',
onConfirm: () => deleteBucket()
});
Multi-Step Wizard & Utility Modals
<!-- Trigger any utility or multi-step wizard modal -->
<button class="kt-btn kt-btn-primary" data-kt-modal-toggle="#modal_create_wizard">Create Project</button>
<button class="kt-btn kt-btn-outline" data-kt-modal-toggle="#modal_upgrade_plan">Upgrade Plan</button>
<button class="kt-btn kt-btn-outline" data-kt-modal-toggle="#modal_users_picker">Users Picker</button>
Compact slide-over panel ideal for quick filters, shortcuts or lightweight status details.
Line Items
| Item | Qty | Unit Price | Total |
|---|---|---|---|
Enterprise Workspace License Annual seat pack |
1 | $1,200.00 | $1,200.00 |
Priority Support Add-on 4-hour SLA response |
1 | $280.00 | $280.00 |
Activity
- Payment capturedToday at 09:45 AM · Visa ending 4242
- Receipt emailed to customerToday at 09:46 AM
Swap kt-drawer-end for kt-drawer-start to anchor the panel to the left edge.