Cursor Repulsion Starfield
A production-scale, light + dark Cursor Repulsion Starfield component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add cursor-repulsion-starfieldUsage
import { CursorRepulsionStarfield } from "@lerpa/ui";
<CursorRepulsionStarfield />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| starCount | number | — | |
| starColor | string | — | |
| repulsionRadius | number | — | |
| repulsionStrength | number | — | |
| connectionDistance | number | — | |
| glow | boolean | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.