Write {{name}} in text, and bind images, videos, colors and visibility to your data. The canvas and every export draw the values. Build templates in the editor with the Variables side panel section and a text tooltip button that inserts a variable. Docs
Changelog · Nov 20, 2026
Polotno 4.22.1: template variables, links, and image fit and focus
Templates take variables in text, images, videos, colors and visibility, drawn by the canvas and every export. Elements can carry links, and a replaced image fills its frame.
Highlights
Template variables
Fill templates from data
getVariables and resolveVariables in @polotno/schema/variables list a template's fields and fill it from a record, in the browser or in Node. Docs
Links on elements and text
Set links on elements, groups and words in rich text from code. SVG, HTML, PDF, PPTX and email export keep them, and the importers bring in the links of the source file.
Fit and focus for media
Images, GIFs, videos and Lottie take fit and focus, so a replaced image fills its frame without stretching.
Breaking changes
- @polotno/pdf-export 0.18.0: A filtered SVG or blurred text that uses a mapped spot ink now fails the export with EXPORT_FAILED, instead of printing without the ink. Docs
All changes
polotno 4.22.1 / 3.22.1
- Added template variables: {{name}} in text, and images, videos, colors and visibility bound to your data. The canvas and every export draw the values. Docs
- Added the Variables side panel section and a button on the text tooltip that inserts a variable, to build templates in the editor.
- Added fit and focus for images, GIFs, videos and Lottie: a replaced image fills its frame without stretching.
- Added links on elements, groups and words in rich text, set from code. PDF export keeps them clickable.
- Underlines leave gaps where letters cross them, as in browsers.
- Fixed a changed onKeyDown on Workspace being ignored.
- Fixed the scroll arrows of long select lists covering the first item.
@polotno/schema 0.14.0
- Added getVariables and resolveVariables in @polotno/schema/variables: list a template's fields, and fill it from a record in the browser or in Node. Docs
- Validation knows variables, bindings, fit, focus and links.
All exporters@polotno/svg-export 0.14.0, @polotno/html-export 0.13.0, @polotno/pdf-export 0.18.0, @polotno/pptx-export 0.14.0, @polotno/image-export 0.3.0, @polotno/email-export 0.2.0
- Variables, fit and focus export as in the editor.
- Added links in SVG, HTML, PDF, PPTX and email export.
- Underlines leave gaps where letters cross them, as in the editor, in every export except PPTX.
- Fixed long text overflowing table cells in SVG, HTML and PDF export.
@polotno/pdf-export 0.18.0
- Print exports (PDF/X) leave links out.
- Fixed an ink named White, Gold or Silver printing as a plain color.
- Fixed two colors mapped to one ink printing on another ink's plate.
- Fixed overprint carrying over to the fill painted after an ink.
- Fixed stroke-only figures adding an invisible fill, which a cutter could read as a second cut line.
@polotno/svg-export 0.14.0
- Added pageUrls for links to pages exported as separate SVG files.
@polotno/html-export 0.13.0
- Fixed gradient text cutting off accents and descenders.
@polotno/email-export 0.2.0
- Added pageUrls for links to pages published as separate emails.
@polotno/video-export 0.7.0
- A video bound to a variable plays its own audio.
All importers@polotno/pdf-import 0.14.0, @polotno/svg-import 0.3.0, @polotno/pptx-import 0.2.0, @polotno/idml-import 0.2.0, @polotno/psd-import 0.4.0
- Added links: links in the source file import onto the text and objects they cover.
@polotno/idml-import 0.2.0
- Added reading a zipped InDesign package (File > Package) directly, with its fonts and linked graphics. Docs
@polotno/svg-import 0.3.0
- Added baseUrl to keep relative links.
- Different import edge case fixes.
@polotno/pdf-import 0.14.0
- Added the LINK_SKIPPED warning for a link that has no editable object under it.
polotno-node 3.19.1
- Renders with polotno 4.22.1: template variables, links in PDF and underline gaps. For one file per record, fill the design with resolveVariables first. Docs
- Fixed a design that fails before rendering leaving its browser page open.
Embed creative infrastructure into your product
TRUSTED BY
100,000+
CREATORS
300+
BUSINESSES
