npx zenora-ui-registry@latest add grid-infinite
Infinite Drag Grid
Galleries 416 views•101 uses
Get this component
Copies the component into your project, installs what it needs, and pulls down its images. Nothing to download by hand.
npx zenora-ui-registry@latest add grid-infiniteWrites to components/zenora-ui/ by default; override with --dir. The file is yours to edit; there is no package to keep in sync.
An endless plane of image tiles that pans in every direction with inertia, dynamic zigzag offsets, and interactive drag-to-zoom physics.
KEY FEATURES
- ·Continuous 2D plane wrapping with frame-rate independent easing and inertia
- ·Fluid drag-to-zoom perspective scaling and responsive pointer tilt parallax
- ·Customizable zigzag drop and row-shift spacing for scattered print aesthetics
Props
11 propertiesimagesstring[]25 imagescolumnsnumber20rowsnumber10scalenumber100zigzagnumber100rowShiftnumber36smoothingnumber60hoverScalenumber108dragZoomnumber80backgroundcolor#ffffffautoPlaybooleantrue