Skip to content

CURSORWITHA Tiny, High Performance And Framework-Agnostic Cursor Following Effect.

customizable and easy to use.

sign

 

🚀 Get Started

Install

sh
npm install cursorwith-ts
sh
pnpm add cursorwith-ts

Basic usage

ts
import { CreateCursorWith } from 'cursorwith-ts';

// create a cursorwith instance
const cw = new CreateCursorWith({
  style: { 
    radius: 10, 
    color: 'rgba(0,0,0,0.1)', 
    borderWidth: 1, 
    borderColor: '#000000' 
    },
  follow: { 
    type: 'time', 
    timeRatio: 0.04 
    },
})

Then you will get a following circle. ☺️

📄 License

MIT License


 

Start using cursorwith to make your website more vivid and interesting.

Released under the MIT License.