App UI kits › Portion › Water
Add a glass and the level rises while its surface sloshes on a spring; each drink lands on the day line beside the reminders to come.
Water is a screen from Portion, an app ui kit with 11 screens: A calorie tracker where you resize the food on your real plate. Price: $5 for the whole pack.
Built with: spring slosh, day line, undo.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
dark | boolean | ||
autoplay | boolean | ||
goal | number | 2200 | Daily goal in ml. Default 2200. |
onChange | (ml: number) => void |
add(ml: number, label?: string): voidundo(): voiddestroy(): voidimport PortionWater from './PortionWater';
<PortionWater />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Calorie tracker app UI.