Struct FontWeight
sealed struct FontWeight
The FontWeight struct refers to the thickness or boldness of glyphs in a typeface.
Higher values indicate bolder text. Predefined preset values are available for common use.
Fields
Constants
THIN
A commonly used font weight for thin typefaceFontWeight={100}
EXTRA_LIGHT
FontWeight={200}
LIGHT
FontWeight={300}
NORMAL
Commonly used font weights for regular/normal typefacesFontWeight={400}
MEDIUM
FontWeight={500}
SEMI_BOLD
FontWeight={600}
BOLD
A commonly used font weight that is heavier than normalFontWeight={700}
EXTRA_BOLD
FontWeight={800}
BLACK
FontWeight={900}
EXTRA_BLACK
FontWeight={1000}

