svg-sprite-icons

Installation
SKILL.md

SVG Sprite Icons

Icons are stored as individual SVG files, compiled into a single symbol sprite by a script, and rendered through an Icon component that references sprite symbols with <use>. The browser downloads one sprite file instead of inlining every icon into the JS bundle.

Structure

app/assets/icons/*.svg   — source icons, one file per icon; the file name becomes the symbol id
app/assets/sprite.svg    — generated sprite, committed to the repo
scripts/svg-sprite.js    — generation script
app/uikit/Icon/          — Icon component (see the react-component skill for folder conventions)

Source icons

Installs
15
First Seen
Jul 10, 2026