Ripple Rings
A copy-paste loaders component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
LoadersHTMLCSSany framework
Copy into your project
HTML
<!-- Ripple Rings Loader -->
<div class="nuda-ripple-rings" role="status" aria-label="Loading">
<span></span>
<span></span>
<span></span>
</div>CSS
/* Ripple Rings Loader
Concentric rings expanding outward and fading (transform + opacity).
Customize: --ripple-color, --ripple-size */
.nuda-ripple-rings {
--ripple-color: #e4ff54;
--ripple-size: 44px;
position: relative;
width: var(--ripple-size);
height: var(--ripple-size);
}
.nuda-ripple-rings span {
position: absolute;
inset: 0;
border: 2px solid var(--ripple-color);
border-radius: 50%;
opacity: 0;
animation: nuda-ripple-rings 1.8s cubic-bezier(0, 0.2, 0.8, 1) infinite;
will-change: transform, opacity;
}
.nuda-ripple-rings span:nth-child(2) { animation-delay: 0.6s; }
.nuda-ripple-rings span:nth-child(3) { animation-delay: 1.2s; }
@keyframes nuda-ripple-rings {
0% { transform: scale(0.2); opacity: 0.9; }
100% { transform: scale(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
.nuda-ripple-rings span { animation: none; opacity: 0.4; transform: scale(0.7); }
}How to use Ripple Rings
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.