Back to components
ComponentGalleryFree

3D Product Spin Viewer React component

A 360° product viewer driven by an image sequence: drag with inertia, an idle spin, a tick ruler that jumps to any angle, hotspots that fade in on the side they belong to, and pointer-follow zoom, with a hairline loading bar.

About the 3D Product Spin Viewer component

3D Product Spin Viewer lets shoppers turn a product all the way round. It plays a sequence of photos taken around the product, so dragging feels like turning the real thing; let go with a flick and it keeps spinning for a moment, then slows to a gentle idle turn.

A ruler of thin ticks under the product shows the angle and jumps to any view, hotspots appear on the side they describe (the lens on the front, the screen on the back), and tapping zooms in with the view following the pointer. The demo product is an unbranded camera rendered for this component.

When to use it

Use it on product pages for objects people want to inspect from every side: cameras, shoes, bags, watches, furniture, devices, packaging.

It needs a turntable sequence of the product (36 to 72 evenly spaced shots, ideally on a transparent or matching background); for a single hero image, a zoomable image is enough.

Installation

Add the 3D Product Spin Viewer component to your project with the shadcn CLI. It lands in components/product-spin-viewer.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/product-spin-viewer

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install clsx tailwind-merge

More Gallery components

Gallery Reveal
Poster Tunnel
Free
YouTube Gallery
Floating Photo Wall
Free
Skew Scroll Gallery
Spiral Gallery
Free