Skip to content
File formats and productionguide

How to reuse an SVG symbol across repeated icon buttons

By SkeuDesign Editorial Team1 min read

Answer in brief

Define the drawing once as a symbol with a viewBox. Render each instance with an svg containing use, and give each button a name appropriate to its row.

Build a list of download actions

Define a download-arrow symbol, then reference its id from each row. Name one button “Download April invoice” and another “Download May invoice”. Check that changing the symbol updates every arrow without merging the buttons' names.

Separate the reused drawing from its clickable area

Keep interaction on each native button around its symbol instance. This gives the page a separate target and accessible name for every row even though the artwork is shared. Activate the second and last download actions after reordering the table and confirm each command still uses its own row's identifier.

Sources

  1. [1] <use> - SVG — MDN Web Docs, accessed November 23, 2026

Frequently asked questions

Why is the reference blank?

Check the fragment spelling, the symbol's coordinate system and the instance dimensions. Start with an in-document reference to isolate URL problems.