Reza Tahir Author reply
Great question — yes, the bundle stays under 4 KB gzipped.
A copy-paste comments & reactions component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
Great question — yes, the bundle stays under 4 KB gzipped.
<article class="nuda-hl-reply">
<div class="nuda-hl-reply__inner">
<div class="nuda-hl-reply__avatar" aria-hidden="true">RT</div>
<div class="nuda-hl-reply__body">
<div class="nuda-hl-reply__name">
Reza Tahir <span class="nuda-hl-reply__chip">Author reply</span>
</div>
<p class="nuda-hl-reply__text">
Great question — yes, the bundle stays under 4 KB gzipped.
</p>
</div>
</div>
</article>.nuda-hl-reply {
position: relative;
padding: 1.5px;
border-radius: 13px;
max-width: 420px;
background: conic-gradient(from 0deg,#9d6dff,#62b6ff,#6ee7b7,#e4ff54,#9d6dff);
background-size: 200% 200%;
animation: _hlrotate 5s linear infinite;
}
.nuda-hl-reply::after {
content: "";
position: absolute;
inset: 0;
border-radius: inherit;
background: radial-gradient(circle at 50% 50%,rgba(157,109,255,.25),transparent 70%);
opacity: .6;
animation: _hlpulse 3s ease-in-out infinite;
pointer-events: none;
}
.nuda-hl-reply__inner {
position: relative;
display: flex;
gap: 10px;
padding: 12px;
background: #0c0c10;
border-radius: 12px;
z-index: 1;
}
.nuda-hl-reply__avatar {
width: 32px;
height: 32px;
border-radius: 50%;
background: linear-gradient(135deg,#9d6dff,#ff6dd4);
color: #fafafa;
font-size: 11px;
font-weight: 600;
display: grid;
place-items: center;
flex-shrink: 0;
}
.nuda-hl-reply__body {
flex: 1;
}
.nuda-hl-reply__name {
color: #fafafa;
font-size: 13px;
font-weight: 600;
margin-bottom: 4px;
display: flex;
align-items: center;
gap: 6px;
flex-wrap: wrap;
}
.nuda-hl-reply__chip {
font-size: 10px;
font-weight: 600;
color: #9d6dff;
background: rgba(157,109,255,.12);
padding: 1px 6px;
border-radius: 999px;
text-transform: uppercase;
letter-spacing: .04em;
}
.nuda-hl-reply__text {
color: #a0a0a8;
font-size: 13px;
line-height: 1.5;
margin: 0;
}
@keyframes _hlrotate {
to {
background-position: 200% 0;
}
}
@keyframes _hlpulse {
0%,100% {
opacity: .4;
}
50% {
opacity: .75;
}
}
@media (prefers-reduced-motion:reduce) {
.nuda-hl-reply,.nuda-hl-reply::after {
animation: none;
}
}
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.