Profile Skeleton Loader
A copy-paste profile headers component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
Profile HeadersHTMLCSSany framework
Copy into your project
HTML
<div class="nuda-skel" aria-busy="true" aria-live="polite">
<div class="nuda-skel__avatar"></div>
<div class="nuda-skel__lines">
<div class="nuda-skel__line nuda-skel__line--name"></div>
<div class="nuda-skel__line nuda-skel__line--sub"></div>
<div class="nuda-skel__line nuda-skel__line--bio"></div>
</div>
</div>CSS
/* Profile Skeleton Loader
Shimmering avatar + lines for loading state.
Customize: --skel-base, --skel-shine */
.nuda-skel {
--skel-base: rgba(255, 255, 255, 0.04);
--skel-shine: rgba(255, 255, 255, 0.1);
display: flex;
gap: 14px;
padding: 16px;
background: #0c0c10;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 14px;
max-width: 320px;
width: 100%;
}
.nuda-skel__avatar,
.nuda-skel__line {
background: linear-gradient(
90deg,
var(--skel-base) 0,
var(--skel-shine) 50%,
var(--skel-base) 100%
);
background-size: 200% 100%;
animation: nuda-skel-shimmer 1.4s ease-in-out infinite;
}
.nuda-skel__avatar {
width: 48px;
height: 48px;
border-radius: 50%;
flex-shrink: 0;
}
.nuda-skel__lines {
flex: 1;
display: flex;
flex-direction: column;
gap: 8px;
justify-content: center;
}
.nuda-skel__line {
height: 10px;
border-radius: 6px;
}
.nuda-skel__line--name { width: 55%; height: 12px; animation-delay: 0.05s; }
.nuda-skel__line--sub { width: 35%; animation-delay: 0.1s; }
.nuda-skel__line--bio { width: 90%; animation-delay: 0.15s; }
@keyframes nuda-skel-shimmer {
0% { background-position: 200% 0; }
100% { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
.nuda-skel__avatar,
.nuda-skel__line {
animation: none;
background: rgba(255, 255, 255, 0.06);
}
}How to use Profile Skeleton Loader
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.