Orbit Dots
A copy-paste loaders component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
LoadersHTMLCSSany framework
Copy into your project
HTML
<!-- Orbit Dots Loader -->
<div class="nuda-orbit-dots" role="status" aria-label="Loading">
<span></span>
<span></span>
<span></span>
</div>CSS
/* Orbit Dots Loader
Three dots orbiting a shared center, staggered along the path.
Customize: --orbit-dots-color, --orbit-dots-radius */
.nuda-orbit-dots {
--orbit-dots-color: #e4ff54;
position: relative;
width: 44px;
height: 44px;
}
.nuda-orbit-dots span {
position: absolute;
top: 50%;
left: 50%;
width: 9px;
height: 9px;
margin: -4.5px;
background: var(--orbit-dots-color);
border-radius: 50%;
animation: nuda-orbit-dots 1.4s linear infinite;
will-change: transform;
}
.nuda-orbit-dots span:nth-child(2) { animation-delay: -0.466s; opacity: 0.7; }
.nuda-orbit-dots span:nth-child(3) { animation-delay: -0.933s; opacity: 0.45; }
@keyframes nuda-orbit-dots {
from { transform: rotate(0deg) translateX(16px); }
to { transform: rotate(360deg) translateX(16px); }
}
@media (prefers-reduced-motion: reduce) {
.nuda-orbit-dots span { animation: none; }
}How to use Orbit Dots
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.