Text
This is an example Text
Name | Type | Default | Description | Test |
|---|---|---|---|---|
alignment | string | left | Aligns the Text accordingly. Left, Center, Right and css is supported. | |
color | string | font-grey-medium | Sets the text color. Use any theme color or css value. | |
content | string | null | Sets the displayed text. | |
font-family | string | tbd | tbd | |
monospace | boolean | false | Forces the font to be monospace. Used for displaying code. | |
one-line | boolean | false | Restricts text to one line. | |
selectable | boolean | true | Allows the text to be selected. Very useful in case of a button or drag and drop text. | |
size | string | font-size-text-md | Sets the font size. CSS is allowed here. | |
weight | integer | 400 | Defines the weight of the text. |
Text
null
Name | Type | Default | Description | Test |
|---|---|---|---|---|
alignment | string | left | Aligns the Text accordingly. Left, Center, Right and css is supported. | |
color | string | font-grey-medium | Sets the text color. Use any theme color or css value. | |
content | string | null | Sets the displayed text. | |
font-family | string | tbd | tbd | |
monospace | boolean | false | Forces the font to be monospace. Used for displaying code. | |
one-line | boolean | false | Restricts text to one line. | |
selectable | boolean | true | Allows the text to be selected. Very useful in case of a button or drag and drop text. | |
size | string | font-size-text-md | Sets the font size. CSS is allowed here. | |
weight | integer | 400 | Defines the weight of the text. |