Status Presence Dot
A copy-paste profile headers component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
Profile HeadersHTMLCSSany framework
KO
Kai OkadaOnline
LI
Lina IversonAway
SP
Sam ParkOffline
Copy into your project
HTML
<div class="nuda-presence">
<div class="nuda-presence__row">
<div class="nuda-presence__avatar" data-status="online">KO</div>
<div class="nuda-presence__label">Kai Okada<span>Online</span></div>
</div>
<div class="nuda-presence__row">
<div class="nuda-presence__avatar" data-status="away">LI</div>
<div class="nuda-presence__label">Lina Iverson<span>Away</span></div>
</div>
<div class="nuda-presence__row">
<div class="nuda-presence__avatar" data-status="offline">SP</div>
<div class="nuda-presence__label">Sam Park<span>Offline</span></div>
</div>
</div>CSS
.nuda-presence {
display: flex;
flex-direction: column;
gap: 10px;
padding: 14px;
background: #0c0c10;
border: 1px solid rgba(255,255,255,.08);
border-radius: 12px;
color: #fafafa;
font-family: system-ui,sans-serif;
min-width: 200px;
}
.nuda-presence__row {
display: flex;
gap: 10px;
align-items: center;
}
.nuda-presence__avatar {
position: relative;
width: 36px;
height: 36px;
border-radius: 50%;
display: grid;
place-items: center;
font-size: .78rem;
font-weight: 600;
color: #09090b;
background: linear-gradient(135deg,#e4ff54,#62b6ff);
flex-shrink: 0;
}
.nuda-presence__avatar::after {
content: "";
position: absolute;
right: -1px;
bottom: -1px;
width: 11px;
height: 11px;
border-radius: 50%;
border: 2px solid #0c0c10;
background: #63636e;
}
.nuda-presence__avatar[data-status="online"]::after {
background: #6ee7b7;
box-shadow: 0 0 0 0 rgba(110,231,183,.6);
animation: _pulseRing 2s ease-out infinite;
}
.nuda-presence__avatar[data-status="away"]::after {
background: #ffb45e;
}
.nuda-presence__avatar[data-status="offline"]::after {
background: #63636e;
}
.nuda-presence__label {
font-size: .85rem;
font-weight: 500;
display: flex;
flex-direction: column;
gap: 1px;
}
.nuda-presence__label span {
font-size: .72rem;
color: #a0a0a8;
font-weight: 400;
}
@keyframes _pulseRing {
0% {
box-shadow: 0 0 0 0 rgba(110,231,183,.6);
}
100% {
box-shadow: 0 0 0 8px rgba(110,231,183,0);
}
}
@media (prefers-reduced-motion:reduce) {
.nuda-presence__avatar[data-status="online"]::after {
animation: none;
}
}
How to use Status Presence 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.