Skip to content

Icon

Icon

Any icon can be obtained using a template.

js
import IconNameSize from '@semcore/icon/iconName/size';

IconProps

NameTypeDescription
colorstring Icon color
mnumber | string CSS `margin` property
mtnumber | string CSS `margin-top` property
mrnumber | string CSS `margin-right` property
mbnumber | string CSS `margin-bottom` property
mlnumber | string CSS `margin-left` property
mxnumber | string CSS `margin-left` and `margin-right` property
mynumber | string CSS `margin-top` and `margin-bottom` property
scaleIndentnumber Multiplier of all indents. For example, if you specify a margin-top equal to 3 (mt = {3}), it will be 12px (3 * 4 = 12).

Released under the MIT License.

Released under the MIT License.