Skip to content

Quick Start

Install Packages You Need

To keep the library lightweight, install only the packages you need. Internally reused chunks are shared and built efficiently.

Packages

LayerPackageDescription
Signal@cereb/single-pointerUnified pointer/touch/mouse input handling
Gesture@cereb/panPan gesture recognition with momentum and constraints

Example: Installing Pan Gesture

Terminal window
npm install @cereb/pan