Component: Text

Purpose: Use this component to add and format text on your page. Suitable for headings, paragraphs, and any other text content.

Props

Prop Name
Label
Type
Default Value
Description

content

Content

richtext

Text Content

Text to display

size

Size

picklist

Default

Size only changes the text when Variant = Body. Options: Default, Small, Medium, Large

weight

Weight

picklist

Default

Weight only changes the text when Variant = Body. Options: Default, Regular, Emphasised

variant

Variant

picklist

Body

Determines the underlying HTML type of the text, which will drive format and styling. Options: Heading 1, Heading 2, Heading 3, Body

Last updated

Was this helpful?