Home
Theme Settings
Customize your dashboard appearance
Color Mode
Color Preset
Layout
Regional

Typography

Headings, body text, font weights, colors, gradient text, display sizes, letter spacing, line height, decorations, badges, icon patterns, and full prose examples

Headings

H1
The quick brown fox jumps text-5xl / 800
H2
The quick brown fox jumps text-4xl / 700
H3
The quick brown fox jumps text-3xl / 700
H4
The quick brown fox jumps text-2xl / 600
H5
The quick brown fox jumps text-xl / 600
H6
The quick brown fox jumps text-base / 600

Body Text

text-2xl — Lead / Hero

Large intro paragraph text used for page leads and hero sections.

text-xl — Large Body

Slightly larger body text for introductory paragraphs and featured content.

text-base — Default Body

Standard body text for main content areas, articles, and paragraphs. This is the default size used throughout the interface.

text-sm — Small

Small text for secondary content, captions, form help text, and sidebar descriptions.

text-xs — Extra Small

Extra small text for labels, timestamps, metadata, and fine print.

Font Weights

font-thin (100)The quick brown fox
font-extralight (200)The quick brown fox
font-light (300)The quick brown fox
font-normal (400)The quick brown fox
font-medium (500)The quick brown fox
font-semibold (600)The quick brown fox
font-bold (700)The quick brown fox
font-extrabold (800)The quick brown fox
font-black (900)The quick brown fox

Text Colors

Slate Scale

slate-900Darkest — headings and primary text
slate-700Default body text
slate-600Secondary body text
slate-500Muted / placeholder text
slate-400Disabled and hint text

Semantic Colors

primary-600Primary — interactive elements, links
emerald-600Success — positive states, confirmations
amber-600Warning — caution, pending states
red-600Danger — errors, destructive actions
cyan-600Info — informational, neutral notice
violet-600Violet — premium, creative contexts
rose-600Rose — love, favorites, highlights

Special Text Styles

Gradient Text

Gradient Heading

Green to Cyan

Amber to Red

Pink to Violet

Text Decorations

Strikethrough — discontinued

Custom underline color

Wavy underline

Dotted underline

Double strikethrough

Overline text

Style Variants

Italic — emphasis and titles

Bold — strong importance

Uppercase tracking

Lowercase text example

capitalize each word

1,234,567.89 tabular

Code & Keyboard

Run npm install to start

Press Ctrl + C to copy

Use ⌘ K to open the palette

Component: <Button />

Size + Weight Combos

Display Bold

Section Title

Overline Caption

Category Label

Truncation & Overflow

Single line truncate

This is a very long text that will be truncated

2-line clamp

This paragraph has multiple lines of text. When it exceeds two lines it will be gracefully cut off with an ellipsis at the end of the second line.

Break words

averylongwordthatbreaks acrosslines

Blockquotes

"Design is not just what it looks like and feels like. Design is how it works."

— Steve Jobs, Apple

"The best way to predict the future is to invent it. The computer was supposed to be a tool that amplified human intelligence."

— Alan Kay, PARC

"Simplicity is the ultimate sophistication. What is not there is just as important as what is there."

— Leonardo da Vinci

Badges & Inline Labels

Sizes
XS SM MD LG
Color Variants (Solid)
PrimarySuccessWarningDangerInfoVioletDarkNeutral
Color Variants (Soft)
PrimarySuccessWarningDangerInfoViolet
Outlined
PrimarySuccessWarningDanger
With Status Dot
ActivePendingInactiveDraft

Lists

Unordered

  • Real-time collaboration
  • Advanced analytics
  • API integrations
  • Custom dashboards

Ordered

  1. 1Create an account
  2. 2Set up your workspace
  3. 3Invite your team
  4. 4Start building

Check List

  • Design system
  • Component library
  • Documentation
  • Unit tests
  • Deploy to production

Description

Name
Alexandra Thompson
Role
Lead Designer
Team
Product Design
Location
San Francisco
Joined
March 2023

Link Styles

Default Links
With Icons
Color Variants
Button-Style Links
Inline in Paragraph

Visit our documentation to get started. If you need help, check the FAQ or contact support.

Text with Backgrounds & Highlights

Highlight / Mark

This sentence contains a highlighted word for emphasis.

Search result: The word React appears in the documentation.

Deleted old version and added new version.

Code Block

