Just inlining SVG seems to be the easiest and most flexible icon system. But that chunk of might have a, and you might be appying IDs to both of those elements for various reasons….
Source: https://css-tricks.com/youre-inlining-svg-icons-deal-unique-titles-ids/