# Scalable Vector Graphics (SVG)

> The web's vector image format. A text file of shapes that stays sharp.

**Field:** Design  
**Category:** Visual Communication  
**Also known as:** SVG, SVG File

## Think of it like

It is like a drawing written as a list of steps. Any browser can follow the steps.

## Definition

SVG is the vector image format of the web. An SVG file is plain text that lists shapes, lines and colors. Browsers draw it sharp at any size, and the file is often tiny. Because it is text, code can change its colors or animate its parts. It is the usual format for icons and logos on websites.

## Example

A site swaps its PNG icons for SVG icons. They look crisp on every screen, and the files shrink.

## Example code

```xml
<svg viewBox="0 0 24 24" width="24" height="24">
  <circle cx="12" cy="12" r="10" fill="currentColor"/>
</svg>
```

A whole icon in three lines. The circle takes the color of the text around it.

## Why it matters

Icons and logos in SVG stay sharp on every screen and load fast.

## Common mistake

Pasting an SVG from a design tool with no cleanup. It can carry a lot of junk that bloats the file.

## Three principles

- **Vectors for the web.** Browsers draw it natively.
- **It is text.** Code can style and animate it.
- **Small and sharp.** Ideal for icons and logos.

## Related terms

- [Vector Graphic](https://learn.benibix.com/term/design/vector-graphic)
- [Icon](https://learn.benibix.com/term/design/icon)
- [Raster Image](https://learn.benibix.com/term/design/raster-image)
- [HyperText Markup Language (HTML)](https://learn.benibix.com/term/development/html)

## Taught in

- [Raster vs Vector Images](https://learn.benibix.com/learn/design-visual-communication/raster-vs-vector-images): Color and Images, 7/13

---

Source: https://learn.benibix.com/term/design/scalable-vector-graphics
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
