Track your daily water consumption with clickable glass icons that fill on click, on a dark background.
★ 0 community votes · Safety scan passed · Sandboxed previewDaily Water Intake Tracker 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 id="water-tracker"><div class="glass"></div><div class="glass"></div><div class="glass"></div><div class="glass"></div><div class="glass"></div><div class="glass"></div><div class="glass"></div><div class="glass"></div><div class="glass"></div><div class="glass"></div></div>
body{margin:0;background:#1e1e1e;font-family:sans-serif;display:flex;justify-content:center;align-items:center;height:100vh}.glass{width:40px;height:60px;border:2px solid #fff;border-radius:10px;position:relative;margin:5px;cursor:pointer}.glass::after{content:"";position:absolute;bottom:0;left:0;width:100%;height:0;background:#00f;transition:height .3s}.glass.filled::after{height:100%}
document.querySelectorAll('.glass').forEach(el=>{el.addEventListener('click',()=>{el.classList.toggle('filled')}})}
Build your own on MorphCanvas