mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-05 05:38:24 +08:00
1.3 KiB
1.3 KiB
Icon
Element provides a set of common icons.
Basic usage
Just assign the class name to el-icon-iconName
.
:::demo
<i class="el-icon-edit"></i>
<i class="el-icon-share"></i>
<i class="el-icon-delete"></i>
<el-button type="primary" icon="el-icon-search">Search</el-button>
:::
Icons
- {{'el-icon-' + name}}