Presence Cursor
cursorProEn markør som en pil med et efterfølgende navneskilt, der læner sig med farten, som en kollegas markør på en delt tavle. Klik går igennem, og den skjules på touchskærme.
Introduktionspris til og med 31. december 2026. Derefter 79 €.
Preview
Live demo. Temaet skifter selve demoen.
Kode
Koden er låst
Presence Cursor er en del af Manniche UI Pro. En nøgle åbner kildekoden til alle 66 effekter.
Køb · 49 €49 € · Introduktionspris til og med 31. december 2026. Derefter 79 €.
- Engangsbetaling
- Én udvikler
- Log ind og opret din nøgle med det samme
- Ingen moms (§ 19 UStG)
Har du en nøgle? Hent koden med CLI eller MCP.
Nøglen ligger i MANNICHE_PRO_KEY, aldrig i koden eller i adressen. Sådan sætter du den op
npx shadcn@latest add @manniche-pro/presence-cursorclaude mcp add --transport http manniche-ui https://mikkelmanniche.dk/api/mcp --header "Authorization: Bearer $MANNICHE_PRO_KEY"Props
PresenceCursorProps
| Prop | Type | Standard | Hvad den gør |
|---|---|---|---|
label | ReactNode | 'You' | The name on the tag. Leave it empty for an arrow without a tag. |
color | string | '#2f5bd8' | Fill of the arrow and the tag. Any CSS colour. |
textColor | string | '#ffffff' | Colour of the text on the tag. |
size | number | 1 | Scales the arrow, the tag and its text together. 1 is a 20 px arrow with 13 px text. |
maxTilt | number | 12 | How far, in degrees, the tag may rock when the pointer moves fast. 0 keeps it level. |
offset | PresenceCursorOffset | { x: 0, y: 0 } | Nudges the arrow tip away from the real pointer position, in pixels. |
labelOffset | 'auto' | PresenceCursorOffset | 'auto' | Where the tag sits, measured from the arrow tip in pixels. auto tucks it under the arrow and flips it to the other side near the right or bottom edge, so it never leaves the surface. |
children | ReactNode | – | The surface. The custom cursor shows only while the pointer is over it. |
className | string | – | – |
A11y
Skærmlæser
The arrow and the name tag are drawn in a layer that is aria-hidden and has pointer-events: none, so clicks, focus and text selection go straight through to the content. The tag text is not read. Content passed as children is read as usual.
Mindre bevægelse
The arrow follows the pointer exactly and the tag trails on a spring and rocks with speed. Under reduced motion the tag follows without lag or rocking and the arrow does not scale on press.
Andet
The system pointer is hidden only inside the surface and only for mouse and pen; the keyboard focus ring is not touched and the drawn layer never takes focus. On touch-first devices (pointer: coarse) nothing is drawn and the surface renders as a plain container.