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 size the tier is drawn for (ICON_SIZE for tools, CHROME_ICON_SIZE for chrome).

stroke?: number

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