This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
Text
A component for displaying styled text content.
Android
iOS
Web
Included in Expo Go
Recommended version:
~56.0.26
A component for displaying text. Adapts to the platform color scheme (light/dark) by default and exposes a focused subset of typography knobs through textStyle.
Installation
Terminal
If you are installing this in an existing React Native app, make sure to install expo in your project.
Usage
Basic text
TextExample.tsx
Styled text
Use textStyle for typography-specific properties (font size, weight, alignment).
StyledTextExample.tsx
Truncating long text
Use numberOfLines to clamp long text with a trailing ellipsis.
TruncatedTextExample.tsx
API
import { Text } from '@expo/ui';
No API data file found, sorry!