Skip to main content
type FontWidth =
  | "compressed"
  | "condensed"
  | "standard"
  | "expanded";

Values

compressed
string
The most compressed font width. Characters are very narrow with tight spacing.
condensed
string
A condensed font width. Characters are narrower than standard but wider than compressed.
standard
string
The standard font width. This is the default width for most fonts.
expanded
string
An expanded font width. Characters are wider than standard, creating more horizontal space.

Usage

Text("Condensed text")
  .fontWidth("condensed")

Text("Expanded text")
  .fontWidth("expanded")

Text("Compressed text")
  .fontWidth("compressed")