Icon
Icon
Any icon can be obtained using a template.
js
import IconNameSize from '@semcore/icon/iconName/size';IconProps
| Name | Type | Description |
|---|---|---|
| color | string | Icon color |
| m | number | string | CSS `margin` property |
| mt | number | string | CSS `margin-top` property |
| mr | number | string | CSS `margin-right` property |
| mb | number | string | CSS `margin-bottom` property |
| ml | number | string | CSS `margin-left` property |
| mx | number | string | CSS `margin-left` and `margin-right` property |
| my | number | string | CSS `margin-top` and `margin-bottom` property |
| scaleIndent | number | Multiplier of all indents. For example, if you specify a margin-top equal to 3 (mt = {3}), it will be 12px (3 * 4 = 12). |