Skip to content

Gradient Text 渐变文字 ​

这个东西看起来没啥用,如果你不需要

基础用法 ​

它有不同的类型,使用属性 type 定义, 默认类型是 primary

Primary
Success
Warning
Error
Info

设置大小 ​

使用属性 size 定义大小,其实使用css直接定义也挺方便

设置文字大小
设置文字大小
设置文字大小
设置文字大小
设置文字大小

自定义 ​

定制渐变颜色
定制渐变颜色
定制渐变颜色

Api ​

Props ​

属性说明类型可选值默认值
type渐变文字的类型Stringprimary/success/warning/error/infoprimary
size文字大小Boolean-false
gradient文字渐变色参数Boolean-false

Slots ​

slot 名称描述
default渐变文字的内容

MIT Licensed