Tag Slide
A copy-paste badges & tags component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
Badges & TagsHTMLCSSany framework
Copy into your project
HTML
<span class="nuda-tag-slide">Design</span>
<span class="nuda-tag-slide" style="animation-delay: 0.08s;">Frontend</span>
<span class="nuda-tag-slide" style="animation-delay: 0.16s;">CSS</span>CSS
/* Tag Slide
Tags that slide in from the left.
Stagger with animation-delay on each tag. */
.nuda-tag-slide {
display: inline-flex;
align-items: center;
padding: 4px 10px;
background: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 6px;
font-size: 12px;
color: #ccc;
animation: nuda-tag-slide-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes nuda-tag-slide-in {
0% {
opacity: 0;
transform: translateX(-16px);
}
100% {
opacity: 1;
transform: translateX(0);
}
}
@media (prefers-reduced-motion: reduce) {
.nuda-tag-slide { animation: none; }
}How to use Tag Slide
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.