hover-ui

Every cursor owns the element you drop it in.

Copy-paste cursor components for React, installed with shadcn. Drop one in a section and it owns that section. Drop one in <body> and it owns the page.

npx shadcn@latest add https://hoverui.fun/r/ring.json
Browse cursors React 19 · Tailwind v4 · MIT

The ring swells over anything you can click.

SourcePlacement

Exact dot, lagging ring. Swells on links, squeezes on click.

The cursors

Each one is a single file plus the shared use-cursor hook. Put your pointer on one and the page's cursor hands it over.

Draw through the empty space, then over the button: each dot chases the one ahead, and the head swells.

A tapering chain of dots, each chasing the one ahead. The head swells over anything clickable.

npx shadcn@latest add https://hoverui.fun/r/trail.json

Invert

Inverts whatever is beneath it. Grows over anything clickable.

npx shadcn@latest add https://hoverui.fun/r/blend.json

You have worn this one since you arrived. Over a control, the ring opens around it.

Link

A printer's registration mark. Exact crosshair; the ring opens and fills over anything clickable.

npx shadcn@latest add https://hoverui.fun/r/register.json

Where you put it is the whole API.

In <body>
The whole page wears it.
In an element
Only that element does. Leave it and the outer cursor takes back over.
Nested
The innermost cursor wins.
Several in one element
They share it, drawn in the order they mount, and each can come and go on its own.
Touch, reduced motion
Touch keeps the native pointer. Reduced motion snaps into place instead of trailing.
Placement
// app/layout.tsx: the whole page wears it
<body>
  {children}
  <RegisterCursor />
</body>

// any element: only this section does
<section>
  <TrailCursor />
  …
</section>

This area wears Blend. The one inside it wears Label. Move between them.

Build your own in the Mixer.

Stack dots, rings, shapes, words, trails, glows and lenses. Give each its own look when people hover, press and drag, and choose what happens when they click or come to rest.

Build
On a canvas or in code, tried live on a stand-in page as you go.
For React
One shadcn command, and it's a component in your project.
Anywhere else
One script tag on Framer, Webflow or any HTML page.
Price
Free to build and preview. Paid plans from ₹200 a month: the script tag on all of them, and more layers and effects as they go up.

This area wears two cursors at once: Trail, with Ring over it. The Mixer builds yours the same way, a layer at a time.

Layers

  • Ring
  • Trail
Make one like this