Skip to content

DNA Helix

A copy-paste spinners component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.

SpinnersHTMLCSSany framework

Copy into your project

HTML
<div class="nuda-dna">
  <!-- 8 spans with sequential left offsets and animation-delay -->
  <span style="left:0;animation-delay:0s"></span>
  <span style="left:8px;animation-delay:.12s"></span>
  <!-- ... -->
</div>
CSS
.nuda-dna span {
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e4ff54;
  animation: nuda-dna-wave 1.4s ease-in-out infinite;
}

@keyframes nuda-dna-wave {
  0%, 100% { transform: translateY(-10px) scale(0.8); background: #e4ff54; }
  50%      { transform: translateY(10px)  scale(1);   background: #62b6ff; }
}

How to use DNA Helix

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 spinners components

← Browse all NudaUI components