Skip to content

Emoji Reaction Picker

A copy-paste comments & reactions component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.

Comments & ReactionsHTMLCSSany framework

Copy into your project

HTML
<div class="nuda-emoji-picker" role="group" aria-label="React with emoji">
  <button type="button" class="nuda-emoji-picker__btn" style="animation-delay:0ms">👍</button>
  <button type="button" class="nuda-emoji-picker__btn" style="animation-delay:50ms">❤️</button>
  <button type="button" class="nuda-emoji-picker__btn" style="animation-delay:100ms">😂</button>
  <button type="button" class="nuda-emoji-picker__btn" style="animation-delay:150ms">😮</button>
  <button type="button" class="nuda-emoji-picker__btn" style="animation-delay:200ms">😢</button>
  <button type="button" class="nuda-emoji-picker__btn" style="animation-delay:250ms">🔥</button>
</div>
CSS
/* Emoji Reaction Picker
   Popover with 6 reactions; each pops in then scales on hover.
   Customize: --ep-bg, --ep-border */

.nuda-emoji-picker {
  --ep-bg: #111114;
  --ep-border: #1c1c22;
  display: inline-flex;
  gap: 4px;
  padding: 6px;
  background: var(--ep-bg);
  border: 1px solid var(--ep-border);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.nuda-emoji-picker__btn {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.2s;
  animation: nuda-ep-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  padding: 0;
}

.nuda-emoji-picker__btn:hover {
  background: #1c1c22;
  transform: scale(1.3) translateY(-3px);
}

.nuda-emoji-picker__btn:focus-visible {
  outline: 2px solid #e4ff54;
  outline-offset: 2px;
}

@keyframes nuda-ep-in {
  from { opacity: 0; transform: scale(0.3) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .nuda-emoji-picker__btn {
    animation: none;
    transition: none;
  }
  .nuda-emoji-picker__btn:hover {
    transform: none;
    background: #1c1c22;
  }
}

How to use Emoji Reaction Picker

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 comments & reactions components

← Browse all NudaUI components