Browse documentation
Reference / Typography
Font weight
Distinguish a title, a label, and its value using different weights within the same family.
Working example
Volume Eight
For a precise value such as 650, use a variable font whose weight axis includes that value.
<p class="text-xl">
<span class="font-light">Volume</span>
<strong class="font-bold">Eight</strong>
</p>Class reference
| Class | CSS declarations |
|---|---|
font-light | font-weight: 300; |
font-normal | font-weight: 400; |
font-medium | font-weight: 500; |
font-semibold | font-weight: 600; |
font-bold | font-weight: 700; |
font-black | font-weight: 900; |
font-[650] | font-weight: 650; |
View full generated CSS
.font-\[650\] {
font-weight: 650;
}
.font-black {
font-weight: 900;
}
.font-bold {
font-weight: 700;
}
.font-light {
font-weight: 300;
}
.font-medium {
font-weight: 500;
}
.font-normal {
font-weight: 400;
}
.font-semibold {
font-weight: 600;
}