One hidden <svg> of <symbol>s, for a host that shows many glyphs and
wants each path in the document once. Inject it once, then place glyphs with
iconUse. Symbols carry the paths and viewBox, and no stroke: the weight
inherits from the <svg> around each <use>, so one sprite serves every
weight. An accent carries its fill, the one attribute it cannot inherit,
and no stroke, since the glyph's own path outlines it.
Default: every tool glyph. Repeated ids collapse to one symbol, since a
duplicate element id is an invalid document.
One hidden
<svg>of<symbol>s, for a host that shows many glyphs and wants each path in the document once. Inject it once, then place glyphs withiconUse. Symbols carry the paths and viewBox, and no stroke: the weight inherits from the<svg>around each<use>, so one sprite serves every weight. An accent carries its fill, the one attribute it cannot inherit, and no stroke, since the glyph's own path outlines it.Default: every tool glyph. Repeated ids collapse to one symbol, since a duplicate element id is an invalid document.