Skip to content

Suggested Tags Strip

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

Tags & Chips InputHTMLCSSany framework
Suggested

Copy into your project

HTML
<div class="nuda-chip-suggest">
  <span class="nuda-chip-suggest__label">Suggested</span>
  <div class="nuda-chip-suggest__row">
    <button type="button" class="nuda-chip-suggest__chip">+ marketing</button>
    <button type="button" class="nuda-chip-suggest__chip">+ launch</button>
    <button type="button" class="nuda-chip-suggest__chip">+ q4</button>
    <button type="button" class="nuda-chip-suggest__chip">+ brand</button>
    <button type="button" class="nuda-chip-suggest__chip">+ growth</button>
  </div>
</div>
CSS
/* Suggested Tags Strip
   Dashed-outline chips that solidify on hover.
   Customize: --suggest-accent */

.nuda-chip-suggest {
  --suggest-accent: #e4ff54;
  width: 100%;
  font: 500 12px/1 ui-sans-serif, system-ui, sans-serif;
}

.nuda-chip-suggest__label {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #63636e;
}

.nuda-chip-suggest__row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nuda-chip-suggest__chip {
  padding: 4px 10px;
  color: #a0a0a8;
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 99px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.15s;
}

.nuda-chip-suggest__chip:hover {
  color: var(--suggest-accent);
  border-color: var(--suggest-accent);
  border-style: solid;
  background: rgba(228, 255, 84, 0.06);
  transform: translateY(-1px);
}

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

How to use Suggested Tags Strip

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