Using the SVG icon sprite builder
Separate your SVG documents with a line containing three hyphens. Each icon becomes a symbol named icon-1, icon-2 and so on. Internal IDs and local references are prefixed so gradients and clip paths do not collide.
Worked example
Two input SVGs become symbols named icon-1 and icon-2. Use an SVG use element pointing to #icon-1 to display the first icon.
Before you rely on the result
Only self-contained SVGs with a viewBox or numeric width and height are supported. Active content, stylesheets and external resources are rejected. Review the exported sprite in the application where it will be used.
Cite this page
ToolOctopus. “SVG icon sprite builder.” Updated . https://tooloctopus.com/svg-icon-sprite-builder.
Add an access date if your instructions require one.
Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. License and source code.