About
An animated canvas background that simulates a long-exposure night sky photo, with stars smearing into concentric arcs around a pole that follows the pointer.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Star Trails to your project and fits it to your theme.
Code
How Star Trails is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import StarTrails from "@/components/ui/star-trails";
export default function StarTrailsDemo() {
return (
<div className="relative h-screen w-full">
<StarTrails hue={215} />
</div>
);
}
















