List Skeleton
A copy-paste skeletons component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
SkeletonsHTMLCSSany framework
Copy into your project
HTML
<div class="nuda-sklist">
<div class="nuda-sklist__row">
<span class="nuda-sklist__dot"></span>
<span class="nuda-sklist__line" style="width:70%"></span>
</div>
<!-- More rows -->
</div>CSS
.nuda-sklist {
display: flex;
flex-direction: column;
gap: 8px;
padding: 10px;
width: 100%;
max-width: 240px;
}
.nuda-sklist__row {
display: flex;
align-items: center;
gap: 10px;
animation: _sklistIn .55s cubic-bezier(.16,1,.3,1) both;
}
.nuda-sklist__dot {
width: 16px;
height: 16px;
border-radius: 4px;
flex-shrink: 0;
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;
}
.nuda-sklist__line {
flex: 1;
height: 8px;
border-radius: 3px;
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;
}
@keyframes _skShim {
to {
background-position: -200% 0;
}
}
@keyframes _sklistIn {
from {
opacity: 0;
transform: translateX(-4px);
}
to {
opacity: 1;
transform: none;
}
}
@media (prefers-reduced-motion:reduce) {
.nuda-sklist__row,.nuda-sklist__dot,.nuda-sklist__line {
animation: none;
}
}
How to use List Skeleton
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.