Function: Text()
Text(
__namedParameters):Element
Defined in: components/Text/Text.tsx:123
Running copy and labels bound to the FSL type scale.
Entity = Structure. variant picks the step of the body/label scale — there
is no raw font-size vocabulary, which is how the theme's typography reaches
the screen consistently. tone="muted" is the sanctioned way to build text
hierarchy (secondary copy recedes); otherwise colour is inherited from the
surface.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | TextProps |
Returns
Element
Example
<Text>Your changes are saved automatically.</Text>
<Text variant="label-md" tone="muted">Last updated 2 minutes ago</Text>