Changelog Popover
A copy-paste onboarding & coachmarks component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
Onboarding & CoachmarksHTMLCSSany framework
Copy into your project
HTML
<!-- Changelog Popover — "what's new" trigger with an unread dot and an update list -->
<div class="nuda-ob2-changelog-popover">
<button class="nuda-ob2-changelog-popover__trigger" type="button" aria-haspopup="dialog" aria-expanded="true" aria-label="What's new, 2 unread updates">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
<path d="M12 2 C8 2 6 5 6 9 L6 13 L4 17 L20 17 L18 13 L18 9 C18 5 16 2 12 2 Z" />
<path d="M9.5 20 a2.5 2.5 0 0 0 5 0" />
</svg>
<span class="nuda-ob2-changelog-popover__dot" aria-hidden="true"></span>
</button>
<div class="nuda-ob2-changelog-popover__panel" role="dialog" aria-label="What's new">
<h4>What's new</h4>
<ul>
<li><span class="nuda-ob2-changelog-popover__tag">New</span>Dark mode scheduling</li>
<li><span class="nuda-ob2-changelog-popover__tag nuda-ob2-changelog-popover__tag--fix">Fixed</span>Faster search results</li>
</ul>
<a class="nuda-ob2-changelog-popover__link" href="#">View all updates →</a>
</div>
</div>CSS
.nuda-ob2-changelog-popover {
position: relative;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 10px;
width: 100%;
max-width: 280px;
}
.nuda-ob2-changelog-popover__trigger {
position: relative;
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
background: rgba(255,255,255,.05);
border: 1px solid rgba(255,255,255,.1);
border-radius: 9px;
color: #cfcfcf;
cursor: pointer;
}
.nuda-ob2-changelog-popover__trigger::before {
content: "";
position: absolute;
inset: -4px;
}
.nuda-ob2-changelog-popover__trigger:focus-visible {
outline: 2px solid #e4ff54;
outline-offset: 2px;
}
.nuda-ob2-changelog-popover__trigger svg {
width: 17px;
height: 17px;
}
.nuda-ob2-changelog-popover__dot {
position: absolute;
top: 5px;
right: 6px;
width: 8px;
height: 8px;
background: #e4ff54;
border: 2px solid #0a0a0a;
border-radius: 50%;
box-shadow: 0 0 6px rgba(228,255,84,.6);
}
.nuda-ob2-changelog-popover__dot::after {
content: "";
position: absolute;
inset: -2px;
border-radius: 50%;
border: 1.5px solid #e4ff54;
animation: nuda-ob2-changelog-popover-ping 1.8s ease-out infinite;
}
.nuda-ob2-changelog-popover__panel {
width: 100%;
padding: 14px 16px;
background: rgba(20,20,24,.97);
border: 1px solid rgba(255,255,255,.1);
border-radius: 12px;
box-shadow: 0 20px 44px -12px rgba(0,0,0,.6);
animation: nuda-ob2-changelog-popover-in .35s cubic-bezier(.34,1.56,.64,1);
}
.nuda-ob2-changelog-popover__panel h4 {
margin: 0 0 8px;
font: 700 13px ui-sans-serif,system-ui;
color: #fafafa;
}
.nuda-ob2-changelog-popover__panel ul {
list-style: none;
margin: 0 0 10px;
padding: 0;
display: flex;
flex-direction: column;
gap: 7px;
}
.nuda-ob2-changelog-popover__panel li {
display: flex;
align-items: center;
gap: 7px;
font: 500 12px ui-sans-serif,system-ui;
color: #cfcfcf;
}
.nuda-ob2-changelog-popover__tag {
padding: 1px 6px;
background: rgba(228,255,84,.15);
color: #e4ff54;
border: 1px solid rgba(228,255,84,.3);
border-radius: 4px;
font: 800 9px ui-sans-serif,system-ui;
text-transform: uppercase;
letter-spacing: .05em;
}
.nuda-ob2-changelog-popover__tag--fix {
background: rgba(255,255,255,.06);
color: #a1a1aa;
border-color: rgba(255,255,255,.12);
}
.nuda-ob2-changelog-popover__link {
font: 700 11px ui-sans-serif,system-ui;
color: #e4ff54;
text-decoration: none;
}
.nuda-ob2-changelog-popover__link:hover {
text-decoration: underline;
}
@keyframes nuda-ob2-changelog-popover-ping {
0% {
transform: scale(1);
opacity: .8;
}
100% {
transform: scale(1.9);
opacity: 0;
}
}
@keyframes nuda-ob2-changelog-popover-in {
from {
opacity: 0;
transform: scale(.94) translateY(-6px);
}
to {
opacity: 1;
transform: scale(1) translateY(0);
}
}
@media (prefers-reduced-motion:reduce) {
.nuda-ob2-changelog-popover__dot::after {
animation: none;
opacity: 0;
}
.nuda-ob2-changelog-popover__panel {
animation: none;
}
}
How to use Changelog Popover
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.