Table 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-sktable">
<div class="nuda-sktable__head">
<span style="width:30%"></span>
<span style="width:25%"></span>
<span style="width:20%"></span>
</div>
<div class="nuda-sktable__row">
<span style="width:35%"></span>
<span style="width:20%"></span>
<span style="width:25%"></span>
</div>
<!-- More rows -->
</div>CSS
.nuda-sktable {
display: flex;
flex-direction: column;
gap: 8px;
padding: 10px;
background: rgba(255,255,255,.02);
border: 1px solid rgba(255,255,255,.06);
border-radius: 10px;
width: 100%;
max-width: 280px;
}
.nuda-sktable__head {
display: flex;
gap: 14px;
padding-bottom: 8px;
border-bottom: 1px solid rgba(255,255,255,.06);
}
.nuda-sktable__head span {
height: 8px;
border-radius: 3px;
background: rgba(255,255,255,.12);
}
.nuda-sktable__row {
display: flex;
gap: 14px;
}
.nuda-sktable__row span {
height: 10px;
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;
}
}
@media (prefers-reduced-motion:reduce) {
.nuda-sktable__row span {
animation: none;
}
}
How to use Table 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.