Dashboard 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-skdash">
<div class="nuda-skdash__top">
<span></span><span></span><span></span>
</div>
<div class="nuda-skdash__chart"></div>
</div>CSS
.nuda-skdash {
display: flex;
flex-direction: column;
gap: 8px;
padding: 12px;
background: rgba(255,255,255,.02);
border: 1px solid rgba(255,255,255,.06);
border-radius: 10px;
width: 100%;
max-width: 280px;
}
.nuda-skdash__top {
display: grid;
grid-template-columns: repeat(3,1fr);
gap: 8px;
}
.nuda-skdash__top span {
height: 42px;
border-radius: 6px;
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-skdash__top span:nth-child(2) {
animation-delay: .1s;
}
.nuda-skdash__top span:nth-child(3) {
animation-delay: .2s;
}
.nuda-skdash__chart {
height: 80px;
border-radius: 6px;
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;
animation-delay: .3s;
}
@keyframes _skShim {
to {
background-position: -200% 0;
}
}
@media (prefers-reduced-motion:reduce) {
.nuda-skdash * {
animation: none;
}
}
How to use Dashboard 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.