Skip to content

图标

图标目前采用的是 iconify 的 vue 组件,更多信息可查看这里

INFO

无需引入,可直接使用

Usage

vue
<template>
  <w-icon icon="ant-design:home-outlined" />
</template>

Props

名称类型默认值说明
iconstring-图标字符串
heightstring-图标高度
widthstring-图标宽度
colorstring-图标配色
flipstring-翻转
alignstring-排列
rotatestring/number-旋转
inlineboolean-行内图标
sliceboolean-裁剪
hFlipboolean-水平翻转
vFlipboolean-垂直翻转
hAlignboolean-水平排列
vAlignboolean-垂直排列

Released under the MIT License.