Trail
Custom cursor with trailing effect and line following cursor
$ npx @hritik-sharmaa/repeat-ui add cursor-trail- Category
- Cursor
- Added
- Sep 12, 2025
- Version
- 2.0.0
- Packages
- None
- Flavors
- TS · JS · Tailwind · CSS
Live preview
Customize
40
10px
0.15
Installation
Run the command
Adds the files and installs any packages they need. Works with npm, pnpm, yarn and bun.
$ npx @hritik-sharmaa/repeat-ui add cursor-trail --variant ts-tailwindUse it
The files are in components/repeat-ui/cursor-trail/.
import CursorTrail from "@/components/repeat-ui/cursor-trail/preview"; export default function Page() { return <CursorTrail />; }
Props
More cursor
See allSimple custom dot cursor with smooth following animation