Confetti Finale
A copy-paste onboarding & coachmarks component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
Onboarding & CoachmarksHTMLCSSany framework
You're all set!
Copy into your project
HTML
<!-- Confetti Finale — celebratory completion of an onboarding flow -->
<div class="nuda-finale">
<div class="nuda-finale__check">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="3" stroke-linecap="round" stroke-linejoin="round">
<path d="M5 12 L10 17 L20 7" />
</svg>
</div>
<span class="nuda-finale__bit" style="--a:0deg; --c:#e4ff54; --d:0s"></span>
<span class="nuda-finale__bit" style="--a:45deg; --c:#a78bfa; --d:.05s"></span>
<span class="nuda-finale__bit" style="--a:90deg; --c:#fb7185; --d:.1s"></span>
<span class="nuda-finale__bit" style="--a:135deg; --c:#e4ff54; --d:.15s"></span>
<span class="nuda-finale__bit" style="--a:180deg; --c:#a78bfa; --d:0s"></span>
<span class="nuda-finale__bit" style="--a:225deg; --c:#fb7185; --d:.05s"></span>
<span class="nuda-finale__bit" style="--a:270deg; --c:#e4ff54; --d:.1s"></span>
<span class="nuda-finale__bit" style="--a:315deg; --c:#a78bfa; --d:.15s"></span>
<p>You're all set!</p>
</div>CSS
/* Confetti Finale
Pop-in check, radial confetti, then "all set" line.
Customize: --finale-accent, piece colors via --c. */
.nuda-finale {
--finale-accent: #e4ff54;
position: relative;
width: 100%;
max-width: 220px;
height: 130px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 10px;
}
.nuda-finale__check {
position: relative;
width: 44px;
height: 44px;
display: flex;
align-items: center;
justify-content: center;
background: var(--finale-accent);
color: #09090b;
border-radius: 50%;
box-shadow: 0 0 16px rgba(228, 255, 84, 0.5);
z-index: 1;
animation: nuda-finale-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nuda-finale__check svg {
width: 60%;
height: 60%;
stroke-dasharray: 30;
stroke-dashoffset: 30;
animation: nuda-finale-draw 0.4s ease-out 0.25s forwards;
}
.nuda-finale__bit {
position: absolute;
left: 50%;
top: 38%;
width: 6px;
height: 6px;
background: var(--c, var(--finale-accent));
border-radius: 1px;
transform: translate(-50%, -50%) rotate(var(--a, 0deg));
opacity: 0;
animation: nuda-finale-blast 1.4s cubic-bezier(0.2, 0.6, 0.4, 1) var(--d, 0s) forwards;
}
.nuda-finale__bit:nth-child(2n) { border-radius: 50%; }
.nuda-finale p {
font: 700 0.95rem ui-sans-serif, system-ui, sans-serif;
color: #fafafa;
margin: 0;
animation: nuda-finale-fade 0.4s ease 0.6s backwards;
}
@keyframes nuda-finale-pop {
0% { transform: scale(0); }
60% { transform: scale(1.15); }
100% { transform: scale(1); }
}
@keyframes nuda-finale-draw { to { stroke-dashoffset: 0; } }
@keyframes nuda-finale-blast {
0% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--a)) translateY(0); }
15% { opacity: 1; }
100% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--a)) translateY(-48px); }
}
@keyframes nuda-finale-fade {
from { opacity: 0; transform: translateY(4px); }
to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
.nuda-finale__check,
.nuda-finale__check svg,
.nuda-finale__bit,
.nuda-finale p { animation: none; }
.nuda-finale__check svg { stroke-dashoffset: 0; }
}How to use Confetti Finale
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.