Globe — 3D Photo Sphere Gallery Component
Globe is a 7.75 KB gzipped, zero-dependency 3D photo sphere gallery component for vanilla JavaScript, React (TypeScript) and Webflow — built with CSS 3D transforms and no WebGL. It has 9 live settings (Globe, Photos, Gap, Fade, Swell, Friction, Corners, Face and Auto), is driven by touch, mouse and keyboard, and moves the same at 60 and 120 Hz.
Set the size of the globe, how many photos wind round it and how close, how far the back ones fade and how much it swells with speed. Photos face you or lie on the sphere, and Auto spins it on its own.
What it is
An interactive 3D photo globe: photos wound on one ribbon from pole to pole of a sphere you spin and tilt, facing you or lying on its surface, the far ones fading into the page. It swells with speed and settles back, and photos added grow where they belong. Frame-rate independent spin and swell, drag, throw, wheel, keys and Auto.
When to use it
A full-height section that shows a whole collection at once, as an object to play with: a portfolio, an archive, a hero.
Controls
- Globe (0.2 to 0.5 ×)
- Photos (12 to 120)
- Gap (0 to 80 %)
- Fade (0 to 100 %)
- Swell (0 to 60 %)
- Friction (0.5 to 5)
- Corners (0 to 100 %)
- Face
- Auto (0 to 60 °/s)
It moves the same at 60 or 120 Hz, follows touch and arrow keys, and respects the system’s reduced motion setting.
Code
A vanilla JS module, a typed React component and a Webflow embed, all from one engine: 7.75 KB gzipped, styles included, with no dependencies. Get code also hands your AI assistant a note to install it for you.
- Runs in: Vanilla JS, React, Webflow
- Input: touch, mouse, keyboard
- Themes: dark, light
- Respects the system’s reduced motion setting
- Size: 7.75 KB gzipped, styles included
- No dependencies
- Version 1.0.0
License
Unlimited personal and commercial use with Pro: your own sites and your clients’, as many projects as you like, worldwide, with no credit required. The code itself is not to be resold, shared, or bundled into a kit or a template sold on its own.
- Fully adjustable: Every setting is a slider: with Pro, tune it live in the demo, then take the code with your values.
- Three versions: Vanilla JS, a typed React component or a Webflow embed, all from the same engine.
- Under 8 KB: The engine and its styles, gzipped, with no dependencies and nothing else to install.
- Any screen: Touch, mouse and keys, the same motion at 60 or 120 Hz, calm under reduced motion.
FAQ
How much does Globe weigh, and what does it need?
7.75 KB gzipped, engine and styles together (7,940 bytes), with no dependency: no library, no framework and no WebGL. It places plain image elements on the sphere with CSS 3D transforms, 12 to 120 of them on one ribbon wound from pole to pole. The same engine runs in vanilla JS, a typed React component and a Webflow embed.
Where does Globe fit best?
A full-height section showing a whole collection at once, as an object to play with: a portfolio, an archive, a hero. A drag spins it every way, so give it its own full-height section, or turn its wheel off inside a scrolling page.
What is the Vault?
A library of interactive galleries and type effects for the web, included with Memorables Pro. Each page plays the effect in a 60 fps preview; its live demo and its code open once you are a Pro member.
Can I try an effect before going Pro?
You can watch it: every effect plays in a 60 fps preview on its page. The interactive demo, with every setting on a slider, and the code come with Pro.
Which plan includes the Vault?
Pro, billed yearly. It opens every effect’s live demo, then Get code: the effect in vanilla JS, as a typed React component and as a Webflow embed, with the settings you chose, a ZIP of its files and a note your AI assistant can follow to install it. Free and Plus do not include the Vault.
Can I use it in client work?
Yes. Pro covers personal and commercial use, on your own sites and on your clients’. Only the code itself can’t be resold or shared, alone or in a kit.
More from the Vault
- Orbit — A ring of photos you spin
- Coil — A ribbon of photos winding down
- Wheel — Photos turning round a centre
- Depth Parallax Wall — An endless wall in three depths
- Bend Rail — A rail that bends with speed
- Helix — A spiral staircase of photos
Related inspiration
- 3D Websites (21)
- Interactive Websites (40)
- Drag Interactions (24)
- WebGL & Three.js (34)
- Galleries & Carousels (40)
- Portfolio Websites (23)
- Best Websites of 2026 (40)
- Landing Page Design (21)
- Minimalist Websites (34)
- UI Animation (40)
For video and campaigns, the Shop sells After Effects Templates and AI Stock Photos, 15% off Personal and Commercial licenses with Pro.
