Skip to content

Circular Visualizer

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-cviz">
  <!-- 24 bars, rotated by 15deg each. Generate with JS or by hand. -->
  <span style="transform: rotate(0deg) translateY(-22px)"></span>
  <span style="transform: rotate(15deg) translateY(-22px)"></span>
  <!-- ... -->
  <div class="nuda-cviz__center"></div>
</div>
CSS
.nuda-cviz {
  position: relative;
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nuda-cviz span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3px;
  height: 14px;
  background: #e4ff54;
  border-radius: 2px;
  transform-origin: 50% 22px;
  animation: _cvizBar 1.2s ease-in-out infinite;
}

.nuda-cviz__center {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e4ff54;
  box-shadow: 0 0 12px rgba(228,255,84,.6);
  animation: _cvizCore 1.6s ease-in-out infinite;
}

@keyframes _cvizBar {
  0%,100% {
    height: 6px;
  }
  50% {
    height: 18px;
  }
}

@keyframes _cvizCore {
  0%,100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.18);
  }
}

@media (prefers-reduced-motion:reduce) {
  .nuda-cviz span,.nuda-cviz__center {
    animation: none;
  }
}

How to use Circular Visualizer

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.

More audio & waveforms components

← Browse all NudaUI components