Skip to content

Icons 图标

Icons 图标打开
9:41
/pages/icons/index

介绍

weui-icon 用于展示 WeUI 内置图标,支持普通尺寸、消息页尺寸和 toast 尺寸。

基础用法

vue
<weui-icon type="success" />
<weui-icon type="warn" size="msg" />
<weui-icon type="success-no-circle" size="toast" />

Props

属性说明类型默认值
type图标类型,会拼接为 weui-icon-${type}string'success'
size尺寸样式,可选 msgmsg-primarytoaststring''
label无障碍说明string''

Slots

暂无。

Events

暂无。

Released under the MIT License.