Typing Indicator
A copy-paste indicators component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
IndicatorsHTMLCSSany framework
Copy into your project
HTML
<div class="nuda-typing" role="status" aria-label="Someone is typing">
<span></span>
<span></span>
<span></span>
</div>CSS
/* Typing Indicator
Chat-style bouncing dots.
Customize: --typing-color, --typing-size */
.nuda-typing {
--typing-color: #a0a0a0;
--typing-size: 8px;
display: inline-flex;
align-items: center;
gap: 4px;
padding: 8px 14px;
background: rgba(255, 255, 255, 0.08);
border-radius: 20px;
}
.nuda-typing span {
width: var(--typing-size);
height: var(--typing-size);
background: var(--typing-color);
border-radius: 50%;
animation: nuda-typing-bounce 0.9s ease-in-out infinite;
will-change: transform, opacity;
}
.nuda-typing span:nth-child(2) { animation-delay: 0.15s; }
.nuda-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes nuda-typing-bounce {
0%, 60%, 100% {
transform: translateY(0);
opacity: 0.4;
}
30% {
transform: translateY(-6px);
opacity: 1;
}
}
@media (prefers-reduced-motion: reduce) {
.nuda-typing span {
animation: none;
opacity: 0.6;
}
}How to use Typing Indicator
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.