Skip to content

Save Indicator

A copy-paste settings & preferences component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.

Settings & PreferencesHTMLCSSany framework
Autosaved just now

Copy into your project

HTML
<div class="nuda-save" role="status" aria-live="polite">
  <span class="nuda-save__dot" aria-hidden="true"></span>
  <span class="nuda-save__text">Autosaved just now</span>
</div>
CSS
/* Save Indicator
   A small autosaved pill with a pulsing green dot.
   Customize: --save-color, --save-bg */

.nuda-save {
  --save-color: #22c55e;
  --save-bg: #0c0c10;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background: var(--save-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.nuda-save__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--save-color);
  flex-shrink: 0;
}

.nuda-save__dot::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--save-color);
  opacity: 0.35;
  animation: nuda-save-pulse 2s ease-out infinite;
}

.nuda-save__text {
  color: #a0a0a8;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

@keyframes nuda-save-pulse {
  0% {
    transform: scale(0.5);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nuda-save__dot::before {
    animation: none;
    opacity: 0.4;
    transform: scale(1);
  }
}

How to use Save 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.

More settings & preferences components

← Browse all NudaUI components