Components / effect
Label Cursor
A dot that turns into a text pill, such as View or Drag, over any element that carries a cursor label.

Implementation
A dot that turns into a text pill, such as View or Drag, over any element that carries a cursor label.
- Framework
- React 19.3.1 with TypeScript
- Motion
- Native CSS and browser APIs. No GSAP required.
- Available modes
- build
- Version
- 1.0.0 · published
Source code
Quality evidence
Export tested in 2 consumer projects with chromium, firefox, webkit. Evidence recorded on .
Changelog
v1.0.0 · A dot that turns into a text pill, such as View or Drag, over any element that carries a cursor label.
Frequently asked questions
Where does the label text come from?
From the data-cursor-label attribute of the element under the pointer, so each target can have its own text such as View, Drag or Play.
Is the label read by screen readers?
No. The pill is decorative and hidden from assistive technology. Every target should still have its normal accessible name.