Ghost Cursor
The cursor leaves a pale, smoky trail that drifts up and fades out.
import { GhostCursor } from "pleate/effects/ghost-cursor";Smoke
Leave a trail of smoke
Accent
Accent, bigger and slower
Props
- color
Smoke color.
stringdefault var(--pl-fg)- size
Puff radius in px when born.
numberdefault 22- life
Seconds a puff lives.
numberdefault 1.1- opacity
Puff opacity (0 to 1).
numberdefault 0.35- global
Follow the pointer across the whole page instead of only the container.
booleandefault false
Accessibility
- Decorative layer, hidden from assistive tech, and it never catches clicks.
- Stays inside its container unless global is set. The system cursor stays visible.
- Mouse and pen only: touch screens and reduced motion get the plain content.