Browse documentation

Reference / Typography

Font weight

Distinguish a title, a label, and its value using different weights within the same family.

Working example

For a precise value such as 650, use a variable font whose weight axis includes that value.

HTML
<p class="text-xl">
  <span class="font-light">Volume</span>
  <strong class="font-bold">Eight</strong>
</p>

Class reference

ClassCSS declarations
font-lightfont-weight: 300;
font-normalfont-weight: 400;
font-mediumfont-weight: 500;
font-semiboldfont-weight: 600;
font-boldfont-weight: 700;
font-blackfont-weight: 900;
font-[650]font-weight: 650;
View full generated CSS
Compiled 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;
}