Galaxy starfield background: you sit inside a sphere of 65,000 twinkling stars, each flaring into a four-point diffraction cross at its peak, over a slow drifting nebula with a dusty band across the equator. Drag to orbit like a planetarium dome, the sky auto-rotates and leans toward the pointer, and it warps in from deep space on load. Ember, prism, aurora and ice presets or your own star and nebula colours. React only, raw WebGL, no three.js.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Galaxy Starfield Background to your project and fits it to your theme.
Code
How Galaxy Starfield Background is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client"
import GalaxyStarfield from "@/components/ui/galaxy-starfield"
export default function Demo() {
return (
<div className="w-full">
<GalaxyStarfield />
</div>
)
}
















