tailwindcss-typography
Typography utilities Tailwind CSS v4.1. Font (font-sans, font-serif, font-mono, font-size, font-weight), Text (text-color, text-align, text-wrap, text-shadow NEW), Letter/Line spacing, Decoration, Transform.
When & Why to Use This Skill
This Claude skill provides a comprehensive suite of typography utilities for Tailwind CSS v4.1, enabling developers to efficiently manage font families, scaling, weights, and advanced text effects. It streamlines front-end styling by providing instant access to the latest v4.1 features like text-shadow and enhanced text-wrapping behaviors.
Use Cases
- Rapid UI Prototyping: Quickly apply consistent font scales (text-xs to text-9xl) and weights to web components during the design-to-code process.
- Advanced Text Styling: Implement modern design trends using the new v4.1 text-shadow utilities and 'pretty' or 'balance' text-wrapping for better readability.
- Responsive Typography Design: Efficiently manage line heights (leading) and letter spacing (tracking) to ensure optimal legibility across different device screen sizes.
- Design System Alignment: Enforce brand standards by easily switching between font-sans, font-serif, and font-mono families with standardized Tailwind classes.
| name | tailwindcss-typography |
|---|---|
| description | "Typography utilities Tailwind CSS v4.1. Font (font-sans, font-serif, font-mono, font-size, font-weight), Text (text-color, text-align, text-wrap, text-shadow NEW), Letter/Line spacing, Decoration, Transform." |
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