Loading
Loading
Loading
mobile footer

Build the Interaction Layer Your Website is Missing.

Browse All EffectsBrowse All EffectsBrowse All EffectsUpgrade to ProUpgrade to ProUpgrade to Pro

70+ effects free, forever. No credit card.

© 2026 Hyperiux. All Rights Reserved.

AI Component CatalogueHey AI, Learn About Us
Platform

Vault

  • Documentation
  • Pricing
  • Blog
  • Community
  • NPM
  • MCP

Categories

  • All Effects
  • WebGL
  • Text
  • Backgrounds
  • Buttons
  • Carousels
  • Scroll
  • Components
  • Navigation
  • Cursor
  • Transitions
  • Loaders

Documents

  • Introduction
  • Installation
  • CLI
  • Dependencies
  • License

Legal

  • License Agreement
  • Terms of Service
  • Privacy Policy
  • Refund Policy
Socials
  • Twitter / X
  • LinkedIn
  • GitHub
  • Instagram
Contact Us
  • hello@hyperiux.com
New effects, in your inbox

Every new drop, plus the occasional behind-the-scenes build. No spam. Unsubscribe anytime.

All Effects
Featured ComponentsText AnimationsAnimated BackgroundsAnimated ButtonsCarousel EffectsScroll EffectsCreative ComponentsNavigationsCursor EffectsTransitionsLoadersWebGL & 3D Effects
Templates
IntroductionInstallationCLIDependenciesLicense
PricingBlogGithubNPMMCP Doc
Loading
Home/effects/Full Screen Crosshair

Full Screen Crosshair

Turn pointer movement into a precise viewport-wide tracking layer for technical, cyber, and experimental desktop experiences.

mouse-tracking
DemoDemoDemo

Tune the Real Props

Color

Crosshair line and center color.

Overview

Full Screen Crosshair turns pointer movement into a measurement layer. The page feels inspected, targeted, and slightly dangerous in a good way.

Use Full Screen Crosshair when a technical, cyber, AI, editorial, or experimental brand wants the pointer to become part of the visual language. The page job is precision: movement should make the interface feel deliberate, not decorated.

The production risk is interference. A full-screen cursor layer can cover focus rings, fight selection, obscure controls, or feel absurd on touch devices. Treat it as disposable: disable it on coarse pointers, keep it below interactive UI, and make sure the page works perfectly without it.


Usage Code

page
1import FullScreenCrosshair from "@/components/effects/full-screen-crosshair";2 3export default function Page() {4  return (5    <main className="h-screen w-screen relative bg-[#211951] text-[#826fffaa]">6      <FullScreenCrosshair7        thickness={0.5}8        lerpFactor={0.1}9        hideNativeCursor10        color="#F0F3FF"11        centerContent="•"12      />13 </main>14 );15}

Example Production Use Case

A cybersecurity landing page can use Full Screen Crosshair in the hero to make the page feel like an active targeting surface. The outcome is precision: the brand tone sharpens while the headline and CTA remain fully usable.


Best Used For

  • Technical, cyber, AI, and experimental homepages where pointer tracking supports the brand mood.
  • Desktop hero sections that can carry a full-screen visual cursor layer.
  • Interactive pages where the crosshair can vanish without removing content or control.

Not For

Not for dashboards, checkout, forms, editors, documentation, or mobile-first routes where native cursor and text selection matter more.

Not for pages where the crosshair sits above links, inputs, modals, or focus states.


Performance Budget

Use a single overlay layer, update position with requestAnimationFrame, avoid layout reads on every pointer move, and remove listeners on unmount.


Accessibility and Mobile

Disable on coarse pointers. Keep native touch behavior. Preserve visible focus states, text selection, and click targets. The component has no reduced-motion mode, so the lines keep tracking the pointer.


Common Mistakes

  • Placing the crosshair above clickable UI.
  • Forgetting to disable the effect on touch devices.
  • Letting coordinate or line motion distract from the CTA.

Changelog

Added reduced-motion support .
Initial release

API Reference

PropTypeDefaultDescription
colorcolor#000000Crosshair line and center color.
centerContentstring•Text or symbol shown at the cursor center.
hideNativeCursorbooleantrueHides the system cursor while the crosshair is active.
gapnumber20Gap around the center symbol.
thicknessnumber1Line thickness in pixels.
centerSizenumber24Center symbol size in pixels.
smoothbooleantrueEnables smoothed cursor tracking.
lerpFactornumber0.14Controls cursor smoothing speed. Needs Smooth on.

Questions, Answered.

When should I use Full Screen Crosshair?

Use it when a desktop technical or experimental page needs pointer movement to feel precise, inspected, or targeted.

Should Full Screen Crosshair work on mobile?

No. The component does not check pointer type, so disable it on coarse pointers yourself and provide normal touch behavior.

Can it show coordinates?

Not built in; the centerContent prop places text or a glyph at the intersection, and any coordinate readout should be decorative unless the page has a real measurement use case. Avoid making screen readers announce pointer changes.

How should it behave around buttons and links?

Buttons, links, focus rings, menus, and modals must remain above and fully usable. The crosshair overlay already uses pointer-events: none.

What should reduced motion do?

Full Screen Crosshair has no reduced-motion mode; the crosshair keeps following the pointer, and hideNativeCursor still hides the native cursor if set.

Can Hyperiux adapt Full Screen Crosshair for a real brand system?

Yes. A custom version should define crosshair style, coordinate behavior, z-index rules, reduced-motion fallback, mobile disablement, source handoff, and implementation notes.

Request a Custom Animation

Need a custom effect? Tell us what to create.

Related Effects

Explore All EffectsExplore All EffectsExplore All Effects
Fractal Glass
Three.js

Fractal Glass

WebGL

Animated Form
Pro
zod

Animated Form

Components

Fish Eye Cursor
Pro
Three.js@react-three/drei@react-three/fiber

Fish Eye Cursor

Cursor

Expanding Navbar
Pro
GSAPLucide-react

Expanding Navbar

Navigation