npmstart.
Exercises
中文

Customize a scalable folder icon with SVG-Edit

Start with editable SVG, change its color and dimensions, then check it at a small size.

SVG-EditReviewed 2026-11-10Original example exercise

What you will make

An editable SVG icon that remains recognizable at 24 pixels.

Before you begin
The SVG-Edit demo and the original folder-icon.svg sample.

Menu names can change. The upstream demo is externally operated and may differ from the pinned local version.

Load the vector source

Download the folder sample and open it through the SVG-Edit file menu. Select its shapes to confirm you have editable vector content rather than an embedded bitmap. The sample uses basic paths and a viewBox, with no external images or fonts. Save a separate copy before changing it so you have a reliable comparison.

Change one visual property first

Select the outline and adjust its stroke or fill while leaving the geometry unchanged. Compare it on light and dark surfaces. The opening and body relationship matter more than decorative detail. When using the icon in a button, the interface still needs suitable visible wording or an accessible name; the drawing alone does not supply that context.

Distinguish display size from drawing coordinates

The sample viewBox is 0 0 64 64: the internal drawing area. Width and height control the default display size, not the path coordinates. Preserve the square ratio and inspect the icon at 64, 32 and 24 pixels in its intended context. If edges are clipped, check whether the stroke extends beyond the drawing area rather than trusting an enlarged editor preview.

Simplify at the size people will use

Remove detail that disappears at the target size and adjust a stroke that becomes too thin. Return to 24 pixels after each meaningful change. Keep text outlines, complex masks and external resources out of this introductory exercise. The goal is a clear, maintainable icon, not a complete identity system or a production-ready icon family.

Save SVG and check its destination

Save the SVG and reopen it in a browser. Export a PNG separately if needed, while retaining the editable source. Check contrast, clipping and dimensions in the real button or document. Review externally obtained SVG content before using it. This sample has no scripts or external links; that property should not be assumed for every SVG file.

Check your result

  • Shapes remain selectable and the source is SVG.
  • The outline is legible and unclipped at 24 pixels.
  • The reopened file retains the intended colors and dimensions.

The export has excessive empty space?

Check the page and viewBox bounds against the drawing. Keep the original before changing the page boundary.

Sources and further reading

This exercise is original. Consult these primary sources for project behavior and syntax.