Skip to content

CURSORWITH-TSA 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/core';
import { follow } from 'cursorwith-ts/use';

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

// enable follow plugin
cw.use(follow({ type: 'time', timeRatio: 0.04 }));

Then you will get a following circle. ☺️

📄 License

MIT License


 

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

Released under the MIT License.