Text Tracking
Letter spacing guidelines for typography.
Tailwind Letter Spacing
| Class | Value | Usage |
|---|---|---|
tracking-tighter | -0.05em | Tight display text |
tracking-tight | -0.025em | Headlines |
tracking-normal | 0em | Body text (default) |
tracking-wide | 0.025em | Subheadings |
tracking-wider | 0.05em | Caps, labels |
tracking-widest | 0.1em | All-caps text |
Usage Guidelines
Headlines
Tighter tracking for large headlines:
<h1 class="text-5xl tracking-tight">Big Headlines</h1>All Caps
Wider tracking for uppercase text:
<span class="uppercase tracking-wider text-sm">
LABEL TEXT
</span>Body Text
Keep body text at normal tracking:
<p class="tracking-normal">Regular paragraph text.</p>Best Practices
- Tight for large - Big text benefits from tighter tracking
- Wide for caps - Uppercase needs more space
- Normal for body - Don't touch body text tracking
- Subtle adjustments - Small changes make big differences
Common Patterns
<!-- Navigation label -->
<span class="text-xs uppercase tracking-widest">
Menu
</span>
<!-- Section heading -->
<h2 class="text-3xl tracking-tight font-bold">
Features
</h2>
<!-- Button text -->
<button class="tracking-wide font-medium">
Get Started
</button>