Overview
SnapEngine is a DOM-first interactivity engine for the web and the shared foundation behind interaction tools such as SnapSort. SnapEngine Core provides utilities for building interactive UI elements, like input handling, camera coordination, collision detection, batched DOM reads and writes, animation helpers, and debugging overlays.
The core package is intentionally framework-agnostic. Interaction tools such as SnapSort build on top of it, and framework wrappers provide Svelte- or React-facing components where useful.
Most application developers should start with the SnapSort documentation. Use these Core docs when authoring a reusable interaction tool or asset, or when you need advanced custom behavior beyond an existing tool.
Using these docs
Use the search box and project dropdown at the top of the sidebar to search these pages and to switch between SnapSort and SnapEngine Core documentation.
If you are new to SnapEngine Core, start with The Engine to learn its key concepts before setting up the package.