Text is our basic component for rendering text, use it for any non-heading text
Sizes
Capsize is used to size the text to the height of its capital letters, trimming the space above capital letters and below the baseline.
<Text size="sm">Anything smaller than body text. E.g. "forgot your password?" prompts</Text>
<Text>Body text. Most text in the app will use this.</Text>
<Text size="lg">Large, non-heading text. E.g. a drop quote in an article</Text>
API Reference
Prop | Type | Default | Required |
---|---|---|---|
size | "xs" | "sm" | "md" | "lg" | "xl" | md | - |
noCapsize | boolean | - | - |