Skip to content
Pebble Pro is here at $49 one timeSee what’s included ↗
Pebble
ComponentsDocsMCPPricing
⌕ Find a component↗Log in
All components 673

Categories

Core inputs & forms46Buttons & actions33Navigation36Overlays & feedback49Data display33Charts & data viz40Cards & layout43Marketing blocks38App shells & pages37AI interfaces40Text & typography effects33Backgrounds & visual effects38Motion & transitions32Numbers & counters32Media34E-commerce333D & interactive36Themed sets40
Start with the essentials.Installation guide ↗Connect your agent ↗
← All components3D & interactive

Product Spin

A 360° viewer for a drawn product at stepped angles: drag with inertia, arrow keys, auto-spin, a degree readout and hotspots that appear when their side faces you.

Preview

Fabric grille030°Drag to turn
045°Drag to turn

Install

Pro source requires Pebble Pro. Try the full preview above.

Props

PropTypeDefaultDescription
renderFrame(angle: number) => ReactNode—Draws the object turned by angle degrees (a multiple of 360 / frames).
labelstring—Product name; the accessible name of the viewer.
framesnumber36Stepped angles in a full turn.
hotspotsProductSpinHotspot[][]Points ({ id, label, angle, y, radius? }) shown when their side faces you.
hotspotWindownumber50Degrees either side of facing that a hotspot stays visible.
defaultAutoSpinbooleanfalseStart spinning on its own (ignored under reduced motion).
defaultAnglenumber0Starting angle in degrees.
sizenumber280Square stage size in px.

Pro component

Try the full preview above. Editable source and build guides require Pebble Pro.

Buy Pebble Pro — $49How source access works ↗
Pebble

Small details.
Better interfaces.

React components to explore, make your own, and build on.

Library

  • Components
  • Installation
  • Pricing

Resources

  • For agents
  • About
  • Support

Legal

  • License
  • Terms
  • Privacy
  • Final sale

Built by Pebble

A product of Praxys Solutions LLC ↗

Pebble Pro is live

$49 one time, lifetime updates ↗