Component packs › Caret › Magnifier Cursor

Magnifier Cursor

Over fine detail the pointer becomes a glass loupe holding a live copy of the content, magnified 2.2 times, gliding after your hand.

Magnifier Cursor is a cursor from Caret, a component pack with 6 cursors: Custom cursors that read what they are over and turn into its tool. Price: $2 for the whole pack.

Built with: live magnified copy, glass rim and lens shade, arrow keys move the loupe.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Magnifier Cursor props

PropTypeDefaultDescription
htmlstringa detailed chart with fine printContent to inspect (HTML). Default: a detailed chart with fine print.
zoomnumber2.2Magnification. Default 2.2.
sizenumber116Loupe diameter in px. Default 116.
heightnumber
darkboolean
autoplaynumber | falseShowcase mode: a virtual hand moves the loupe every N ms.

Methods on the ref

Use it in React

import MagnifierCursor from './MagnifierCursor';

<MagnifierCursor />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Caret

Good for: Custom cursors.