font-bold Tailwind CSS Class

Bold text. The generated CSS output is font-weight: 700. This page gives you the generated CSS output, a copy-paste example, and an interactive demo for search-friendly utility lookups.

Quick Answer

font-bold maps to font-weight: 700. 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 font-bold using structured data generated from your Tailwind reference snapshot.

Visual Comparison

font-bold changes the text presentation through font-weight: 700, which directly affects hierarchy and scan speed.

Before

Tailwind utility preview

Live utility preview

After

Tailwind utility preview

Live utility preview

font-weightTypographytypography

Variants & Breakpoints

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

ContextClass syntaxWhy use itPreview
Basefont-boldApply font-bold directly to the element.Aa
smsm:font-boldApplies from 640px and up.Aa
mdmd:font-boldApplies from 768px and up.Aa
lglg:font-boldApplies 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 classfont-bold
CategoryTypography
CSS outputfont-weight: 700
Source pageCheat Sheet
Static slugfont-bold

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="font-bold">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.