Component packs › Caret › Label Cursor
Over a tile the pointer grows into a pill that says what a click will do, with its icon, trailing your hand on a spring.
Label 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: labels from data attributes, width spring to the label, tile eases forward.
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 | Your own content (HTML); targets carry data-cursor-label and optional data-cursor-icon (view | play | open). | |
height | number | ||
dark | boolean | ||
autoplay | number | false | Showcase mode: a virtual pointer visits each tile every N ms. |
readonly area: HTMLElementdestroy(): voidimport LabelCursor from './LabelCursor';
<LabelCursor />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Custom cursors.