Butterfly Trail Cursor
A playful cursor trail effect that leaves butterfly-like forms behind the pointer for creative, retail, culture, and campaign pages.

Overview
Butterfly Trail Cursor turns pointer movement into atmosphere: small playful forms trail behind the pointer.
Use it on creative homepages, portfolios, campaign pages, and brand experiments where the cursor can carry the visual language. Keep it off dashboards, checkout, forms, and utility-heavy product screens.
The production risk is restraint. Treat the cursor layer as throwaway: switch it off on touch, keep focus states visible, and let nothing about clicking depend on it. If the page falls apart once you remove the effect, the cursor was doing work it should not own.
Install Command
This is a Pro Effect.
You can preview it now. Upgrade to Pro for instant install access.
Usage Code
This is a Pro Effect.
You can preview it now. Upgrade to Pro for instant install access.
Component Code
This is a Pro Effect.
You can preview it now. Upgrade to Pro for instant install access.
This is a Pro Effect.
You can preview it now. Upgrade to Pro for instant install access.
Example Production Use Case
Use this as cursor-system implementation guidance. Verify the shipped component export, pointer-tracking model, coarse-pointer disablement, z-index behavior, focus safety, cleanup, and reduced-motion handling before relying on exact props, defaults, imports, or installation steps.
Best Used For
- Portfolio and campaign heroes where playful pointer motion fits the brand personality.
- Desktop-only decorative layers that can disappear without removing content or controls.
- Butterfly Trail Cursor gives pointer movement a brand role without hiding core controls or content.
Not For
Not for dashboards, checkout, forms, dense product UIs, or any flow where precision beats atmosphere.
Performance Budget
Use one cursor layer, throttle movement with requestAnimationFrame, avoid full-screen filter effects, and disable Butterfly Trail Cursor on coarse pointers.
Accessibility and Mobile
Switch it off for coarse pointers and leave touch native; anything revealed by the cursor needs a visible or tap-accessible alternative.
Common Mistakes
- Letting Butterfly Trail Cursor cover focus rings or clickable controls.
- Forgetting to disable the effect on coarse pointers.
- Hiding useful content behind mouse-only movement.
Changelog
v1.1.0
Jul 22, 2026v1.0.0
Jun 4, 2026Props
| Prop | Type | Default | Description |
|---|---|---|---|
butterflyCount | number | 14 | Number of trail butterflies. |
trailDistance | number | 18 | Distance between trail items. |
wingColor | string | #ffffff | Primary butterfly wing color. |
size | number | 28 | Rendered butterfly size. |
followSpeed | number | 0.18 | How quickly the trail follows the pointer. |
Frequently Asked Questions
When should I use Butterfly Trail Cursor?
Use it when a creative homepage, portfolio, or campaign section needs small playful forms trailing the pointer not on utility flows.
Does Butterfly Trail Cursor work on mobile?
Disable it on coarse pointers with CSS and JS pointer queries, then provide native touch behaviour.
Can Butterfly Trail Cursor reveal important content?
Only when the same content is visible or accessible without pointer movement. Cursor-only reveals are not suitable for critical information.
How should Butterfly Trail Cursor behave around links and buttons?
Native click targets, visible focus, hover states, and modal stacking all have to keep working underneath it.
What should reduced motion do for Butterfly Trail Cursor?
Disable trails, lag, ripples, and pointer-following motion, then return to the native cursor.
Request a Custom Cursor Animation
Need a custom effect? Tell us what to create.




