How to Reuse Stroke Styles Across SVG Icons

By the Axialis Engineering team ·

The same six Axialis Office Pro icons before and after applying a blue two-unit stroke

Save the style. Reuse the settings.

Configure an appearance once, save it as a named style, then reuse its stroke settings across six related SVG icons. Create separate styled copies so you can compare the results while keeping the sources intact.

This walkthrough ends with six styled SVG copies and unchanged source files. It uses real Axialis Office Pro artwork: new.svg, open.svg, print.svg, save.svg, search.svg and settings.svg.

Disclosure: we make IconVectors at Axialis. This workflow was tested on Windows in IconVectors 2.20; the screenshots show that interface.

Before you start

Six original Axialis Office Pro SVGs in IconVectors Explorer before the batch operation

The six files used in the demonstration. The folder arrow is navigation, not a seventh source icon.

1. Configure the appearance on one drawable

Open a working copy of new.svg in the Editor. Select its outer page shape, rather than the parent group or the whole icon. With that single element selected, use the Control Bar's stroke controls to set:

Keep the white fill. The saved appearance can include a fill even though you will later apply only its stroke settings. This example uses a solid, fully opaque stroke without dashes.

The outer page polygon selected in the Editor, with a blue two-unit outline and the STYLES panel open

One drawable is the source of the preset. The separate fold detail has not been restyled at this preparation step.

2. Save that appearance as a reusable style

  1. Keep exactly one visible, unlocked drawable selected. A group or multiple elements cannot be the source for this single-style command.
  2. Open View → Colors, then choose the STYLES tab. Use Libraries if a Libraries / This Icon toggle is visible.
  3. Choose a library, such as My Styles, or create your own through Icon → Styles → New Style Library…. The screenshots use Styles Tutorial Check.
  4. Choose Icon → Styles → New Style from Selection…. The plus button beside the library selector invokes the same capture command.
  5. Replace the default name with Toolbar / Outline / Blue, then click OK.
The real New Style from Selection name dialog with the default New Style text selected and OK and Cancel buttons

Enter your preset name in this dialog; the screenshot shows the default name before replacement.

The accepted preset is saved immediately in the selected library. Saving the SVG is a separate action. Save your reference icon as a separate working file if you want to retain that edit.

The STYLES Libraries panel containing the newly saved page-appearance preset in Styles Tutorial Check

The preset stores appearance, not the page shape or its coordinates. Its small gallery sample does not mean the source geometry will replace your other icons.

The 20-second demonstration starts with a style already saved. It shows the batch options, preview and creation of copies.

3. Select the six files and choose Stroke only

Save any wanted edits and close the six source files in the Editor before batch processing. In Explorer, open the working folder and select exactly the six SVG files. Choose Explorer → Batch Processing → Apply Style….

In Batch Process: Apply Style, select your library and Toolbar / Outline / Blue. Set:

The real Batch Process Apply Style dialog showing the saved preset, Stroke only, All artwork, Create Copies and the output folder

Choose Create Copies explicitly: the initial default is Modify Originals. Do not assume the dialog is still at its initial defaults; it remembers options.

Stroke only copies the stroke paint, stroke opacity, width, dashes, caps and joins. It retains fill properties and element opacity. Geometry, placement and canvas dimensions stay unchanged.

All artwork applies those settings to every supported drawable in each selected SVG, including descendants of groups. It is not limited to whatever was selected in the Editor. Treat it as restyling the artwork, rather than merely recoloring existing visible lines. Inspect filled details too.

4. Inspect the batch preview, then create the copies

Click Preview Changes. In Confirm Apply Style, check the library, preset, Stroke only mode, All artwork targets and destination. For this set, the preview shows 6 selected, 6 output files, 6 changed, and 0 unchanged, unsupported or failed. There are no existing files to replace.

Confirm Apply Style listing six changed files, zero failures, the before-and-after page preview and six planned output paths

Read the per-file findings and every planned path. The representative image is a sample, not six individual visual inspections. Use Back if you need to change the preset or options, then build a fresh preview. Once the plan is correct, click Create Copies.

Explorer batch writes are outside Editor Undo. Creating copies preserves your inputs, but replacing an existing output would still modify that file.

5. Inspect all six results at their intended size

Open the destination folder and check for new-styled.svg, open-styled.svg, print-styled.svg, save-styled.svg, search-styled.svg and settings-styled.svg.

Six resulting blue-stroke SVG copies in the output folder

Open each result in the Editor and compare its outline and filled details with its source. Inspect every icon at its intended display size. Matching stroke settings does not guarantee balanced results on every shape: the two-unit stroke shown here makes some small details heavy, particularly the printer's horizontal lines. If details become crowded, reduce the preset's width and preview a new set of copies. The screenshots keep the two-unit setting so you can see that trade-off.

6. Change the preset later? Apply it again

A library preset is an independent snapshot. Editing it does not automatically update previously styled icons.

When you want that revision across a set, select the files again, choose the updated preset, review a fresh preview and create a new set of copies.

Technical notes — optional

For setup and further details, see Working with Styles, Batch Apply Style, or the IconVectors homepage.

Back to all tutorials

Start Making SVG Icons Today with IconVectors

Download the fully-functional 30‑Day Free Trial and unlock your icon design workflow.

IconVectors 2.20 for Windows, macOS and Linux.