Text

Display text using well-defined typographic styles.

Headings

Use Text to standardize text content.

Paragraph

Add p and b attributes to a Text.

Small

Blockquote

Types

Sizes

Compose

Effect of multiple Text stacks

APIs / Schnittstellendokumentation

Text.Props

AttributeDescriptionTypeAccepted valuesDefault
pcomponent nameboolean-true
h1 - h6component nameboolean-false
smallcomponent nameboolean-false
spancomponent nameboolean-false
delcomponent nameboolean-false
icomponent nameboolean-false
emcomponent nameboolean-false
bcomponent nameboolean-false
blockquotecomponent nameboolean-false
sizesize of textstring / number-follow elements
typetext typeNormalTypesTextTypesdefault
...native propsHTMLAttributes'id', 'className', ...-

TextTypes

type TextTypes = 'default' | 'secondary' | 'success' | 'warning' | 'error'

Co-Creators