Dual Ring Glow
A copy-paste spinners component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
SpinnersHTMLCSSany framework
Copy into your project
HTML
<!-- Dual Ring Glow Spinner -->
<div class="nuda-dualglow" role="status" aria-label="Loading">
<span></span>
<span></span>
</div>CSS
/* Dual Ring Glow Spinner
Two counter-rotating glowing rings.
Customize: --dualglow-color */
.nuda-dualglow {
--dualglow-color: #e4ff54;
position: relative;
width: 40px;
height: 40px;
}
.nuda-dualglow span {
position: absolute;
border-radius: 50%;
border: 2px solid transparent;
will-change: transform;
}
.nuda-dualglow span:nth-child(1) {
inset: 0;
border-top-color: var(--dualglow-color);
border-right-color: var(--dualglow-color);
filter: drop-shadow(0 0 4px rgba(228, 255, 84, 0.6));
animation: nuda-dualglow-a 1.1s linear infinite;
}
.nuda-dualglow span:nth-child(2) {
inset: 7px;
border-bottom-color: var(--dualglow-color);
border-left-color: var(--dualglow-color);
filter: drop-shadow(0 0 3px rgba(228, 255, 84, 0.4));
animation: nuda-dualglow-b 1.1s linear infinite reverse;
}
@keyframes nuda-dualglow-a { to { transform: rotate(360deg); } }
@keyframes nuda-dualglow-b { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
.nuda-dualglow span { animation: none; opacity: 0.6; }
}How to use Dual Ring Glow
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.