naive-ui/demo/documentation/components/typography/enUS/index.md
2020-01-27 21:44:31 +08:00

927 B

Typography

Naive UI provides some basic styling for common HTML tags. It also provides some components to render text better.

Layout is a kind of art.

Demos

header
tags
text

Props

Text

Name Type Default Description
type 'default' | 'success' | 'info' | 'warning' | 'error' 'default'
strong boolean false
italic boolean false
underline boolean false
delete boolean false
code boolean false

H1, H2, H3, H4, H5, H6

Name Type Default Description
align-text boolean false
type 'default' | 'success' | 'info' | 'warning' | 'error' 'default'
prefix 'bar' null

A

Name Type Default Description
to string null

Ul, Ol

Name Type Default Description
align-text boolean false

Blockquote

Name Type Default Description
align-text boolean false