Nutrition log Pro

A food diary for the day: the calorie ring sweeps to what was eaten while the remaining number and macro bars count up, and picking a day in the week strip slides the pill, cross-fades the diary and sweeps the ring again. Add opens a search sheet with Recent and Frequent tabs and live filtering, then a serving page with unit chips, a stepper and a live calorie and macro split; adding springs the row into its meal as the ring, count and bars move. Swipe or tap a row for Edit and Delete (a long swipe deletes), undo adds and deletes from a toast, and tap a glass to fill water up to it with a sloshing wave.

nutritionfood diarycaloriesmacrosmeal logwater trackersearchbottom sheetswipe to deleteanimationreanimated
Get Pro to copy

A Pro screen: copy it with Pro, $6 a month billed yearly. Already on Pro? Sign in

Paste into Claude Code Cursor Codex Lovable RapidNative
Open full screen

A gluestack Pro pattern

  • The full prompt for your coding agent
  • The source: 1944 lines of plain React Native
  • The packages to install and the setup it needs
  • How to adapt it to your data and routes
Unlimited with Pro, $6/month

Details

File
components/patterns/nutrition-log.tsx
Lines
1944
Stack
React Native, StyleSheet
Packages
lucide-react-native, react-native-reanimated, react-native-safe-area-context, react-native-svg, react-native-worklets
Platforms
iOS, Android, Web

Using gluestack-ui?

Optional. The screen is plain React Native; these components can stand in for its primitives.

components/patterns/nutrition-log.tsx

Source available with Pro

More screens like this.

All Health & Fitness