A
AstraWind
v0.2.0
System
Typography

font-family

Utilities for controlling the font family of an element.

Quick reference

1 of 3 classes apply on React Native
Class
Styles
React Native
font-mono
font-family: var(--font-mono);
fontFamily: ui-monospace
font-sans
font-family: var(--font-sans);
No native equivalent
font-serif
font-family: var(--font-serif);
No native equivalent
The React Native column is what AstraWind resolves each class to, computed live on this page with the current color scheme. Classes with no native equivalent are accepted without effect, and AstraWind warns about them in development. See Compatibility.