- Create a SVG spritesheet: Replace Discourse's default SVG icons with custom icons in a theme
- In your theme component, upload your spritesheet and set the variable name to
icons-sprite
:
- In the component settings, use the id of the desired icon from your spreadsheet. For example if I have an icon id named
my-icon
in my spreadsheet, I write this:
Result: