App UI kits › Portion › Week plan

Week plan

Drag a dinner onto another day: the two swap with FLIP and both days’ totals re-balance against the target line.

Week plan 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: drag to swap, FLIP, day 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.

Week plan props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosPvPhotos
onChange(plan: string[]) => void

Methods on the ref

Use it in React

import PortionWeek from './PortionWeek';

<PortionWeek />

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

More in Portion

Good for: Calorie tracker app UI.