Progressive Reveal
A copy-paste skeletons component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
SkeletonsHTMLCSSany framework
Hellothere,welcometoNudaUI.
Copy into your project
HTML
<div class="nuda-skrev">
<span class="is-loaded">Hello</span>
<span class="is-loaded">there,</span>
<span>welcome</span>
<span>to</span>
<span>NudaUI.</span>
</div>CSS
.nuda-skrev {
display: flex;
flex-wrap: wrap;
gap: 4px;
padding: 12px;
width: 100%;
max-width: 240px;
}
.nuda-skrev span {
padding: 2px 6px;
border-radius: 4px;
color: transparent;
background: linear-gradient(90deg,rgba(255,255,255,.04),rgba(255,255,255,.1),rgba(255,255,255,.04));
background-size: 200% 100%;
animation: _skShim 1.6s linear infinite;
font-size: 13px;
font-weight: 500;
transition: color .35s,background .35s;
}
.nuda-skrev span.is-loaded {
color: #fafafa;
background: transparent;
animation: none;
}
@keyframes _skShim {
to {
background-position: -200% 0;
}
}
@media (prefers-reduced-motion:reduce) {
.nuda-skrev span:not(.is-loaded) {
animation: none;
}
}
How to use Progressive Reveal
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.