Skip to main content

Text

Use text to present your design and content as clearly and efficiently as possible.

Too many type sizes and styles at once can spoil any layout. A typographic scale has a limited set of type sizes that work well together along with the layout grid.

💬 Feedback 🎨 Material Design

Import

import { Text } from "@react-native-material/core";

Usage

Props

variant

The variant of the text.

Type: TypographyVariant;

Default: "body1"

Optional: Yes


color

The color of the text.

Type: Color;

Default: "on-background"

Optional: Yes


...TextProps