Skip to content

SVG Sprites #185

@pbywater

Description

@pbywater

This would help clean up our svgs if we're able to implement it

Some possible handy tips from Oli:

Basically you can have a plugin or something take a folder full of SVG files and turn them into a single big SVG with all the individual icons inside the tag

this means you can include this big SVG on the page and hide it with display: none
then reference the icons in the big SVG like this:
<svg viewBox"0 0 32 32><use xlink:href="#myiconsID"></use></svg>

https://css-tricks.com/svg-sprites-use-better-icon-fonts/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions