App UI kits › Pulse › Nutrition

Nutrition

Tap the glass and the water sloshes and rises with a live liquid surface; log a meal and the macro ring springs to it.

Nutrition is a screen from Pulse, an app ui kit with 12 screens: A complete fitness app kit with a pulse in every screen. Price: $5 for the whole pack.

Built with: liquid surface, macro springs, counting totals.

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.

Nutrition props

PropTypeDefaultDescription
mealsPulseMeal[]
goalnumber2200Calorie goal. Default 2200.
waternumberCups of water drunk / goal.
waterGoalnumber
autoplaybooleanShowcase mode: adds water and toggles meals by itself.

Methods on the ref

Use it in React

import PulseNutrition from './PulseNutrition';

<PulseNutrition />

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

More in Pulse

Good for: Fitness app UI, Running app UI.