It's a vector graphic format, widely supported. Its size is tiny, you can modify it on the fly.
Change the visible part of it, change its dimensions, colorings or effects. You can animate it. You can do all listed modification by code.
What else do you need?