Skip to content

Preparation

在使用动态图标之前,请先确保你的项目安装了 element-plus icons

sh
$ npm install @element-plus/icons-vue
sh
$ yarn add @element-plus/icons-vue
sh
$ pnpm install @element-plus/icons-vue

Dynamic Icon

API

参数说明类型默认是否必须
iconIcon name in Ant DesignStringundefinedtrue
colorIcon colorStringcurrentColorfalse
widthIcon widthStringundefinedfalse
heightIcon heightStringundefinedfalse

基于 MIT 许可发布