tailwindcss-typography · git:20260729.3b91eed · 2026-07-29 · sha256 232494e4d872f1c4

tailwindcss-typography git:20260729.3b91eedA

Immutable. This exact content never changes and is served at /api/v1/blob/232494e4d872f1c4.

---
name: tailwindcss-typography
description: "Use when setting font family/size/weight, aligning or wrapping text (balance/pretty), applying text-shadow or decoration, or letter/line spacing."
user-invocable: false
---

<objective>
Complete reference for Tailwind CSS v4.1 typography utilities: font family (`font-sans`/`font-serif`/`font-mono`), font size and weight, text color/alignment, text wrapping including the v4.1 `balance`/`pretty` values, the new `text-shadow` utility, letter spacing (`tracking-*`), line height (`leading-*`), text decoration, and text transform (`uppercase`/`lowercase`/`capitalize`).
</objective>

# Tailwind CSS Typography v4.1

Typography utilities for controlling font families, sizes, weights, text styling, spacing, and decoration in Tailwind CSS v4.1.

## Core Features

- **Font Family**: font-sans, font-serif, font-mono
- **Font Size**: text-xs to text-9xl with scaling
- **Font Weight**: thin, extralight, light, normal, medium, semibold, bold, extrabold, black
- **Text Color**: Full color palette support
- **Text Alignment**: left, center, right, justify
- **Text Wrapping**: wrap, nowrap, balance, pretty (NEW in v4.1)
- **Text Shadow**: New utility for text-shadow effects
- **Letter Spacing**: tracking values
- **Line Height**: leading values
- **Text Decoration**: decoration styles and colors
- **Text Transform**: uppercase, lowercase, capitalize, normal-case

## Detailed References

- [fonts.md](references/fonts.md) - Load when picking font-family/size/weight values, italics, numeric variants, or font smoothing
- [text.md](references/text.md) - Load when styling text color, alignment, wrapping (balance/pretty), text-shadow, decoration, transform, or whitespace
- [spacing.md](references/spacing.md) - Load when tuning letter-spacing (tracking) or line-height (leading)