Luz de ciudadAurora Sur

HTML + CSSText & scroll

Synced song lyrics

Like lyrics in a music app: the current line fills with light in time, the others blur, and any line can be tapped.

Settings

16px
1x

Code

<div class="uvq14-lyr"><div class="hd"><span class="art" aria-hidden="true"><i></i><i></i><i></i></span><p><b>City light</b><span>Aurora Sur</span></p><button type="button" class="pl" aria-pressed="true" aria-label="Play"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M9 6v12M15 6v12"/></svg><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M8 5.5v13l10.5-6.5z" fill="currentColor"/></svg></button></div><div class="vw"><ol><li><button type="button" aria-current="true"><span>Under the city lights</span></button></li><li><button type="button"><span>The streets are singing again</span></button></li><li><button type="button"><span>Your name written on the glass</span></button></li><li><button type="button"><span>And the train that won't come back</span></button></li><li><button type="button"><span>We dance alone until the sun</span></button></li></ol></div></div>

Prompt for AI

Paste it into ChatGPT, Claude or Cursor and it will adapt the block to your project with these settings, even if you don’t use React.

Markdown version with all the code, for AI assistants

More in Text & scroll

See all Text & scroll

Where to use it

Music apps turned lyrics into a reading experience: the active line glows and sweeps from left to right while the rest wait out of focus. This card recreates it with a background clip on the text, a blur on the inactive lines and a list that slides up on its own. It fits artist pages, podcasts with transcripts and karaoke style promos.

Write your own lines in the list and set the first one in the text field. The main and secondary colors paint the background glow. Each line is a button, so people can jump with a click, the keyboard or a tap, and pause with the round button.