Skip to main content

Text

Text is a typography element that displays content with theme type styles, such as screen titles, body copy, or captions.

Import

import { Text } from '@vortexlabs/vortex-native';
import type { TextProps } from '@vortexlabs/vortex-native';

Other links

Text props
PropTypeDefaultAttributes
size
union
body-md
weight
union
No default value
color
union
default
align
union
No default value
decoration
"line-through"
No default value
lineClamp
number
No default value
tabularNums
true
No default value
children
React.ReactNode
No default value
style
object
No default value
attributes
object
No default value