react-custom-pointer

1.0.5 • Public • Published

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

Chrome Firefox Safari Opera Edge IE
Latest Latest Latest Latest Latest 11

Package Sidebar

Install

npm i react-custom-pointer

Weekly Downloads

4

Version

1.0.5

License

MIT

Unpacked Size

7.97 kB

Total Files

7

Last publish

Collaborators

  • gryth