Skip to content

Chip Overflow More

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

Tags & Chips InputHTMLCSSany framework
designcodetools

Copy into your project

HTML
<div class="nuda-chip-over">
  <span class="nuda-chip-over__chip">design</span>
  <span class="nuda-chip-over__chip">code</span>
  <span class="nuda-chip-over__chip">tools</span>
  <button type="button" class="nuda-chip-over__more">+3 more</button>
</div>
CSS
/* Chip Overflow More
   Collapses the tail of a long chip list behind "+N more".
   Customize: --over-accent */

.nuda-chip-over {
  --over-accent: #e4ff54;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.nuda-chip-over__chip {
  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;
}

.nuda-chip-over__more {
  padding: 4px 10px;
  font: 600 11px/1 ui-sans-serif, system-ui, sans-serif;
  color: var(--over-accent);
  background: rgba(228, 255, 84, 0.08);
  border: 1px solid rgba(228, 255, 84, 0.25);
  border-radius: 99px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.nuda-chip-over__more:hover {
  background: rgba(228, 255, 84, 0.16);
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .nuda-chip-over__more { transition: none; }
  .nuda-chip-over__more:hover { transform: none; }
}

How to use Chip Overflow More

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