Badge to SVG