SVG
An XML-based vector format for the web.
See it on the 3D treeGoing deeper
The file is readable text describing paths, shapes, text and gradients. Placed inline in a page, its parts can be styled with CSS and changed with scripts. Complex artwork with thousands of paths can become heavier and slower than an equivalent raster image.
Why it matters
It stays sharp on every screen and can be recoloured or animated without exporting a new asset for each variation.
In practice
You export an interface icon as SVG and set its fill to inherit the text colour, so it follows light and dark themes.
Common mistake
Exporting straight from a design tool without removing hidden layers, extra metadata and needlessly precise coordinates.
Connected terms
- VectorSVG is a file format for storing vector graphics.
- FaviconAn SVG favicon can scale cleanly in browsers that support it.
- IconA common format for interface icons because they stay crisp at any size.
- Image OptimizationSVG files often shrink noticeably once redundant code is stripped out.
- LottieAnother route to vector animation, playing exported animation data instead of hand-built SVG.
- MorphingSVG paths can be animated from one shape into another.
- Web DesignSVG is a routine choice for logos, icons and simple illustration on websites.