Simal UI
Components

Text

Import

import { Text } from '@simal/ui/nativewindui';

Props

PropValuesDefaultDescription
variant"body"Type scale, following the iOS text styles. Sets size and line height only — weight and colour are separate.
color"primary"Emphasis, not hue. primary inherits the surrounding colour; the other three step down through the foreground and muted tokens.
classNameUtilities layered on top. Weight, alignment and any one-off colour go here rather than through color.

Examples

Scale

The full type scale, top to bottom — the reference for picking a variant.

Colors

The four emphasis levels, all at body size.

On this page