Options shared by the inline builders.

interface IconSvgOptions {
    className?: string;
    size?: string | number;
    stroke?: number;
}

Properties

className?: string

A class for the host's own styling.

size?: string | number

Width and height. A number is CSS pixels; a string is written verbatim, so '1em' sizes the glyph with the surrounding text. Default: the grid's native size (24 for tools, 16 for chrome), where the stroke is crispest.

stroke?: number

Stroke width in viewBox units. Default: the tier's *_STROKE.