Search

Search the site

All components

Infinite Showcase

Draggable infinite canvas with momentum scrolling, scroll-wheel zoom, and built-in zoom controls. Scatter preview nodes at x/y coordinates; use data-canvas-no-pan on interactive regions inside nodes.

Default
Pan and fling across scattered UI primitives; interactive controls use data-canvas-no-pan.
Workflow Canvas
Mini Map
Confetti

Confetti

Multi-step Form
Profile

Tell us how to contact you.

1
Profile
2
Plan
3
Notes
Confirm Button

Items remaining: 3

Smart Form Input
Compare
first image
second image
Drag the slider to compare
50% / 50%
Smart Grid Layout

Dense 3-column grid - use Edit, then drop the large tile onto row 1 to see displacement.

A

A

B

B

C

C

Large widget (2×2)

Drag this over smaller widgets - layout auto-compacts around it.

D

D

E

E
100%

Sign in to view this example's source code.

Sign in

Props

NameTypeDefaultDescription
itemsCanvasItem[]requiredNodes to render; each has id, x, y, and a React node for the preview card
scalenumber1Base scale multiplier combined with interactive zoom
minZoom / maxZoomnumber0.25 / 2Interactive zoom limits
zoomOnScrollbooleantrueZoom toward the cursor with the scroll wheel
wheelZoomSensitivitynumber0.0005Scroll zoom speed (lower = slower); scales smoothly with wheel delta
zoomStepnumber1.12Zoom factor per click on the in/out buttons
controlsbooleantrueBuilt-in zoom in, zoom out, and fit view controls
controlsPosition"bottom-left" | "bottom-right""bottom-left"Placement of the control cluster
classNamestringundefinedClasses for the pan/zoom container