Planet Transit Scene
Exoplanet transit animation: a client-side scene of a dark planet crossing a warm glowing star on a repeating loop. Exports the transit clock hook so a light curve stays in sync; reduced motion holds mid-transit.
The source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
Installation
pnpm dlx shadcn@latest add @01orbital/planet-transit-scenenpx shadcn@latest add @01orbital/planet-transit-sceneyarn dlx shadcn@latest add @01orbital/planet-transit-scenebunx --bun shadcn@latest add @01orbital/planet-transit-sceneUsage
import { PlanetTransitScene } from "@/components/scene/planet-transit-scene"
export default function PlanetTransitSceneDemo() {
return (
<div className="grid w-full place-items-center p-6">
<div className="relative aspect-video w-full max-w-3xl overflow-hidden rounded-xl">
<PlanetTransitScene />
</div>
</div>
)
}This example installs with everything it uses:
pnpm dlx shadcn@latest add @01orbital/planet-transit-scene-demonpx shadcn@latest add @01orbital/planet-transit-scene-demoyarn dlx shadcn@latest add @01orbital/planet-transit-scene-demobunx --bun shadcn@latest add @01orbital/planet-transit-scene-demoExamples
Indigoplanet-transit-scene-indigo
Planet Transit Scene Indigo: an example of planet-transit-scene.
The source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
pnpm dlx shadcn@latest add @01orbital/planet-transit-scene-indigonpx shadcn@latest add @01orbital/planet-transit-scene-indigoyarn dlx shadcn@latest add @01orbital/planet-transit-scene-indigobunx --bun shadcn@latest add @01orbital/planet-transit-scene-indigoAPI reference
A dark planet crossing a warm glowing star on a repeating loop. useTransitClock keeps a light curve in step with it; reduced motion holds it mid-transit.
Prop
Type
It also accepts the HTML attributes of the element it renders.
Dependencies
npm: cn. The CLI installs it for you.
Last updated on