Component packs › Caret › Morph Cursor
The dot springs into the exact shape and corner radius of whatever you point at, as a soft highlight behind it, and the element leans toward your hand.
Morph 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: shape and radius from the target, magnetic lean, follows keyboard focus.
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.
| Prop | Type | Default | Description |
|---|---|---|---|
html | string | an editor toolbar | Your own content (HTML); mark targets with data-morph. Default: an editor toolbar. |
height | number | 240 | Area height in px. Default 240. |
dark | boolean | ||
autoplay | number | false | Showcase mode: a virtual pointer visits each target every N ms. |
readonly area: HTMLElementdestroy(): voidimport MorphCursor from './MorphCursor';
<MorphCursor />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Custom cursors.