Toggle Sidebar B
AppearanceLight & dark mode D

Crosshair

Custom crosshair cursor with tracking, and link hover effects.

Default

Move the pointer over the stage and hover the link to see the noise distortion. With Cursor Container set to Viewport the crosshair spans the whole page, with Targeted it stays inside the stage.

Dark previewReplay previewOpen in new tab
Target

(hover the text)

Customize

Crosshair Color
Cursor Container

API Reference

Crosshair

PropTypeDefaultDescription
colorstring'white'Color of the crosshair lines.
containerRefHTMLElement | nullnullOptional container element to limit the crosshair to. If null, the crosshair is active on the entire viewport.

Accessibility

Keyboard shortcuts and ARIA behavior.

  • Decorative overlay with pointer-events disabled. The native cursor is not hidden, so pointing and clicking behave as usual.