Anthony Groß
Anthony Groß

Typography

Headings, text styles, rich content and copyable HTML examples. Font: Plus Jakarta Sans.

Headings

Heading H1

<h1> · 46px

Heading H2

<h2> · 38px

Heading H3

<h3> · 28px

Heading H4

<h4> · 24px
Heading H5
<h5> · 18px
Heading H6
<h6> · 15px

Heading Classes

Make any element look like a heading with .h1–.h6, without changing its meaning for screen readers.

span.h3 looks like H3 span.h5 looks like H5
$42.8k

Display number: text-6xl font-semibold tracking-tight

Body Text

Lead text: a larger opening paragraph that introduces the section. text-lg

Body text is the default paragraph style used across the theme, in the muted body colour so headings stand out. default

Small text for secondary details, card subtitles and helper copy. text-sm

Extra small text for captions, timestamps and footnotes. text-xs

Heading colour for emphasis without bold. text-foreground

Colours & Weights

text-primary text-success text-warning text-info text-destructive text-neutral text-foreground text-muted-foreground
Regular 400 font-normal Medium 500 font-medium Semibold 600 font-semibold Bold 700 font-bold Italic italic Uppercase label uppercase tracking-wider

Inline Elements

You can use mark to highlight text, strong for importance, em for emphasis, u for underline and del for removed text.

A link inside text, inline code, API abbreviation, H2O and E = mc2.

Keyboard: ⌘ K opens search, Esc closes it. Small print with <small>.

Blockquote

Good design is as little design as possible. Less, but better, because it concentrates on the essential aspects.

— Design principle, Ten Principles

Lists

Unordered
  • Dashboard widgets
  • Form elements
    • Inputs
    • Selects
  • Typography
Ordered
  1. Install dependencies
  2. Run the build
  3. Deploy the demo
Description
Primary
Brand actions and highlights.
Neutral
Inactive and secondary states.
Icon list
  • Unlimited projects
  • Priority support
  • Custom domain
  • White label

Text Utilities

truncate

This sentence is deliberately long so it gets cut off with an ellipsis when it reaches the edge of the card.

line-clamp-2

Line clamping keeps previews tidy: the text wraps normally but stops after two lines, adding an ellipsis at the end. It is handy for card descriptions, comments and notification excerpts that vary in length.

text-start

text-center

text-end

Code Block

Flatland-inspired dark editor theme. Tokens are marked with .tok-* spans, no highlighter library.

HTML rich-text.html
<!-- .rich-text styles plain HTML -->
<div class="rich-text">
  <h2>Release notes</h2>
  <p>Plain HTML is styled automatically.</p>
  <ul><li>No classes needed</li></ul>
</div>

Rich Text

Wrap plain HTML (articles, CMS output) in .rich-text, no per-element classes needed.

Getting started with the theme

This theme is a static HTML admin template built on Tailwind CSS 4 and KTUI. Every page is generated from Nunjucks views and seeded demo data, so it works without a backend.

What's included

  • A dashboard with charts, lists and tables
  • Form elements and typography reference pages
  • Shortcut classes like badge-success and icon-box-info

Everything is read-only in the demo. Forms show a notice instead of saving.

Build it locally

  1. Install dependencies with npm install
  2. Run npm run theme:deploy
  3. Open demo/index.html

Last updated November 2026.

Type at least 2 characters.

Are you sure?

This action cannot be undone.