Skip to main content
Version: 0.1.x

Icon component properties

For all iconset, it provide below properties:

NameTypeRequirdVersionDescription
namestringYes0.1.20Icon name from the iconset
variantstringNo0.1.20Variant from the iconset. In general, it will be 'regular' or default variant from that iconset.
colorstringNo0.1.20The current color of the icon.
sizestring, numberNo0.1.20The sizing of the icon.
fontSizestring, numberNo0.1.20The sizing of the icon. If fontSize give, it will override size values.

For core Icon component, it provide below extra properties:

NameTypeRequirdVersionDescription
contentIconSVGNo0.1.20The dataset for rendering SVG Icon.