App UI kits › Portion › Weight

Weight

Daily weigh-ins are faint dots and the line is the 7-day average; scrub it for any week and log today on a ruler that snaps to 0.1 kg.

Weight 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: trend not noise, scrub readout, snap ruler.

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.

Weight props

PropTypeDefaultDescription
darkboolean
autoplayboolean
goalnumber
onLog(kg: number) => void

Methods on the ref

Use it in React

import PortionWeight from './PortionWeight';

<PortionWeight />

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

More in Portion

Good for: Calorie tracker app UI.