DEV Community

Discussion on: Do you make your SVG using code? or using software?

Collapse
drmandible profile image
DrMandible • Edited

I'm late to the party here, but it depends on what kinds of graphics you need. If you need to generate complex artwork, then you will likely need an editor as others have suggested. Definitely recommend using svgomg.firebaseapp.com to clean them up.

But if you're making graphs, ui elements, etc, those can (should?) be done programmatically.

There's also a hybrid approach. Load your svg then alter it with code. This is common with :hover to change colors. Also common for dynamic icons that are modified based on context (ie a new message alert).