Reply with Quick Reply
A copy-paste notification center component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
Notification CenterHTMLCSSany framework
Jordan replied: "Can we push this to Friday?"
Copy into your project
HTML
<div class="nuda-nc2-quick-reply">
<div class="nuda-nc2-quick-reply__msg">
<strong>Jordan</strong> replied: <span>"Can we push this to Friday?"</span>
</div>
<form class="nuda-nc2-quick-reply__form">
<input class="nuda-nc2-quick-reply__input" type="text" aria-label="Quick reply" placeholder="Quick reply…" />
<button type="submit" class="nuda-nc2-quick-reply__send" aria-label="Send reply">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
<path d="m5 12 14-7-7 14-2-5-5-2Z" />
</svg>
</button>
</form>
</div>CSS
.nuda-nc2-quick-reply {
display: flex;
flex-direction: column;
gap: 8px;
padding: 12px;
background: rgba(255,255,255,.02);
border: 1px solid rgba(255,255,255,.06);
border-left: 3px solid #62b6ff;
border-radius: 10px;
width: 100%;
max-width: 290px;
animation: _nuda-nc2quick-reply-in .35s cubic-bezier(.16,1,.3,1) both;
}
.nuda-nc2-quick-reply__msg {
font-size: 12px;
line-height: 1.4;
color: #a0a0a8;
}
.nuda-nc2-quick-reply__msg strong {
color: #fafafa;
}
.nuda-nc2-quick-reply__msg span {
color: #cfcfcf;
font-style: italic;
}
.nuda-nc2-quick-reply__form {
display: flex;
align-items: center;
gap: 6px;
padding: 4px 4px 4px 10px;
background: rgba(0,0,0,.3);
border: 1px solid rgba(255,255,255,.08);
border-radius: 9px;
transition: border-color .2s,box-shadow .2s;
}
.nuda-nc2-quick-reply__form:focus-within {
border-color: #62b6ff;
box-shadow: 0 0 0 3px rgba(98,182,255,.15);
}
.nuda-nc2-quick-reply__input {
flex: 1;
min-width: 0;
background: transparent;
border: 0;
outline: none;
color: #fafafa;
font-size: 12px;
}
.nuda-nc2-quick-reply__input::placeholder {
color: #63636e;
}
.nuda-nc2-quick-reply__send {
display: inline-flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
border-radius: 7px;
border: 0;
background: #62b6ff;
color: #09090b;
cursor: pointer;
transition: transform .2s,background .2s;
}
.nuda-nc2-quick-reply__send svg {
width: 14px;
height: 14px;
}
.nuda-nc2-quick-reply__send:hover {
transform: scale(1.06);
}
.nuda-nc2-quick-reply__send:focus-visible {
outline: 2px solid #e4ff54;
outline-offset: 2px;
}
@keyframes _nuda-nc2quick-reply-in {
from {
opacity: 0;
transform: translateY(6px);
}
to {
opacity: 1;
transform: none;
}
}
@media (prefers-reduced-motion:reduce) {
.nuda-nc2-quick-reply {
animation: none;
}
.nuda-nc2-quick-reply__send:hover {
transform: none;
}
}
How to use Reply with Quick Reply
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.