Water Tracker
Log drinks in one tap and watch the water rise in a measuring tank, the readout changing colour where the waterline crosses it. The drink that meets your goal stills the surface and lights the rim.
About the Water Tracker screen
Fitness, habits, nutrition, mood and care screens, built around progress you can see at a glance. This is one of 22 health screens.
How it behaves
It responds to taps and scrolling. On a phone you feel a light tap on buttons, a firmer tap on bigger actions and a success pulse when the task completes.
- The header reacts to scrolling instead of sitting on top of the content.
- Respects Reduce Motion: movement drops out and the feedback stays.
Make it yours
npx @lumioui/cli add pro/health-water-tracker copies the screen into screens/health/water-tracker.tsx along with the 3 components it uses, so the source is yours to edit.
It's shown here in the red accent: wrap it in a different <Accent> to recolour every button, highlight and chart at once. It follows light and dark mode, and runs on iOS and Android, including Expo Go.
Built from
- Animated NumberNumber that moves to each new value as a calm count-up or a roll where only the changed digits turn, set in type or in dot-matrix LEDs whose dots switch on in place. Screen readers announce just the final value, not every step.
- IconIcon set drawn on one consistent grid, sized and coloured from your theme. The heart, star and bookmark can fill in place inside their outline, then fade back out.
- TextThemed type scale from caption to display that follows light and dark mode. Includes a pull-quote style with an accent rule and a quieter dimmed tone for secondary text.