You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Variable fonts support in React Native is currently limited compared to native iOS/Android and web platforms. While React Native supports variable fonts, it lacks fine-grained control over font variations that designers and developers need.
Web platforms use font-variation-settings to specify custom font characteristics, enabling:
Non-standard font weights (e.g., 450 between regular and medium)
Custom axes defined by font designers
Standard variation axes (weight, width, slant, etc.)
Symbol font variations (fill, optical size, etc.)
Details
Both iOS and Android platforms natively support variable font features. We propose exposing these capabilities through React Native's Text component API, matching the CSS implementation pattern.
We've created proof-of-concept implementations for both iOS and Android, supporting both old (Paper) and new (Fabric) architectures.
Implementation examples
Custom Font Weights
<Textstyle={{fontFamily: 'Inter',fontVariationSettings: '"wght" 850'}}>
Extra Bold Text
</Text>
Just ran into this today. The font weights for variable font with Raleway for example work even now (but on android you need to add a according font.xml). But when using Material Symbols the font weight just won't work on iOS. My only assumption is because I would actually need to set the font-variation-settings. And this is even more painful when you try to use properties like fill etc which have no equivalent in classic css props.
Introduction
Variable fonts support in React Native is currently limited compared to native iOS/Android and web platforms. While React Native supports variable fonts, it lacks fine-grained control over font variations that designers and developers need.
Web platforms use
font-variation-settings
to specify custom font characteristics, enabling:Details
Both iOS and Android platforms natively support variable font features. We propose exposing these capabilities through React Native's Text component API, matching the CSS implementation pattern.
We've created proof-of-concept implementations for both iOS and Android, supporting both old (Paper) and new (Fabric) architectures.
Implementation examples
Key Features:
Screenshots
Discussion points
The text was updated successfully, but these errors were encountered: