lerpa
ver1.0.0
node20.11
branch⎇ main
uptime14d 03:42:17
cpu3.2%
mem14 MB
teams4,213
utc00:00:00
LIVE

Cursor Trail Constellation

A production-scale, light + dark Cursor Trail Constellation component. Copy-paste via the CLI; you own the code.

npx lerpa-cli add cursor-trail-constellation
Live preview available in the gallery.

Usage

import { CursorTrailConstellation } from "@lerpa/ui";

<CursorTrailConstellation />

Props

PropTypeDefaultDescription
classNamestring
childrenReact.ReactNode
dotColorstring
lineColorstring
maxDotsnumber
linkDistancenumber
fadeMsnumber
dotSizenumber

Accessibility

  • Keyboard accessible interactive elements.
  • Respects prefers-reduced-motion where animated.
  • Color is never the only signal.

Overview

The Cursor Trail Constellation component is a UI component in Lerpa UI's 1318-item shadcn-compatible registry, built for React 19 and Tailwind CSS v4. It exposes 8 configurable props, documented in the table below. It needs no dependencies beyond Lerpa UI's standard peer set (React, Tailwind, and Framer Motion). Install it once with the CLI and the source is written into your project as a file you own — read it, edit it, or remove it, with no version to lock.

Install options

Add Cursor Trail Constellation with the Lerpa CLI, or with the shadcn CLI pointed at the registry URL — the source is shadcn-compatible, so either tool writes the same file.

# Lerpa CLI
pnpm dlx lerpa-cli add cursor-trail-constellation

# shadcn-compatible
npx shadcn add https://lerpaui.com/r/cursor-trail-constellation.json

Related components

Browse the full component gallery.

lerpa · running
turbopack142ms
a11yAAA
tokens14
network14kb