Skip to main content

Text Variants

Control typographic variants like small-caps or numbers.

Import​

src/screens/Component.js
import { text } from "nativeflowcss";

Properties​

ObjectNative propertiesExample Text
text.smallcaps{ fontVariant: "small-caps" }Aa123
text.oldstyle{ fontVariant: "oldstyle-nums" }Aa123
text.lining{ fontVariant: "lining-nums" }Aa123
text.tabular{ fontVariant: "tabular-nums" }Aa123
text.proportional{ fontVariant: "proportional-nums" }Aa123