Exploded Orbit

v1.0.0
Free3D ModelsScroll3DWebGLpowered by @vectorvesper/motion

A pinned product section. Scroll, and your 3D model comes apart along its own axis like an exploded drawing, then its parts swing out to orbit the core, each with a label. Takes a .glb, a model built in three.js, or a stack of images. Lists the parts under reduced motion.

Exploded Orbit

Installation

Step 1. Initialize ProjectOne-time setup

Run once in your project root to configure paths and dependencies:

npx vectorvesper init
Step 2. Add ComponentInstalls source & assets

Downloads and registers the component in your project:

npx vectorvesper add exploded-orbit
Step 3. Required DependenciesAuto-installed with CLI

If installing manually or managing your package lock:

npm install @vectorvesper/motion three
Packages:@vectorvesper/motionthree

Usage

A product page that should show what a thing is made of: a lens, a watch, a speaker, a bottle. Load a .glb whose root holds one child per part, or build the model with three.js, and name the parts you want labelled.

Usage

import { ExplodedOrbit, type ExplodedOrbitPart } from "@/components/vv/exploded-orbit";

// Each child of the model's root is a part, matched here by name
const PARTS: ExplodedOrbitPart[] = [
  { id: "front-element", label: "Front element", note: "Aspherical, coated against flare" },
  { id: "barrel", label: "Barrel", note: "Machined from one block" },
  { id: "mount", label: "Mount", note: "Stainless bayonet with gold contacts" },
];

export function Product() {
  return <ExplodedOrbit model="/models/lens.glb" parts={PARTS} core="barrel" axis="y" length="520vh" />;
}

Do

  • Keep the parts as separate children of the model's root; a model merged into one mesh has nothing to take apart.
  • Give round products a little twist, so the parts unscrew as they come off.
  • Pass progress when something other than the page scroll should drive it, such as a slider or a step in a story.

Don't

  • Do not label every screw. Six to ten named parts read well; the rest still orbit, unlabelled.

WebGL — render it on the client only

On Next.js, load it with ssr: false from a Client Component, as below. Vite apps need nothing extra.

"use client";

import dynamic from "next/dynamic";

const ExplodedOrbit = dynamic(
  () => import("@/components/vv/exploded-orbit").then((m) => m.ExplodedOrbit),
  { ssr: false }
);
This component respects prefers-reduced-motion and provides a graceful fallback.

Props

Your 3D model comes apart as the page scrolls. The parts slide off along one axis, then swing out and orbit the core, each with its label and a short note. Scroll back and it puts itself together again.

<ExplodedOrbit />

A section that pins while you scroll through it and takes the model apart. Without progress it is as tall as length.

PropTypeDefaultDescription
modelstring | (() => THREE.Object3D | Promise<THREE.Object3D>)—A .glb or .gltf URL, or a function that builds the model with three.js. Each child of its root is a part.
partsExplodedOrbitPart[]—Labels for the model's parts, matched by name. Parts left out still split and orbit, unlabelled.
layersExplodedOrbitLayer[]—Images to take apart instead of a model, listed from the back to the front.
corestring | nullthe largest partThe part that stays in the middle while the rest orbit it. null sends every part into orbit.
axis"x" | "y" | "z"the longest sideWhich of the model's axes the parts come apart along, with its front facing the positive way.
twistnumber0Turns each part makes as it comes off, as if unscrewing. Suits round products.
alignnumber0.5Where the whole product sits across the stage before it splits, 0 to 1.
lengthstring"400vh"How far the section scrolls while pinned, as a CSS length.
progressnumber—Drives it yourself instead of the page scroll, from 0 assembled to 1 in orbit. The section is then one screen tall and never pins.
theme"light" | "dark""light"The stage colour, and the label colours that read on it.
childrenReact.ReactNode—Shown over the stage. Stage it with data-phase and --eo-progress on the root.
fallbackReact.ReactNodea list of the labelled partsShown instead of the scene under reduced motion.
onPhaseChange(phase: "assembled" | "splitting" | "split" | "orbiting") => void—Called as the scroll moves it from one stage to the next.
classNamestring—Classes for the section.
styleReact.CSSProperties—Inline styles for the section.

<ExplodedOrbitPart />

type

One labelled part.

PropTypeDefaultDescription
id*string—The part's name in the model: its node name in a .glb, or name on an object you built.
label*string—The part's name on the page.
notestring—A short line under the label.

<ExplodedOrbitLayer />

type

One image layer, when you take apart pictures instead of a model.

PropTypeDefaultDescription
src*string—A transparent PNG, WebP or SVG.
idstring—A name for the layer, so core can point at it.
labelstring—The layer's name on the page.
notestring—A short line under the label.
Under reduced motion it shows the fallback, a plain list of the labelled parts, and nothing pins.
Runs on the Vector Vesper runtime: it reads the scroll once a frame with everything else on the page, stops drawing when it is off screen, and draws at a lower resolution on a slow device.
Client component. It renders the section and its fallback on the server and loads the model once it mounts, so it is safe in a server-rendered route.

Source

/**
 * Exploded Orbit — Vector Vesper
 * https://vectorvesper.dev/components
 *
 * Copyright (c) 2026 Vector Vesper
 * Released under the MIT License. This notice must be retained in copies and
 * substantial portions of the file. https://vectorvesper.dev/license
 */
export { ExplodedOrbit } from "./ExplodedOrbit";
export type { ExplodedOrbitLayer, ExplodedOrbitPart, ExplodedOrbitPhase, ExplodedOrbitProps } from "./ExplodedOrbit";
View on GitHubReport an issue