Shimmer Badge
A copy-paste badges & tags component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
Badges & TagsHTMLCSSany framework
PRO
Copy into your project
HTML
<span class="nuda-shimmer-badge">PRO</span>CSS
/* Shimmer Badge
Badge with shimmer sweep effect.
Customize: gradient colors */
.nuda-shimmer-badge {
display: inline-flex;
align-items: center;
padding: 4px 14px;
background: linear-gradient(135deg, #6366f1, #8b5cf6);
border-radius: 20px;
font-size: 12px;
font-weight: 700;
letter-spacing: 0.06em;
color: #fff;
position: relative;
overflow: hidden;
}
.nuda-shimmer-badge::after {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 60%;
height: 100%;
background: linear-gradient(
90deg,
transparent,
rgba(255, 255, 255, 0.25),
transparent
);
animation: nuda-shimmer-sweep 2.5s ease-in-out infinite;
will-change: left;
}
@keyframes nuda-shimmer-sweep {
0% { left: -100%; }
50%, 100% { left: 150%; }
}
@media (prefers-reduced-motion: reduce) {
.nuda-shimmer-badge::after { animation: none; }
}How to use Shimmer Badge
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.