Skip to content

vx-chip 徽章 ​

API ​

Props ​

NameIntroductionTypeDefault Value
presets预设尺寸String"badge"
round是否使用圆角Booleanfalse

除此之外所有的 v-chip 原生 props 都可使用 v-bind:[props]="[value]" 实现或覆盖

Slots ​

v-slot:default ​

默认内容区域插槽

v-slot:prepend ​

按钮内文字前图标区域

v-slot:append ​

按钮内文字前图标区域

颜色和圆角 ​

variant ​

带图标 ​