Crosshair Cursor
cursorProEt præcist trådkors med farve og tykkelse pr. akse, en midterprik, valgfri linealer og en levende X/Y- eller fast tekst, der vender ved kanterne.
Åbner snart
Pro kan ikke købes endnu. Siden åbner, når betalingen er klar.
Preview
Forhåndsvisningen kunne ikke hentes.
Live demo. Temaet skifter selve demoen.
Kode
crosshair-cursor.tsxPro
Koden er låst
Crosshair Cursor er en del af Manniche UI Pro. En nøgle åbner kildekoden til alle 60 effekter.
Åbner snart49 € · Introduktionspris til og med 31. december 2026. Derefter 79 €.
- Engangsbetaling
- Én udvikler
- Nøglen kommer på mail 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
CLI
npx shadcn@latest add @manniche-pro/crosshair-cursorMCP
claude mcp add --transport http manniche-ui https://mikkelmanniche.dk/api/mcp --header "Authorization: Bearer $MANNICHE_PRO_KEY"Props
CrosshairCursorProps
| Prop | Type | Standard | Hvad den gør |
|---|---|---|---|
scope | 'container' | 'window' | 'window' | window draws the crosshair across the whole viewport; container only inside this component's box. |
color | string | – | Colour of both lines; defaults to a faint tint of the text colour. |
verticalColor | string | – | Colour of the vertical line (the one that marks x); overrides color. |
horizontalColor | string | – | Colour of the horizontal line (the one that marks y); overrides color. |
thickness | number | 1 | Line thickness in pixels for both lines. |
verticalThickness | number | – | Thickness of the vertical line; overrides thickness. |
horizontalThickness | number | – | Thickness of the horizontal line; overrides thickness. |
dashed | boolean | false | Dashed instead of solid lines. |
gap | number | 10 | Clear space round the pointer where the lines stop, in pixels. |
dotSize | number | 9 | Diameter of the marker at the crossing in pixels; 0 hides it. |
dotColor | string | '#3d7bff' | Colour of the marker. |
showLabel | boolean | true | Show the readout next to the pointer. |
label | string | – | Fixed text for the readout instead of live coordinates. |
format | (x: number, y: number) => string | – | Builds the readout from the coordinates, e.g. (x, y) => \${x}, ${y}\``. |
labelColor | string | '#ffffff' | Text colour of the readout. |
labelBackground | string | '#3d7bff' | Background of the readout. |
labelClassName | string | – | Classes for the readout: font, padding, corner radius and so on. |
rulers | boolean | false | Tick rulers along the top and left edges with a marker for the current position. |
hideCursor | boolean | true | Hide the system pointer while the crosshair is showing. |
children | ReactNode | – | Content under the crosshair (container scope). |
className | string | – | Classes for the wrapper (container scope). |
A11y
Ingen a11y-noter skrevet endnu.
Noterne kommer sammen med kildekoden, når Pro åbner.