binimum/am-lyrics ? reverse-engineered prompt

Reverse engineered prompt

Build me a polished web component for showing song lyrics that sync word by word with audio playback, kind of like Apple Music.

I want it to take in song info like title, artist, album, duration, and the current play time, then automatically fetch the best lyrics it can find and keep the highlighted word in sync as the song plays. It should also let me pass in lyrics directly if I already have them, and it should support clicking a lyric line to jump playback to that point.

Make it easy to style with a few simple props and CSS variables, especially the highlight color and font. It should feel smooth, auto scroll the active line, and adapt nicely to small and large screens. If you can, include a simple React friendly way to use it too, and make sure it works as a reusable component I can drop into a site or app.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab