Equalizer Bars
A copy-paste audio & waveforms component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
Audio & WaveformsHTMLCSSany framework
Copy into your project
HTML
<div class="nuda-eq" role="img" aria-label="Audio playing">
<span style="animation-delay: 0s"></span>
<span style="animation-delay: 0.12s"></span>
<span style="animation-delay: 0.24s"></span>
<span style="animation-delay: 0.36s"></span>
<span style="animation-delay: 0.48s"></span>
</div>CSS
.nuda-eq {
display: inline-flex;
align-items: flex-end;
gap: 3px;
height: 30px;
}
.nuda-eq span {
width: 4px;
height: 100%;
background: #e4ff54;
border-radius: 2px;
animation: nuda-eq-bar 1s ease-in-out infinite;
}
@keyframes nuda-eq-bar {
0%, 100% { transform: scaleY(0.2); }
50% { transform: scaleY(1); }
}How to use Equalizer Bars
Paste the HTML where you need it and the CSS into a global stylesheet (or a <style> tag). Every class is prefixed nuda- so it never collides with Tailwind or your own styles. Tweak the CSS custom properties to match your design system.
Works in React, Vue, Svelte, Astro, Next.js, Nuxt, Laravel Blade, Django, Rails — or a single .html file. No npm install, no build step.