MorphCanvas
Home › Gallery › Daily Water Intake Tracker
Reading size:

Daily Water Intake Tracker

A compact, dark-themed water tracker with clickable glass icons that fill on click.

★ 0 community votes · Safety scan passed · Sandboxed preview
Listen to Component Overview (AI Narration)
Viewport:
Backdrop:
Safety Scan
Verified Safe (0 Violations)
Sandbox Isolation
Active (allow-scripts)
Code Dependencies
Zero / Standalone Vanilla
Last Synthesized
2026-08-31

About this component

Daily 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.

How it was built

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.

Community Evaluation & Feedback

How would you characterize this AI-generated component for your projects?

Select an evaluation tag above to record your vote.

Source Code

HTML
<div id="water-tracker"><span class="glass" data-filled="false"></span><span class="glass" data-filled="false"></span><span class="glass" data-filled="false"></span><span class="glass" data-filled="false"></span><span class="glass" data-filled="false"></span><span class="glass" data-filled="false"></span><span class="glass" data-filled="false"></span><span class="glass" data-filled="false"></span><span class="glass" data-filled="false"></span><span class="glass" data-filled="false"></span></div>
CSS
#water-tracker{display:flex;justify-content:center;background:#1e1e1e;padding:20px;} .glass{width:30px;height:50px;border:2px solid #fff;border-radius:5px;margin:5px;cursor:pointer;background:#333;position:relative;overflow:hidden;} .glass.filled{background:linear-gradient(180deg,#4fc3f7 0%,#1976d2 100%);}
JavaScript
document.querySelectorAll('.glass').forEach(el=>{el.addEventListener('click',()=>{el.classList.toggle('filled');});});
Build your own on MorphCanvas
Copied to clipboard!