SnapDOMGitHub★ 8K
How-To Guides

How to capture the DOM

Short, focused recipes that show one task each — copy the snippet, drop it into your project, ship.

What's a how-to?

Each how-to covers a capture or export task. Core recipes use images, SVG, Canvas and Blob; the PDF workflow uses an optional plugin. For portable HTML, structured context and maps, GIF or video, see the plugins. The framework guides cover refs and lifecycle timing.

Need a recipe that's not here?

Open an issue on GitHub describing the task and we'll add it.

Request a recipe Open the demo