Command Palette
Search for a command to run...
Loading component...
Image cursor trail
An interactive mouse trail effect that follows cursor movement with customizable images. Creates a smooth trail of images that appear and disappear as you move your mouse across the screen.
Dependencies
Interaction Type
Move mouse to create image trail |
CLI UNAVAILABLE
pro component, try copying the source code from top right corner
How to use
import { ImageCursorTrail } from "@/components/v1/skiper18"; const DemoSkiper18 = () => { const customImages = [ "/path/to/image1.png", "/path/to/image2.png", "/path/to/image3.png", // ... more images ]; return ( <ImageCursorTrail items={customImages} maxNumberOfImages={8} distance={20} imgClass="w-32 h-32" className="h-screen w-full" /> ); };
Props | Description |
---|---|
items | Array of image paths to use in the trail |
maxNumberOfImages | Maximum number of images visible in the trail at once |
distance | Distance threshold for triggering new image (higher = more spread out) |
imgClass | CSS classes to apply to each image in the trail |
className | CSS classes to apply to the container |
fadeAnimation | Enable fade animation for images (auto-removes after 1.5s) |
children | Additional content to render inside the container |
Attribution
Inspired by and adapted from befreaky.co
Source code
Click on the top right to view the source code
Keep in mind
Most components here are recreations of the best out there. I don't claim to be the original creator. This is my attempt to reverse-engineer, replicate, and often add a few extra features. I've tried to credit everyone, but if I missed something, let me know.
Contact
Additionlly, if you find any bug or issue, feel free toDrop a dm.
License & Usage:
- Free to use and modify in both personal and commercial projects.
- Attribution to Skiper UI is required when using the free version.
- No attribution required with Skiper UI Pro.