Text Leading
Line height guidelines for better readability.
Tailwind Line Heights
| Class | Value | Best For |
|---|---|---|
leading-none | 1 | Display text, headings |
leading-tight | 1.25 | Tight headings |
leading-snug | 1.375 | Compact text |
leading-normal | 1.5 | Body text (default) |
leading-relaxed | 1.625 | Comfortable reading |
leading-loose | 2 | Spacious text |
Guidelines
Headings
Use tighter line heights for headings:
<h1 class="text-4xl leading-tight">Compact Heading</h1>
<h1 class="text-4xl leading-none">Display Heading</h1>Body Text
Use relaxed line heights for long-form content:
<p class="text-base leading-relaxed">
Long paragraphs are easier to read with more generous line spacing.
</p>Rules of Thumb
- Larger text = tighter leading - Headlines can use
leading-tight - Smaller text = looser leading - Body text needs
leading-relaxed - Long lines = more leading - Wide columns need extra spacing
- Short lines = less leading - Narrow columns can be tighter
Responsive Leading
Adjust line height at different breakpoints:
<p class="leading-normal md:leading-relaxed">
Responsive line height
</p>