Ecosystem /@supermousejs/image

Image

VERSION2.3.0
LICENSEMIT
CONFIG4 Options

Displays a custom image or thumbnail as the cursor hover state.

Installation

pnpm add @supermousejs/image

Usage

app.use(Image({ rounded: true }));

Configuration

OptionTypeDefaultDescription
className string'supermouse-image'CSS class added to container.
offset [number, number][0, 30]X/Y offset from cursor.
duration number200Fade transition time in ms.
smoothness number1Lerp factor for image lag.
supermouse
js
| Copyright © 2024-2026 Stud.io Inc.