Skill / SKILL.md

snapdom

zumerlab/snapdom

Captures a rendered DOM element or page region in the browser with SnapDOM 3 (@zumer/snapdom) and exports it as PNG, JPG, WebP, SVG, canvas or Blob, or downloads it as a file. Use when the user wants to screenshot a div, component, chart or full page from client-side JavaScript, export HTML to an image, download an element as an image, turn DOM into a PDF, editable vector artwork, a GIF or a video through the official plugins, or replace html2canvas, dom-to-image, html-to-image or modern-screenshot, and whenever code mentions @zumer/snapdom, snapdom(), toPng, toJpg, toWebp, toSvg, toCanvas, toBlob, toRaw, download, fromString, preCapture, embedFonts, useProxy, toPdf, toVector, toFigma, toGif or toMp4. Covers install, the capture-then-export model, export methods, the options that matter with their real defaults, the plugin packages, framework notes and the mistakes agents make most. Not for Node or server-side rendering, and not a headless-browser screenshot tool.
2 views 8,255 repository stars 0 commentsUpdated Nov 28, 2026
Overview

Captures a rendered DOM element or page region in the browser with SnapDOM 3 (@zumer/snapdom) and exports it as PNG, JPG, WebP, SVG, canvas or Blob, or downloads it as a file. Use when the user wants to screenshot a div, component, chart or full page from client-side JavaScript, export HTML to an image, download an element as an image, turn DOM into a PDF, editable vector artwork, a GIF or a video through the official plugins, or replace html2canvas, dom-to-image, html-to-image or modern-screenshot, and whenever code mentions @zumer/snapdom, snapdom(), toPng, toJpg, toWebp, toSvg, toCanvas, toBlob, toRaw, download, fromString, preCapture, embedFonts, useProxy, toPdf, toVector, toFigma, toGif or toMp4. Covers install, the capture-then-export model, export methods, the options that matter with their real defaults, the plugin packages, framework notes and the mistakes agents make most. Not for Node or server-side rendering, and not a headless-browser screenshot tool.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/zumerlab/snapdom' skill-source

Use the complete skill-source/skills/snapdom directory with your client’s skill installer.

Source directory skills/snapdom

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
7f1e2dd5c617ecd33a75b954568a70b5bab0b1f9a7ae2d337280fac53312b28b
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills