Skip to main content
TextAn enhanced version of React Native's Text component providing additional features and modifiers support
PlaygroundCode Example
INFO
This component support margins, color, typography modifiers.
TIP
This component extends the Text props.
APIThis is the list of additional props for the component

animated
boolean

Use Animated.Text as a container

center
boolean

Whether to center the text (using textAlign)

color
string

Color of the text

highlightString
HighlightString | HighlightString[]

Substring to highlight. Can be a simple string or a HighlightStringProps object, or an array of the above

highlightStyle
TextStyle

Custom highlight style for highlight string

recorderTag
'mask' | 'unmask'

Recorder Tag

underline
boolean

Whether to add an underline

uppercase
boolean

Whether to change the text to uppercase