Brand image

Your own image as the pointer, with labels and direction arrows still available.

Animated: small module, mouse devices only

Playground

Move your mouse over the panels. This is the real cursor, scoped to these panels.

Light page

Sample heading

Paragraph text, with a link in it.

Label "View"
Arrow left
Arrow right
data-cursor="native" keeps the native cursor

Dark page

Sample heading

Paragraph text, with a link in it.

Label "View"
Arrow left
Arrow right
data-cursor="native" keeps the native cursor

Install

Copy the zip's cursor/ folder into your public folder so it's served at /cursor/, then add:

Agent prompt

Paste this into Claude Code, Cursor or another coding agent. It reflects the options above.

Details

Import
glint-cursors/animated/families/brand (loaded on demand by loadCursor)
Modes
Replace (default) or enhance
Notes
Rendered as an <img>, so a supplied SVG can't run script. Size 8–64 px.
Options
brand.src: Image URL for the pointer.
brand.hotspot: Click point inside the image, in pixels.
brand.size: Rendered size in pixels (8–64).
brand.hoverSrc: Optional image to swap to on hover.

Accessibility

  • Only normal and hover change; text, not-allowed, zoom and every other cursor stay native.
  • Switches off on touch, in forced-colours / high-contrast mode and with "increase contrast".
  • Hidden during keyboard navigation; follows without easing under "reduce motion"; steps down on slow pages.
  • Keep it out of checkout, forms, dashboards and admin areas. Where not to use