--- name: element-plus-icon description: Element Plus Icon component (el-icon) API documentation. Triggers when user wants to use, implement, or asks about el-icon or Icon component. --- # Icon 组件 API ## Attributes | Name | Description | Type | Default | | ----- | -------------------------- | --------------------- | ---------------------- | | color | SVG tag's fill attribute | ^[string] | inherit from color | | size | SVG icon size, size x size | ^[number] / ^[string] | inherit from font size | ## Slots | Name | Description | | ------- | ------------------------- | | default | Customize default content | ## 参考 - 官方文档: https://element-plus.org/en-US/component/icon.html