Enum TextSize
Sizing values for Text UI element.
Namespace: Unity.AppUI.UI
Assembly: Unity.AppUI.dll
Syntax
public enum TextSize
Remarks
The scale keeps the 2.3 member names (XS to XXXL) and mirrors the App UI
design-system registry's textVariants size vocabulary (xs, sm, base, lg, xl, 2xl, 3xl):
M is the registry's base. Every step resolves to an --appui-font-sizes-* token, so the
rendered size follows the density in effect.
Fields
| Name | Description |
|---|---|
| L | Large — |
| M | The default body size — |
| S | Small — |
| XL | Extra-large — |
| XS | Extra-small — |
| XXL | Double extra-large — |
| XXXL | Triple extra-large — |