App UI kits › Portion › 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.
| Prop | Type | Default | Description |
|---|---|---|---|
dark | boolean | ||
autoplay | boolean | ||
goal | number | ||
onLog | (kg: number) => void |
scrub(fraction: number | null): voiddaily(on: boolean): voidruler(kg: number): voiddestroy(): voidimport PortionWeight from './PortionWeight';
<PortionWeight />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Calorie tracker app UI.