text-3xl Tailwind CSS Class

3x large. The generated CSS output is font-size: 1.875rem. This page gives you the generated CSS output, a copy-paste example, and an interactive demo for search-friendly utility lookups.

Quick Answer

text-3xl maps to font-size: 1.875rem. It belongs to the Typography category and was generated from Tailwind CSS v4.1.14 reference data.

Interactive Demo

Toggle the utility on and off, switch preview surfaces, and adjust the demo content to see how this class behaves.

Tailwind utility preview

Interactive text preview for this utility class.

This preview simulates the effect of text-3xl using structured data generated from your Tailwind reference snapshot.

Visual Comparison

text-3xl changes the text presentation through font-size: 1.875rem, which directly affects hierarchy and scan speed.

Before

Tailwind utility preview

Live utility preview

After

Tailwind utility preview

Live utility preview

font-sizeTypographytypography

Variants & Breakpoints

Use the base utility directly, then layer state or responsive variants when the component needs more specific behavior.

ContextClass syntaxWhy use itPreview
Basetext-3xlApply text-3xl directly to the element.Aa
smsm:text-3xlApplies from 640px and up.Aa
mdmd:text-3xlApplies from 768px and up.Aa
lglg:text-3xlApplies from 1024px and up.Aa

Utility Family Comparison

Compare nearby options and related companions so you can choose the right intensity before reaching for trial-and-error tweaks.

When to use this class

Use it to make type hierarchy intentional in headings, labels, supporting copy, and dense interface text where readability matters.

Watch out for

Do not treat typography utilities as isolated decoration. Size, weight, line height, and alignment usually need to work together to feel balanced.

Class Reference

FieldValue
Utility classtext-3xl
CategoryTypography
CSS outputfont-size: 1.875rem
Source pageCheat Sheet
Static slugtext-3xl

Example Snippet

Use this code snippet as a starting point, then swap the markup around it to fit your component or layout.

html
<p class="text-3xl">Typography preview text</p>

Browse More

Return to the Cheat Sheet page for broader browsing, or open the Tailwind CSS Cheat Sheet to move across categories quickly.