Scalable Vector Templates
Your SVG.
New possibilities.
Give ordinary SVG named text, paint and image inputs. Keep the artwork you designed, and replace the values that make it yours.
<svg xmlns="http://www.w3.org/2000/svg"
data-svt-version="1.0"
viewBox="0 0 320 80">
<text x="16" y="48"
data-svt-text="heading">
Welcome
</text>
</svg>An illustrative replacement. SVG keeps control of layout and rendering.
A small layer over SVG
Design once.
Make the inputs explicit.
Annotate the parts of an SVG that can change. An implementation discovers those inputs and their authored defaults, then applies replacement values to an independent SVG document.
Text, image references and paint values become addressable inputs. Multiple targets of the same kind can share one key. Optional metadata adds labels, descriptions and groups for editing tools. Geometry, fonts, clipping and layout stay with SVG.
Templates remain .svg files. Processing does not require fetching a schema or contacting this website.
Explore the project
One format.
Independent implementations.
The specification ↗
Portable contracts and canonical conformance references. Read the published 1.0.0 specification, or follow work in the repository.
.NET library and CLI ↗
Inspect templates and bind values in applications or command-line workflows. Get ScalableVectorTemplates and ScalableVectorTemplates.Cli on NuGet.
JavaScript library ↗
Inspect and bind templates in Node, browsers and Workers, with TypeScript declarations included. The official npm package name is @svt-project/svt-js; include the scope in dependencies and imports. The unscoped svt-js package is not this library.
Install the current release candidate with npm install @svt-project/svt-js@rc.
Project roadmap ↗
Follow specification feedback, implementation improvements and cookbook work.
For integrators
A familiar mark
for your templates.
Use the SVT logo in your project or give template files a recognizable icon. Download editable SVGs, raster exports and desktop icon formats.
The entire icon set is CC0, with no attribution required: logos, avatars, desktop documents and filled file icons.
Get the icon set