App UI kits › Portion › Today
Each meal is a segment of the day’s ruler; log a snack and it slides in while kcal left and the macro bars roll, and the week strip re-tells any day.
Today 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: day ruler, rolling totals, week rings.
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 | ||
photos | PvPhotos | ||
onLog | (meal: string) => void |
day(i: number): voidlogSnack(on: boolean): voiddestroy(): voidimport PortionToday from './PortionToday';
<PortionToday />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Calorie tracker app UI.