Skip to content

Ring Checklist

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

Onboarding & CoachmarksHTMLCSSany framework
2 / 4Getting started
  • Create workspace
  • Verify email
  • Add a teammate
  • Connect calendar

Copy into your project

HTML
<!-- Ring Checklist — onboarding checklist with an SVG completion ring and a collapse toggle -->
<div class="nuda-ob2-ring-checklist">
  <div class="nuda-ob2-ring-checklist__head">
    <svg class="nuda-ob2-ring-checklist__ring" viewBox="0 0 36 36" aria-hidden="true">
      <circle class="nuda-ob2-ring-checklist__track" cx="18" cy="18" r="15" />
      <circle class="nuda-ob2-ring-checklist__fill" cx="18" cy="18" r="15" />
    </svg>
    <div class="nuda-ob2-ring-checklist__pct" aria-live="polite">2 / 4<span>Getting started</span></div>
    <button class="nuda-ob2-ring-checklist__toggle" type="button" aria-expanded="true" aria-label="Collapse checklist">
      <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
        <path d="M6 15 L12 9 L18 15" />
      </svg>
    </button>
  </div>
  <ul class="nuda-ob2-ring-checklist__list">
    <li class="is-done">Create workspace</li>
    <li class="is-done">Verify email</li>
    <li class="is-current">Add a teammate</li>
    <li>Connect calendar</li>
  </ul>
</div>
CSS
.nuda-ob2-ring-checklist {
  width: 100%;
  max-width: 280px;
  padding: 14px 16px;
  background: rgba(20,20,24,.96);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nuda-ob2-ring-checklist__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nuda-ob2-ring-checklist__ring {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  transform: rotate(-90deg);
}

.nuda-ob2-ring-checklist__track {
  fill: none;
  stroke: rgba(255,255,255,.08);
  stroke-width: 3;
}

.nuda-ob2-ring-checklist__fill {
  fill: none;
  stroke: #e4ff54;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 94.2;
  stroke-dashoffset: 94.2;
  animation: nuda-ob2-ring-checklist-fill 1.1s cubic-bezier(.4,0,.2,1) .2s forwards;
  filter: drop-shadow(0 0 4px rgba(228,255,84,.5));
}

.nuda-ob2-ring-checklist__pct {
  flex: 1;
  display: flex;
  flex-direction: column;
  font: 800 13px ui-sans-serif,system-ui;
  color: #fafafa;
  font-variant-numeric: tabular-nums;
}

.nuda-ob2-ring-checklist__pct span {
  font: 600 10px ui-sans-serif,system-ui;
  color: #a1a1aa;
  margin-top: 1px;
}

.nuda-ob2-ring-checklist__toggle {
  position: relative;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #a1a1aa;
  cursor: pointer;
  border-radius: 6px;
  transition: color .2s,background .2s;
}

.nuda-ob2-ring-checklist__toggle::before {
  content: "";
  position: absolute;
  inset: -11px;
}

.nuda-ob2-ring-checklist__toggle:hover {
  color: #fafafa;
  background: rgba(255,255,255,.06);
}

.nuda-ob2-ring-checklist__toggle:focus-visible {
  outline: 2px solid #e4ff54;
  outline-offset: 2px;
}

.nuda-ob2-ring-checklist__toggle svg {
  width: 14px;
  height: 14px;
}

.nuda-ob2-ring-checklist__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nuda-ob2-ring-checklist__list li {
  position: relative;
  padding-left: 22px;
  font: 500 12px ui-sans-serif,system-ui;
  color: #a1a1aa;
}

.nuda-ob2-ring-checklist__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 14px;
  height: 14px;
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 50%;
}

.nuda-ob2-ring-checklist__list li.is-done {
  color: #63636e;
  text-decoration: line-through;
  text-decoration-color: rgba(255,255,255,.2);
}

.nuda-ob2-ring-checklist__list li.is-done::before {
  background: #e4ff54;
  border-color: #e4ff54;
  box-shadow: 0 0 4px rgba(228,255,84,.4);
}

.nuda-ob2-ring-checklist__list li.is-current {
  color: #fafafa;
}

.nuda-ob2-ring-checklist__list li.is-current::before {
  border-color: #e4ff54;
  animation: nuda-ob2-ring-checklist-pulse 1.6s ease-in-out infinite;
}

@keyframes nuda-ob2-ring-checklist-fill {
  to {
    stroke-dashoffset: 47;
  }
}

@keyframes nuda-ob2-ring-checklist-pulse {
  0%,100% {
    box-shadow: 0 0 0 0 rgba(228,255,84,0);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(228,255,84,.18);
  }
}

@media (prefers-reduced-motion:reduce) {
  .nuda-ob2-ring-checklist__fill {
    animation: none;
    stroke-dashoffset: 47;
  }
  .nuda-ob2-ring-checklist__list li.is-current::before {
    animation: none;
  }
}

How to use Ring Checklist

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 onboarding & coachmarks components

← Browse all NudaUI components