element/examples/docs/en-US/icon.md
杨奕 4ccb8ea9ae Merge i18n to master (#972)
* init i18n

* update router

* finish router

* Review: message/messageBox/notification

* Tag: update doc

* Review: pagination/popover/progress

* i18n: sync with master
2016-11-10 21:46:55 +08:00

1.7 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="search">Search</el-button>

:::

Icons

  • {{'el-icon-' + name}}