Holiday sale: 40% off Pro with code · limited offer · ends Dec 31
See ProA crisp pixel-art cursor layer: the native pointer is swapped for a hand-drawn pixel cursor (a twinkling wand, arrow, crosshair or orb) and the movement leaves a trail of four-point sparkles that twinkle, drift and shrink, a stepped ribbon that fades through the palette, bouncing pixel dust or a comet tail. Clicks fire a sparkle burst with an expanding pixel ring. Works inside a section or globally over the whole page, plays an infinity-loop ghost path when the pointer is away so the effect is visible at rest, offers six original palettes plus custom colors and integer pixel scaling, and shows a still sparkle arrangement under reduced motion.
Included in Pro and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
The copied code, markdown and prompt include the values you set here.
import { PixelCursorTrail } from "@/components/hyperblur-pro/pixel-cursor-trail"
<PixelCursorTrail trail="ribbon" cursor="arrow" palette="ember" />
<PixelCursorTrail global cursor="wand" controls={false}>{null}</PixelCursorTrail>| Prop | Type | Default | Description |
|---|---|---|---|
| trail | "sparkle" | "ribbon" | "dust" | "comet" | "sparkle" | Trail style. |
| cursor | "arrow" | "cross" | "wand" | "orb" | "none" | "wand" | Pixel cursor shape. none keeps the native cursor. |
| palette | "fairy" | "ember" | "aqua" | "neon" | "gold" | "mono" | "fairy" | Named palette, bright to dim. |
| colors | string[] | undefined | Custom palette of two or more hex colors, bright to dim. |
| pixelSize | number | 5 | CSS pixels per art pixel, rounded to whole device pixels. |
| density | number | 1 | Particle amount multiplier. |
| global | boolean | false | Cover the whole viewport instead of the section. |
| autoplay | boolean | true | Ghost cursor path while the pointer is away. |
| clickBurst | boolean | true | Sparkle burst and ring on click. |
| controls | boolean | true | Show trail and cursor pickers in the demo copy. |
| title | string | "Move your cursor" | Bitmap headline in the demo copy. |
| height | string | "100vh" | Minimum height of the section. |
Source code is included in Pro and above