Aura Cursor JavaScript Library Examplesr

Download This Plugin Back To CSSScript.Com

Create custom cursor effects with smooth animations and hover interactions. Zero dependencies.

Default Cursor Options

20px
0.5
0.3
3

Size of the center dot when hideDefaultCursor is enabled

Hover Effect Options

Configure how the cursor changes when hovering over clickable elements (links, buttons, etc.)

0.8
1.5x

Hover effects are automatically enabled when these options are configured.

Cursor Variations

Shows cursor as border only with a center dot

2

Color for the center dot in outline mode

Color for the center dot when hovering over interactive elements

Hover Effect Interaction Demo

Hover over these elements to see the cursor change!

The cursor will transform when you hover over clickable elements (links, buttons, cards, etc.)

Card 1

Hover me to see the cursor change!

Card 2

Interactive card element

Card 3

Try hovering here too!

Elements with CSS cursor: pointer:

Element with cursor: pointer
Span with cursor: pointer

Paragraph with cursor: pointer

Usage Example

Basic usage:

const cursor = new AuraCursor({ size: 20, color: '#000000' });

cursor.init();

With hover effect options:

const cursor = new AuraCursor({

  size: 20,

  color: '#000000',

  hoverEffect: {

    color: '#ff6b6b',

    opacity: 0.8,

    scale: 1.5

  }

});

cursor.init();

With outline mode:

const cursor = new AuraCursor({

  size: 20,

  color: '#000000',

  opacity: 0.5,

  outlineMode: true,

  outlineWidth: 2,

  centerDotColor: '#ff0000',

  centerDotHoverColor: '#ff4fa2',

  centerDotSize: 5

});

cursor.init();

Update options:

cursor.updateOptions({ size: 40, color: '#ff0000' });

Destroy:

cursor.destroy();