Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

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

FontWeight = {100}
A commonly used font weight for thin typeface

EXTRA_LIGHT

FontWeight = {200}

LIGHT

FontWeight = {300}

NORMAL

FontWeight = {400}
Commonly used font weights for regular/normal typefaces

MEDIUM

FontWeight = {500}

SEMI_BOLD

FontWeight = {600}

BOLD

FontWeight = {700}
A commonly used font weight that is heavier than normal

EXTRA_BOLD

FontWeight = {800}

BLACK

FontWeight = {900}

EXTRA_BLACK

FontWeight = {1000}
Last modified on October 29, 2026