ham7a311

Star Trails

Backgrounds 10

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>
  );
}

More by ham7a311

View all
  • Wave Mesh

    Wave Mesh

    244
  • Route Globe

    Route Globe

    193
  • Glass Tiles

    Glass Tiles

    182
  • Orbit Ring Stats

    Orbit Ring Stats

    81
  • Glyph Swell

    Glyph Swell

    73
  • Fan Deck Card

    Fan Deck Card

    70
  • Ask Bar

    Ask Bar

    61
  • Glass Ribbons

    Glass Ribbons

    53

More in Backgrounds

View all
  • Elegant Dark Pattern

    Elegant Dark Pattern

    971
  • Background snippets

    Background snippets

    120
  • Dark Gradient Background

    Dark Gradient Background

    168
  • Gradient Background 4

    Gradient Background 4

    314
  • Gradient Blur Bg

    Gradient Blur Bg

    60
  • Gradient Backgrounds

    Gradient Backgrounds

    29
  • Background Components

    Background Components

    48
  • Honey Ember Background

    Honey Ember Background

    102