element | HTMLElement string | (optional) Defines the Element Type, like p. |
size | "x-small" "small" "basis" "medium" "large" "x-large" "xx-large" | (optional) Sets the font size, also sets the line-height if lineHeight property is not set. |
lineHeight | "x-small" "small" "basis" "medium" "large" "x-large" "xx-large" | (optional) Sets the line height, will use same value as size if not set. |
align | "center" "left" "right" | (optional) Sets the text alignment. |
family | "basis" "heading" "monospace" | (optional) Sets the font family. |
weight | "regular" "medium" | (optional) Sets the font weight. |
decoration | "underline" | (optional) Sets the font decoration. |
slant | "italic" | (optional) Sets the font style. |
proseMaxWidth | number boolean | (optional) Sets the maximum width based on character count. This will limit the text width to approximately the specified number of characters. Use true for a default value of 60ch. |
Space | string object | (optional) Spacing properties like top or bottom are supported. |