App UI kits › Portion › Water

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.

Water props

PropTypeDefaultDescription
darkboolean
autoplayboolean
goalnumber2200Daily goal in ml. Default 2200.
onChange(ml: number) => void

Methods on the ref

Use it in React

import PortionWater from './PortionWater';

<PortionWater />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Portion

Good for: Calorie tracker app UI.