3D Spherical Gallery

A draggable 3D room of image cards wrapped around the viewer — hover to bring a card forward, click to follow its link. Fully configurable, no assets required.

Live preview

Preview

About this component

3D Spherical Gallery places your images on the inside of a sphere and puts the
viewer at its centre. Dragging looks around the room with real momentum; the
horizontal axis loops forever while the vertical axis is rubber-banded to a
limit you set. Cards fade toward black as they move away from the centre of
view, so the composition always reads as one focused wall rather than a busy
sphere.

Cards are laid out on an exact grid — every row is a straight horizontal line
and the columns line up vertically. From there you can dial in as much
irregularity as you want: stagger alternate rows, leave random holes, vary the
size, depth and angle of each card, or add a slight tilt. Spacing works in
either direction: set the card size and let the gaps fall out, or type the gaps
you want and let the component solve for the card size.

Drop your own images in and each card can carry a link, opening in the same tab
or a new one, or fire a Framer interaction instead. A click is told apart from a
drag by distance, duration and whether the press landed and released on the same
card, so a flick that starts on a card just spins the room.

With no images set, the component draws generated "site screenshot" placeholders
from a seeded random source — so it looks finished the moment it lands on the
canvas, and stays identical between reloads until you change the seed.

Built on Three.js with no other dependencies. It rebuilds only when structural
props change; colour, motion and hover values are read live each frame, so those
sliders retune instantly. Frames are skipped when nothing is moving, animation
pauses on the Framer canvas, and everything is disposed on unmount.

Key features

Drag to explore — infinite horizontal rotation with momentum and glide;
vertical travel is rubber-banded to a configurable tilt limit

  • Separate drag and coast smoothing — a tight, attached feel while dragging
    and a soft settle after release

  • Hover focus — the card under the cursor grows, steps toward the viewer,
    brightens and gains a halo while everything else dims back

  • Click-through links — per-card URL, same tab or new tab, plus an
    onCardTap event handler for Framer interactions

  • Click vs drag detection — distance, duration and same-card checks, so
    dragging from a card never triggers navigation

  • Press feedback — the card dips slightly while held

  • Two spacing modes — set the card size and read off the gaps, or set the
    gaps and let the card size be solved for (honoured at the tightest row)

  • Exact grid or scattered — stagger, fill density, size, depth, angle and
    tilt variation, all from zero to as loose as you like

  • Depth falloff — distance fog plus an angular fade curve with adjustable
    start, end, curve and floor

  • Cover or contain — images cover-cropped via UV transform, or the card
    reshaped to the image's own ratio

  • Generated placeholders — six procedural site-screenshot layouts, twelve
    palettes, editable name and headline lists, all seeded and reproducible

  • Cursor parallax — a subtle lead toward the pointer that eases away on press

  • Auto drift — idle rotation with direction, speed and delay, pausing on hover

  • Full styling control — background, fog colour, glow colour, vignette
    colour and size, corner radius, edge light

  • Centre overlay — title, font, colour, caption, tracking, offset and backdrop

  • Performance minded — idle frames skipped, DPR cap, optional antialias,
    paused on the Framer canvas, full WebGL disposal on unmount

  • Responsive — sizes to its frame via ResizeObserver, any width and height

  • Touch ready — pointer events throughout, no hover state stuck on mobile

  • No CORS pitfalls — images are never drawn to a canvas, so cross-origin
    sources work

If you want to see the API references and all that, please click here.

View API reference

Details

Category

Gallery

Media

Image

Views

3.3k

Copies

1.3k

Paste directly onto your Framer canvas.

Need a custom version?

We adapt components to your brand, motion and CMS setup.