const Button = ({children} => {
  return (
    <button className="btn btn-primary">
      {children}
    </button>
  )
}
Text Callouts
ℹ Note:This is an informational note with some important context for the reader.
⚠ Warning:This action cannot be undone. Make sure you have a backup before proceeding.
✓ Tip:Use keyboard shortcuts to speed up your workflow. Press Ctrl+K to open quick commands.

Gradient Text

CSS gradient fills applied via bg-clip-text text-transparent. Ideal for hero headings, display titles, and marketing pages.

Primary

Bold Display

Section Headline

Subheading Text

text-primary-500
Violet

Bold Display

Section Headline

Subheading Text

text-violet-500
Emerald

Bold Display

Section Headline

Subheading Text

text-emerald-500
Amber

Bold Display

Section Headline

Subheading Text

text-amber-500

Hero Usage Example

Build Faster,
Ship Smarter

The modern design system for teams that move at the speed of ideas.

Get Started View Demo

Display / Hero Sizes

Extra-large sizes for hero banners, landing pages, and editorial layouts. Pair with light weights for elegance or black weight for impact.

text-8xl Display
text-7xl Hero Title
text-6xl Page Header
text-5xl Section Lead
text-6xl — Weight Samples
300 — LightAa
400 — NormalAa
600 — SemiboldAa
800 — ExtraboldAa
900 — BlackAa

Lead & Article Text

Full Article Layout Example

Design Systems March 11, 2026 · 8 min read

Building a Scalable Typography System for Modern Web Apps

A well-crafted type scale is the invisible backbone of every great interface. It creates rhythm, hierarchy, and readability without drawing attention to itself.

Typography is far more than choosing a typeface. It encompasses the full system of sizes, weights, spacing, and color that together create a readable, scannable, and accessible experience. When teams invest in a proper type scale early, they reduce design debt and accelerate development.

Start with a base size of 16px and build a modular scale around it. Tools like Tailwind CSS provide a carefully considered scale out of the box, though you can always override it for brand-specific needs. The key is consistency: once defined, the scale should be applied uniformly across all surfaces.

Why Line Height Matters

Cramped text reduces comprehension. Studies in reading science consistently show that generous line heights — typically between 1.4 and 1.8 times the font size — improve reading speed and retention, especially for body copy. Navigation labels and headings, by contrast, often benefit from tighter leading.

"Consistency in typography is not a constraint — it's the foundation of a system that feels intentional."

— Adapted from "Elements of Typographic Style"

The best type systems are invisible — readers never notice them. They simply feel at home, can scan at a glance, and read deeply without fatigue. If your typography is calling attention to itself, it's time to simplify. Invest in the scale, the weights, and the rhythm. Everything else follows.

#Typography#Design#CSS#Tailwind#UI Systems

Letter Spacing & Line Height

Letter Spacing (tracking)
tracking-tighter-0.05em

Display headlines, bold large type

tracking-tight-0.025em

Subheadings and hero text

tracking-normal0em

Default body text spacing

tracking-wide0.025em

Small UI labels and captions

tracking-wider0.05em

Category labels and metadata

tracking-widest0.1em

UPPERCASE OVERLINES

Line Height (leading)
leading-none1

Tight headings. Great for large display type where gaps between lines look excessive.

leading-tight1.25

Compact headings and navigation items. Slightly more breathing room than none.

leading-snug1.375

Card titles and short paragraph previews benefit from this comfortable spacing.

leading-normal1.5

Default for body text. Readable without feeling too spacious for most screen densities.

leading-relaxed1.625

Long-form articles and documentation content. Reduces eye fatigue on extended reads.

leading-loose2

Very open. Used for code blocks, poetry, and sparse editorial layouts on wide screens.

Text Decoration & Overflow

Underline Styles
decoration-solidSolid underline
decoration-dashedDashed underline
decoration-dottedDotted underline
decoration-wavyWavy underline
decoration-doubleDouble underline
Other Decorations
line-throughDiscontinued feature
overlineOverline heading text
no-underlineNo underline link
line-through decoration-red-500Price $99.00 → $49.00
decoration-4Thick underline emphasis
Truncation & Clamping
truncate

This very long title will be truncated with ellipsis

line-clamp-2

This paragraph continues beyond two lines and will be clamped. The third line and beyond will be hidden gracefully.

line-clamp-3

A three-line clamp is perfect for card previews and search results. It shows enough context without overwhelming the layout or pushing other cards out of alignment.

Content Badges & Labels

Inline Content Labels — Pill Style
NewHotBetaProSalePopularFreeLimited
Inline Content Labels — Square Style
NEWHOTBETAPROSALETOP
Badges In Context — Navigation & Menu Items
Dashboard
ComponentsNew
DocumentationBeta
PricingSale
Pro FeaturesPro
Analytics3
Feature / Pricing Badges
StarterFree
  • 5 projects
  • 2GB storage
  • Community support
ProPopular
  • 50 projects
  • 50GB storage
  • Priority support
EnterpriseSale 20%
  • Unlimited
  • 1TB storage
  • Dedicated support

Text with Icons

Feature Checklist
  • Real-time collaboration
  • Automatic backups
  • End-to-end encryption
  • Role-based permissions
  • Custom domain support
Warning & Alert Text

Your trial expires in 3 days. Upgrade to avoid interruption.

Two-factor authentication is not enabled on your account.

A new version of the app is available. Refresh to update.

Stats & Metrics Text

+42%

Growth this quarter

4.9/5

Average rating

200ms

Average load time

128k

Active users

Navigation Items with Icons
Inline Icon Text Patterns

Last updated 2 hours ago

Created by Alex Thompson

Deployment successful

3 warnings detected

Revenue up +18% this month

CTA Text Patterns
View all features Start free trial Upgrade to Pro
No credit card required
Rated 4.9 by 2,400+ teams

Prose — Rich Article Preview

A complete editorial card layout demonstrating how typography components combine into a premium reading experience.

Design Systems

Alex Thompson

Senior Designer

8 minMar 11, 2026

Why Typography Is the Most Underrated Part of Your Design System

Teams spend weeks on color palettes and component APIs, then ship inconsistent type scales. Here's how to fix that — and why it will make everything else feel more cohesive.

"Good typography is invisible. Bad typography screams."

#Type#CSS#UX
Read more
Tutorial

Mastering Line Height for Better Readability

A practical guide to leading values that work across all screen densities and type sizes.

Jordan Lee 5 minMar 9
Deep Dive

Fluid Typography with CSS clamp()

Responsive font scaling without media queries. Set it once and let the browser handle the rest.

Sam Rivera 12 minMar 7
Quick Tip

When to Use Tracking and When to Avoid It

Letter spacing adds elegance to uppercase labels but destroys lowercase body text legibility.

Casey Morgan 3 minMar 5