Smart zoom
Add intuitive zooming that steps smoothly in and out, always landing at the right level of detail with content-aware calculations.
Navigate the canvas smoothly with zoom and flexible viewport positioning.
Add intuitive zooming that steps smoothly in and out, always landing at the right level of detail with content-aware calculations.
Set flexible camera boundaries tailored to your app’s needs, from free-flow movement to contained views, or more fine-tuned solutions.
Customize fluid transitions to match your brand and adapt to your users’ needs, optimized across all devices with built-in viewport culling and level-of-detail scaling.
Build real-time camera synchronization so your users stay in sync. Perfect for presentation modes, guided tours, or restricted editing workflows.
Add precise zoom, pan, and navigation to your canvas in minutes, not weeks.
Our team spent years to get all the details right, so you don’t have to.
Our camera system maintains dual coordinate system with precise translation between the screen space and page space. Regardless of zoom level, it creates accurate hit testing and shape positioning. Screen space handles UI positioning and input events relative to the browser viewport, while page space manages canvas content with precision.
The zoom system operates on step-based architecture rather than continuous scaling. Our base zoom calculations automatically determine optimal zoom levels based on content bounds. This prevents jarring zoom jumps and maintains visual coherence. Even when zoom levels are customized, they will still feel natural and predictable to users.
The camera system relies on tldraw’s rendering pipeline to maintain smooth performance during movements and zoom operations. It optimizes rendering by culling shapes outside the viewport, scaling level of detail based on zoom, synchronizing updates with the browser’s refresh cycles, and using memory-efficient viewport tracking to minimize computational overhead. All of this ensures smooth interactions across all users, tabs, and devices.
Production ready starter kit to build a workflow canvas. Building something different? See all starter kits
Build visual tools where users drag, connect and execute nodes to build automation pipelines within a canvas interface. Set up your first workflow builder in minutes, then customize nodes and behaviors for your specific use case. Drag-and-drop nodes, automatic connection routing, and execution management out of the box.

ClickUp modernized its whiteboard for millions of users, replacing legacy infrastructure with the tldraw SDK.
examples
Have a look at our examples on how to implement camera and viewport features.
Configure camera constraints, zoom behaviors, and navigation controls for custom canvas experiences.
Implement zoom locking functionality to constrain user navigation for focused editing experiences.
Build application-specific navigation patterns with programmatic camera positioning and constraint management.
Freehand drawing and shapes built in for your app.