ham7a311

Star Trails

Backgrounds 1

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 StarTrailsAmberDemo() {
  return (
    <div className="relative h-screen w-full">
      <StarTrails hue={35} />
    </div>
  );
}

More by ham7a311

View all
  • Route Globe

    Route Globe

    14
  • Wave Mesh

    Wave Mesh

    8
  • Uptime Ribbon

    Uptime Ribbon

    6
  • Glass Carousel

    Glass Carousel

    6
  • Glass Tiles

    Glass Tiles

    6
  • Streak Field Stats

    Streak Field Stats

    5
  • Wind Map

    Wind Map

    5
  • Time Window

    Time Window

    4

More in Backgrounds

View all
  • Elegant Dark Pattern

    Elegant Dark Pattern

    809
  • Gradient Backgrounds

    Gradient Backgrounds

    25
  • Jade Sky

    Jade Sky

    85
  • Background snippets

    Background snippets

    105
  • Background Components

    Background Components

    20
  • Dark Gradient Background

    Dark Gradient Background

    144
  • Tailwind CSS Background Snippet

    Tailwind CSS Background Snippet

    533
  • LivingOrigami bg

    LivingOrigami bg

    133