Custom cursor

Also called cursor follower, animated cursor, smooth cursor, or custom pointer

A designed shape, such as a dot or a ring, that replaces or trails the mouse pointer and reacts to what it passes over.

What is Custom cursor?

A custom cursor hides the system arrow, or adds to it, and draws your own shape at the pointer position. A popular version pairs a small dot that tracks the mouse exactly with a larger ring that trails behind it with a little lag, then grows when it passes over a link or button.

It shows up on portfolios, agency sites, and creative landing pages, where personality matters more than speed. On product interfaces and long reading pages it usually gets in the way.

Keep the real pointer position exact: the dot should never lag, or clicking feels off. Enable it only for a mouse with @media (pointer: fine), keep the normal text cursor in inputs, and drop the trailing motion for people who prefer reduced motion. If you only want a different icon, CSS can do it alone with cursor: url(cursor.svg) 4 4, auto.

Often confused with

Magnetic button
A magnetic button moves the element toward the pointer. A custom cursor changes the pointer itself.
All terms

Magnetic button

A button that leans toward the mouse pointer as it gets close, then springs back when the pointer leaves.

Hover effect

A visual change, such as a lift, glow, or zoom, that happens when the mouse pointer moves over an element to show it can be clicked.

Spring animation

An animation driven by simulated spring physics in place of a fixed duration and curve, so motion can overshoot, settle, and react naturally.

Reduced motion

An operating system setting that asks apps to minimize movement, which websites detect with the prefers-reduced-motion media query.