SVG describes, not paints
SVG expresses shapes in XML: rect, circle, line, polygon, path and text, each carrying coordinates and style attributes. Because it does not store per-pixel colour, it scales without loss and stays small. The tool exposes six primitives visually, with fill, stroke and stroke width shared across them while geometric parameters change per shape.
Steps
- Choose rectangle, circle, line, polygon, path or text.
- Drag or type dimensions and position — width and radius for rects and circles, endpoints for lines, sides and radius for polygons, control points for paths.
- Fill sets the interior, stroke colour and width set the outline; transparent fill removes the interior.
- Generate refreshes the preview, Copy code takes the source, Download SVG saves a file.
- After pasting, adjust viewBox to the real layout size.
Attributes worth knowing
viewBox declares the coordinate system as min-x, min-y, width and height, and changing it without moving elements shifts the drawing. Fill accepts colour, gradients or none; stroke draws the outline at stroke-width, defaulting to one, where hairlines vanish when scaled down. The path d attribute uses commands: move, line, cubic, quadratic and close. Polygon points are coordinate pairs matching the intended vertex count.
After export
Inline SVG accepts CSS colouring, while an img reference blocks outside styles. Size via width and height or max-width for responsive behaviour. Accessibility needs title and role, with aria-hidden on decoration. Generated markup often carries redundant attributes, so compress before shipping. And text referencing system fonts distorts elsewhere — convert to paths when consistency matters.
Poor fits
Photographs and intricate gradient art bloat into oversized node trees. Pixel-level filters such as blur, noise and glow are limited and slow. Long documents need real text flow, which SVG cannot paginate. Print vendors prefer PDF or native formats even when SVG works. Icons are the sweet spot: one SVG replaces a ladder of PNG sizes.