Text

A typographic component for styling and displaying text with consistent typography scales.

This is sample text

        
        
        
    
Property Description Type
size Determines the size of the text. xs | s | m | l | xl | 2xl | 3xl
weight Determines the boldness of the text. regular | Bold | black
variant Changes the color of the text to be more or less prominate. default | weak | weaker | weakest
as Changes the html element rendered. p | span | h1 | h2 | h3 | h4 | h5 | h6
measure Sets the maximum width of the paragram text. none | s | m | l
mono Displays the mono font. Used specifically for code snippets and examples. boolean
align The direction the text is aligned. start | center | end