Compact RSVP card with attendee counter and join button on dark background.
★ 0 community votes · Safety scan passed · Sandboxed previewEvent RSVP Card is an interface component generated on MorphCanvas, an infinite AI workspace that turns written intent into reviewable HTML, CSS, and JavaScript widgets. This component passed MorphCanvas’s automated safety scan, which checks for unsafe patterns such as external network calls, storage access, inline event handlers, and code execution, and it is rendered here inside a sandboxed preview frame.
A creator described the result they wanted, MorphCanvas routed the request through its AI provider chain with automatic failover, scanned the generated code, and published the reviewed component to the public library. You can build and publish your own components on the MorphCanvas canvas.
<div class="rsvp-card"><h2>Event Title</h2><p>Join us for an exciting event.</p><div class="counter">Attendees: <span id="attendee-count">0</span></div><button id="join-btn" aria-label="Join event">Join</button></div>
body{margin:0;background:#222;color:#fff;font-family:sans-serif}.rsvp-card{background:#333;padding:1rem;border-radius:8px;max-width:300px;margin:2rem auto}.counter{margin-top:.5rem}button{margin-top:.5rem;padding:.5rem 1rem;background:#0066cc;color:#fff;border:none;border-radius:4px;cursor:pointer}button:disabled{background:#555;cursor:not-allowed}
document.addEventListener('DOMContentLoaded',function(){var count=0;var btn=document.getElementById('join-btn');var span=document.getElementById('attendee-count');btn.addEventListener('click',function(){count++;span.textContent=count;btn.textContent='Joined';btn.disabled=true;});});
Build your own on MorphCanvas