Loop Indicator
A copy-paste audio & waveforms component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
Audio & WaveformsHTMLCSSany framework
Copy into your project
HTML
<button class="nuda-loop" aria-label="Loop">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M17 1l4 4-4 4" />
<path d="M3 11V9a4 4 0 014-4h14" />
<path d="M7 23l-4-4 4-4" />
<path d="M21 13v2a4 4 0 01-4 4H3" />
</svg>
</button>CSS
.nuda-loop.is-on {
background: rgba(228, 255, 84, 0.08);
border-color: #e4ff54;
color: #e4ff54;
}
.nuda-loop.is-on svg {
animation: nuda-loop-spin 4s linear infinite;
}
@keyframes nuda-loop-spin { to { transform: rotate(360deg); } }How to use Loop Indicator
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.