Text
Basic text component with built-in styling and semantic variants.
Installation
Add the component to your project using the following command:
Usage
Import
Import the component and its related parts.
Structure
The expected structure and composition of the component.
You may want to use the render prop to pass a custom link element. See the Customization page for more details.
Props
Each component part, its responsibility, and the props it exposes.
<Text>
This component extends the JSX p element.
<TextLink>
This component extends the JSX a element.
Examples
Link
To create a link, use the TextLink component.
Strong
To create a strong text, use the Strong component.
Code
To create a code text, use the Code component.