Platform
VaultVault
  • Free15
  • Navigation19
  • Buttons9
  • Scroll55
  • Text27
  • Sliders & marquees19
  • Gallery & images67
  • Cursor24
  • Page transitions10
  • Loaders2
  • Backgrounds10
  • UI components33
ButtonsPart of ProButtons
IconsPart of ProIcons
  • Interface Essentials144
  • Social Icons69
  • Payment Badges41
SavedPart of ProSaved
Support
DocumentationDocumentation
MCP serverMCP server
SettingsSettings
VaultUI componentsTestimonial Globe
Reading Progress RingBrowse all 182Team Card Slider
  • Free15
  • Navigation19
  • Buttons9
  • Scroll55
  • Text27
  • Sliders & marquees19
  • Gallery & images67
  • Cursor24
  • Page transitions10
  • Loaders2
  • Backgrounds10
  • UI components33
  • Interface Essentials144
  • Social Icons69
  • Payment Badges41
Sign inSign in

Start free. The code for 15 components, no card needed.

Get 15 free

Testimonial Globe

This one is locked. Become a member to open the code for it and the rest of the Vault.

See plansTry the 15 free ones

What you'll need.

Install

  • gsap
  • ScrollTrigger
  • three

Setup

npm i gsapregisterPlugin(ScrollTrigger, three)

More like this

  • Card
  • Globe
  • ScrollTrigger
  • Infinite loop
  • 3D
  • Draggable
  • Canvas
  • WebGL

Features.

  • A testimonial section built round a globe of small pictures
  • The globe drifts on its own and can be grabbed and thrown; the throw coasts out
  • Pictures grow onto the globe one by one, in random order, when the section scrolls into view
  • Three frosted-glass quote cards float over it on a diagonal, so the globe blurs through behind the words
  • Cards rise and fade in, one after another, as the section arrives
  • At 991px and below a lighter CSS 3D globe spins instead, and the cards become a swipeable row
  • Without WebGL the CSS globe shows at every size
  • Respects prefers-reduced-motion: no drift or grow-in, cards shown at once, the CSS globe paused; drag still works

How to get it right.

Load GSAP, ScrollTrigger and three.js first

The script reads window.gsap, window.ScrollTrigger and window.THREE. Load all three before code.js. With GSAP and ScrollTrigger but no three, the CSS globe shows everywhere.

Use lots of small pictures

Each picture is a small 0.6 × 0.44 tile (about 4:3), cover-fitted from the centre. Around 400 × 290 is plenty. Fifteen to twenty-five pictures look varied; with fewer, the repeats show.

Keep the quotes short

The cards sit over the globe on a 12-column grid (columns 2–4, 8–11 and 3–6). One or two sentences each keeps the globe visible between them. The stagger is laid out for exactly three cards. On wide screens the stack of cards also sets the stage's height, so the globe grows with longer quotes.

Adding a heading or a role

It ships with neither. Put a .qgl_head holding an <h2 class="qgl_title"> above .qgl_stage, and a <span class="qgl_role"> after .qgl_name. In React, pass title and role.

Retheme with variables

--qgl-card is the card glass and --qgl-line its border and top highlight. --qgl-bg, --qgl-fg and --qgl-muted cover the page, quotes and roles.

Shape the globe

data-au-planes sets how many pictures the WebGL globe carries, data-au-drift its idle spin (negative turns the other way), and data-au-tilt how far it leans back. The CSS globe on small screens keeps its own fixed 38 tiles, 46s spin and −16° lean.

Variations.

  • Studio wall — the default: 70 pictures, a slow drift, 25.7° lean
  • Dense — data-au-planes="120" for a tightly packed globe
  • Upright — data-au-tilt="0"
  • Busy — data-au-drift="0.15" for a quicker, opposite spin
  • Light glass — --qgl-card: rgba(255, 252, 242, 0.6); --qgl-fg: #252422 on a light page

Where it fits.

  • Testimonials — the people and the work in one view
  • Studios and agencies — client quotes over a wall of projects
  • Communities and courses — members' words over members' work
  • Event recaps — attendee quotes over the photos

Frequently asked.

That happens below 992px wide, or when three.js or WebGL is missing.

No. They're drawn on a canvas (or as CSS tiles) and the globe takes the drag. Put links in the cards.

The grid places three. More cards need their own grid-column / grid-row rules; on small screens any number scrolls in the row.

Yes. The reveals listen to ScrollTrigger, so Lenis or any scroller that updates ScrollTrigger works.

Related components.

Pro

Image Slide Tabs

Click

Pro

Glow Band Sheet Modal

Click

Pro

Expanding Card Modal

Click