react-custom-pointer
v1.0.5
Published
A library that can create custom design that follows around your mouse cursor on the screen.
Downloads
900
Maintainers
Readme
React Custom Pointer
A library that can create custom design that follows around your mouse cursor on the screen.
Installation
Using npm:
$ npm install react-custom-pointer --save
Example
import React from "react";
import Cursor from "react-custom-pointer";
export default function Example() {
return (
<>
<Cursor type="default">
{/* YOUR DESIGN HERE */}
<div>SAMPLE</div>
</Cursor>
</>
);
}
Browser Support
| | | | | | --- | --- | --- | --- | --- | --- | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | 11 ✔ |