Initializing WebGL Gravity Gallery...
3D • APEX PRO

WebGL Gallery

Interactive WebGL 2.0 image gallery with parabolic pinch physics and inertia warp distortion.

INSTALLATION & DEPENDENCIES
React 19 / 18Next.js App RouterTypeScriptThree.js / WebGL

1. Install Required Packages

npm install react react-dom

2. CLI Component Add

npx apexphase add gravity-gallery
Loading Code Viewer...
SPECIFICATION

Props & API Reference

← Scroll specifications horizontally →
PropTypeDefaultDescription
columns
number6Number of columns in the responsive gallery grid layout.
gap
string'80px 20px'Vertical and horizontal spacing between gallery items.
scrollSpeed
number1Multiplier for inertia scroll sensitivity and velocity accumulation.
hoverEffect
string'grayscaleToColor'Hover transition mode across gallery items (grayscaleToColor | colorToGrayscale | titleAppear | none).
bendIntensity
booleantrueEnable or disable velocity-driven parabolic bend vertex deformation.
START YOUR NEXT PHASE

Want this on your site? We integrate it, or unlock weekly drops with Pro.

WEEKLY DROPS

We publish 1 or 2 new components every single week.

Don't miss them.

Want This On Your Site?

idlehover cardhover button