Components

Crosshair

Animated crosshair cursor with two counter-rotating partial rings and a center crosshair. Fully customizable colors, sizes, ring thickness, arc gap, speed, and glow.

npx neonblade add crosshair

Interactive Preview — move mouse inside the box

Move cursor here

cyan

Color Variants

Cyan
Pink
Green

Size Variants

Small
Default
Large

Arc Gap

10% gap
30% gap (default)
50% gap

Glow Intensity

none
low
medium
high

Props Configuration

PropTypeDefaultDescription
color"cyan" | "pink" | "green" | string"cyan"Ring and crosshair accent color. Use a preset name or any CSS color value (e.g. "#ff4400").
outerSizenumber44Outer ring diameter in pixels.
innerSizenumber26Inner ring diameter in pixels.
outerThicknessnumber2Outer ring stroke thickness in pixels.
innerThicknessnumber1.5Inner ring stroke thickness in pixels.
arcGapnumber0.3Fraction of each ring that is invisible (the gap). 0 = full circle, 0.3 = 70% arc, 0.5 = semicircle.
outerSpeednumber3Outer ring rotation period in seconds per full revolution. Smaller = faster.
innerSpeednumber2Inner ring rotation period in seconds per full revolution. Smaller = faster.
crosshairSizenumber7Length of each crosshair arm in pixels.
crosshairGapnumber3Gap between the crosshair center and the start of each arm in pixels.
crosshairThicknessnumber1Crosshair line stroke thickness in pixels.
glowIntensity"none" | "low" | "medium" | "high""medium"Neon glow intensity (drop-shadow) around the rings and crosshair.
hideNativeCursorbooleantrueWhen true, hides the native OS cursor while the component is mounted (sets body cursor: none).
disabledbooleanfalseCompletely disables the custom cursor and renders nothing.