Skip to content

Animated Chip Pop-in

A copy-paste tags & chips input component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.

Tags & Chips InputHTMLCSSany framework
alphabetagammadeltaepsilon

Copy into your project

HTML
<div class="nuda-chip-pop">
  <span class="nuda-chip-pop__chip" style="animation-delay:0s">alpha</span>
  <span class="nuda-chip-pop__chip" style="animation-delay:.15s">beta</span>
  <span class="nuda-chip-pop__chip" style="animation-delay:.3s">gamma</span>
  <span class="nuda-chip-pop__chip" style="animation-delay:.45s">delta</span>
  <span class="nuda-chip-pop__chip" style="animation-delay:.6s">epsilon</span>
</div>
CSS
/* Animated Chip Pop-in
   Springy scale/fade-in for newly added chips.
   Customize: --pop-duration, --pop-easing */

.nuda-chip-pop {
  --pop-duration: 0.35s;
  --pop-easing: cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nuda-chip-pop__chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font: 500 12px/1 ui-sans-serif, system-ui, sans-serif;
  color: #fafafa;
  background: #111114;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  opacity: 0;
  transform: scale(0.4);
  animation: nuda-chip-pop var(--pop-duration) var(--pop-easing) forwards;
}

@keyframes nuda-chip-pop {
  0%   { opacity: 0; transform: scale(0.4) translateY(8px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .nuda-chip-pop__chip {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

How to use Animated Chip Pop-in

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.

More tags & chips input components

← Browse all NudaUI components