Docs
Image Trail
Image Trail
Image Trail adds a dynamic, interactive trail of images that follows the cursor, enhancing user engagement and visual appeal on your website.
Loading...
Installation
Props
Prop | Type | Description | Default |
---|---|---|---|
images | string[] | An array of image URLs to be displayed in the trail. | [] |
imageWidth | number | Width of each image in the trail, in pixels. | 200 |
imageHeight | number | Height of each image in the trail, in pixels. | 200 |
threshold | number | Distance in pixels the mouse must move to trigger a new image spawn. | 50 |
duration | number | Duration of the animation for each image in the trail, in seconds. | 1.6 |