Skip to content

Typography 排版

文本的基本格式。

基础用法

标题

标题

标题

标题

标题
标题
vue
<ImTitle level="1">标题</ImTitle>
<ImTitle level="2">标题</ImTitle>
<ImTitle level="3">标题</ImTitle>
<ImTitle level="4">标题</ImTitle>
<ImTitle level="5">标题</ImTitle>
<ImTitle level="6">标题</ImTitle>

文本样式

文本

文本

文本

文本

文本

vue
<ImText>文本</ImText>
<ImText color="primary">文本</ImText>
<ImText color="error">文本</ImText>
<ImText color="success">文本</ImText>
<ImText color="warning">文本</ImText>

链接样式

链接文本
vue
<ImLink href="#">链接文本</ImLink>

API

ImTitle

属性说明类型默认值
level标题等级1 | 2 | 3 | 4 | 5 | 61

ImText

属性说明类型默认值
color文本颜色primary | error | success | warning-
属性说明类型默认值
href链接地址string-

基于 MIT 协议发布