Recording Dot
A copy-paste indicators component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
IndicatorsHTMLCSSany framework
REC
Copy into your project
HTML
<div class="nuda-rec-dot" role="status" aria-label="Recording">
<span class="nuda-rec-dot__circle"></span>
<span class="nuda-rec-dot__label">REC</span>
</div>CSS
/* Recording Dot
Red blinking recording indicator.
Customize: --rec-color */
.nuda-rec-dot {
--rec-color: #ef4444;
display: inline-flex;
align-items: center;
gap: 6px;
}
.nuda-rec-dot__circle {
width: 10px;
height: 10px;
background: var(--rec-color);
border-radius: 50%;
animation: nuda-rec-blink 1s ease-in-out infinite;
will-change: opacity;
}
.nuda-rec-dot__label {
font-size: 12px;
font-weight: 700;
letter-spacing: 0.06em;
color: var(--rec-color);
}
@keyframes nuda-rec-blink {
0%, 100% { opacity: 1; }
50% { opacity: 0.2; }
}
@media (prefers-reduced-motion: reduce) {
.nuda-rec-dot__circle {
animation: none;
}
}How to use Recording Dot
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.