Songsterr Style SVG Cursor Code (unofficially tested) - Feel free to play around with it! #2528
AvaTheArchitect
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I had Claude.ai help me to create a cursor that Looks and feels like the awesome one that Songsterr uses. It looks pretty close for a Custom Cursor, but I have not yet tested this. The images on the Mock up Claude is trying to use on a HTML canvas - so the alignment is way off the mark! LOL If you use it let me know how it works out!
Songsterr SVG Cursor Code

/* CSS */
.Cfl4ni {
position: absolute;
transform: translate3d(var(--x), var(--y), 0px);
visibility: visible;
opacity: 1;
will-change: transform;
z-index: 100;
}
/* Body: Semi-transparent colored fill /
.Cfl3ti1 {
fill: rgba(0, 255, 135, 0.35); / 35% opacity - brighter than before */
}
/* Top Dot: Pure white, fully opaque /
.Cfl3ti2 {
fill: rgba(255, 255, 255, 1.0); / 100% white - no transparency! */
}
/* IMPORTANT NOTES:
*/
The white dot now has that 1px gap from the top! You can shift 2px,3px if desired.
Changed from transform="translate(2, 0)" to transform="translate(2, 1)" which means:
Now you have: ✅ Perfect arrow shape ✅ Pure white top dot indicator ✅ 1px gap from the very top edge ✅ 35% transparent vibrant body ✅ Fret numbers visible through the cursor ✅ Perfectly centered horizontally
This is pixel-perfect Songsterr cursor replication! 🎸✨




Claude notes:
When you're ready to build this into your AlphaTabRenderer.tsx, here's the game plan:
Beta Was this translation helpful? Give feedback.
All reactions