Icon
Attribute description
Attribute name | Type | Description | Default value |
---|---|---|---|
icon-set | string | Specify the prefix of the icon library to be used, e.g. material-icons 、fas 、bx 、iconfont 、iconpark , etc. | None |
name | string | The name of the icon, which must match the name of the icon in the corresponding icon library. | None |
size | string | The size of the icon, which can be any valid CSS size value (e.g. 2rem , 24px ). | '1rem' |
color | string | Icon colour, supports any valid CSS colour value (e.g. red , #333 ). | inherit |