AI Meal Calorie Scanner App is a crisp, daylight-toned mobile-first wellness and nutrition logging Progressive Web App built for health startups, consumer AI makers and product teams. Designed in fresh leaf-tinted white, deep forest ink, avocado green and citrus orange, it scales natively full-bleed across every device without fake phone framing: mobile users navigate via a sleek 4-tab bottom bar (Today, Scan, Diary, Trends), while desktop users see a clean split wellness dashboard. Six cohesive overhead healthy dish photographs anchor both the daily Meal Diary and an interactive simulated 'Scan a Meal' studio—where users choose any sample dish (or type a custom meal) to watch an animated scan sweep reveal SVG ingredient callout pins, instant calorie/protein/carbs/fat telemetry and a live Portion Multiplier slider (0.5× to 2.0×) that logs straight into Today's Diary. Animated daily Calorie and Macro SVG progress rings, a tactile +250ml Water Intake tracker, saved Favorite Meals and a 7-day SVG intake trend chart all persist seamlessly in localStorage (clearly marked as an illustrative wellness tracker with zero medical claims).
The live demo was built from exactly this text — nothing added.
# AI Meal Calorie Scanner App
Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.
## Brief
A true full-bleed responsive mobile-first AI nutrition and calorie logging PWA called [BRAND] for [USER_NAME] (daily target '[DAILY_GOAL_KCAL]', spotlighting '[FEATURED_SCAN]'). Mobile uses a clean 4-tab bottom bar (Today, Scan, Diary, Trends); desktop uses a clean left rail + balanced split wellness workspace (zero fake phone frame!). Anchored by 6 cohesive overhead healthy meal photographs downloaded locally into public/assets/ (each used uniquely across meals/sample scans!). Features animated SVG Daily Calorie & Macro Rings (Protein / Carbs / Fat), an interactive simulated 'Scan a Meal' studio with animated scan line + SVG ingredient callout tags + live portion multiplier logging directly into Today's Diary, tactile Water Intake (+250ml) tracker, 7-day SVG intake trend chart and saved favorites persisted in localStorage. Clearly labeled illustrative wellness tracker (no medical claims).
- Audience: Consumer AI founders, wellness app builders, indie developers and UI designers shipping nutrition & habit tracking PWAs.
- Goal: Deliver a fresh, appetizing, genuinely interactive AI meal-scanner and macro logging PWA starter ready out of the box.
- Tone: Fresh daylight organic clarity, encouraging wellness craft, zero clinical jargon.
## Stack
- Framework: Vite 5 + React 18 + TypeScript
- Styling: Tailwind CSS 3.4
- Libraries: lucide-react (ISC), @fontsource/plus-jakarta-sans (OFL-1.1), @fontsource/inter (OFL-1.1), @fontsource/jetbrains-mono (OFL-1.1)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
- Configure Vite with base: './' and build: { sourcemap: false }.
- Import @fontsource/plus-jakarta-sans (600, 700, 800), @fontsource/inter (400, 500, 600) and @fontsource/jetbrains-mono (400, 500) in src/main.tsx.
- Download all 6 overhead healthy meal webp photographs from Assets into public/assets/ and load strictly via relative ./assets/<file> paths.
- Store 6 realistic sample scannable meals (each paired with its unique local photo, ingredient bounding coordinates, calorie/macro breakdowns), 3 seeded meals logged for Today, water glasses count and 7-day historical macro arrays in src/content.ts; persist all logged meals, portion adjustments, favorites and water taps in localStorage.
## Variables
- [BRAND] — Wellness app name (default: "NutriLens"). Invented AI nutrition PWA name
- [USER_NAME] — Member first name (default: "Maya Lin"). Fictional app user
- [DAILY_GOAL_KCAL] — Daily calorie target (default: "2,100 kcal"). Formatted daily intake goal
- [FEATURED_SCAN] — Default active scanned meal (default: "Seared Salmon & Avocado Grain Bowl"). Spotlight meal in Scan Studio
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/ai-meal-calorie-scanner-app in the footer (default: yes; delete this line to remove it)
The copy under Pages & Sections is written for the default values. If your values differ, rewrite every headline, paragraph, label and image for them — same length, tone and structure. Layout, colors, type and motion stay as described.
Keep all copy, image paths and links in one content file (for example `src/content.ts`), keyed by section, so the content can be swapped later without touching components.
## Design
### Colors
- Daylight Leaf Canvas `#F8FAF7` — Primary crisp organic daylight background
- Pure Porcelain Card `#FFFFFF` — Ring dashboard, scan viewfinder card, diary rows and trend charts
- Deep Forest Ink `#14261C` — Primary headings, calorie numerals and active navigation
- Avocado Green `#22C55E` — Calorie completion ring, Scan Meal primary CTA, protein/healthy tags and water bar
- Citrus Orange `#F97316` — Carbs macro ring, scan ingredient callout pins and streak flame badge
- Sky Hydration `#0EA5E9` — Water intake tracker glasses and fat/hydration accents
- Sage Hairline `#E3EBE2` — Crisp 1px structural dividers
### Typography
- Brand mark, calorie remaining display and section titles: Plus Jakarta Sans (OFL), weights 600/700/800
- Meal descriptions, ingredient breakdowns and diary labels: Inter (OFL), weights 400/500/600
- Calories (620 kcal), macro grams (42g P), portion multipliers (1.25×) and dates: JetBrains Mono (OFL), weights 400/500
### Layout & motion
- Spacing: True full-bleed responsive PWA (zero fake phone frame!). Desktop 1440x900: 224px left navigation rail (Brand, 4 views, Quick Scan CTA, Illustrative Wellness note, [USER_NAME] card) + balanced 2-column Today & Live Scan Workspace (Left: Calorie & Macro SVG Rings + Today's Logged Meals with real overhead food photos + Water Tracker; Right: Interactive 'Scan a Meal' Preview Studio already displaying '[FEATURED_SCAN]' with glowing ingredient callout tags so the desktop first screen looks unmistakably like an AI Meal Scanner!). Mobile 390x844: crisp compact opaque 56px top bar, stacked Rings + Scan CTA + Meals + native 64px 4-tab bottom bar (Today, Scan, Diary, Trends) aligned on one baseline.
- Radius: Fresh tactile consumer curves: 20px on macro summary and scan viewfinder cards, 14px on meal photo cards, 999px on macro pills, scan pins and water droplets.
- Motion: Animated SVG stroke-dashoffset macro rings and crisp horizontal laser scan sweep when selecting a new meal in Scan Studio (clean instant readout under prefers-reduced-motion).
- Motion: Smooth hydration glass fill animation and live portion-slider calorie recalculation.
- Imagery: 6 cohesive overhead sunlit healthy meal photographs (salmon-avocado-bowl, matcha-chia-parfait, chicken-quinoa-salad, avocado-egg-toast, tofu-soba-noodles, berry-protein-smoothie)—each used cleanly on its dedicated meal card & interactive AI scanner specimen with overlaid SVG ingredient callout chips, plus a warm custom SVG portrait avatar for [USER_NAME].
## Pages & Sections
### [BRAND] — AI Meal Scanner & Daily Macro Tracker (`index.html`)
1. **Adaptive Shell — Desktop Left Rail & Mobile 4-Tab Bottom Navigation** — Desktop 224px solid white rail with [BRAND] leaf-lens SVG mark, avocado-green '+ Scan a Meal' button, 4 views ('Today', 'Scan Studio', 'Meal Diary', '7-Day Trends'), subtle 'Illustrative wellness UI · Not medical advice' footer note and [USER_NAME] custom SVG portrait card. Mobile (<768px): compact opaque 56px top bar + native fixed 4-tab bottom bar ('Today', 'Scan', 'Diary', 'Trends') aligned cleanly on one baseline.
Layout: Full-bleed responsive PWA chrome; strictly zero fake phone bezel.
Motion: Smooth view switches.
2. **Today Overview — Calorie & Macro SVG Rings, Water Counter & Today's Meals** — Hero nutrition summary card featuring a commanding SVG Daily Calorie Ring ('1,465 / [DAILY_GOAL_KCAL] · 635 left') alongside 3 crisp color-coded Macro Progress Bars/Rings (Protein 108g/145g in Avocado Green, Carbs 142g/210g in Citrus Orange, Fat 48g/65g in Forest Slate). Directly beside/below: tactile Hydration Tracker ('6 / 8 glasses · 1.5L' with clickable glass icons & '+250ml' button updating live) and Today's Logged Meals feed displaying 3 distinct meals with their crisp square overhead food thumbnails ('./assets/avocado-egg-toast.webp', './assets/chicken-quinoa-salad.webp', './assets/matcha-chia-parfait.webp'), macro pills, heart-favorite toggle and delete option.
Layout: Balanced left column on desktop alongside the live Scan Studio panel; clean vertical first-screen stack on mobile.
Motion: Live SVG ring arc animation when new meals are logged.
3. **Interactive 'Scan a Meal' Studio (Simulated AI Dish Detection & Portion Slider)** — Pre-loaded on '[FEATURED_SCAN]' ('./assets/salmon-avocado-bowl.webp') so the first desktop viewport showcases the signature AI visual callout interface right away! Users click across 6 sample dish thumbnails (all 6 unique photos: Salmon Bowl, Avocado Egg Toast, Chicken Quinoa, Chia Parfait, Tofu Soba, Berry Smoothie) OR type a custom dish description and click 'Analyze Meal' to trigger a crisp 900ms visual scan sweep. Displays overlaid crisp ingredient pin badges directly over the dish photo (e.g. 'Wild Salmon · 280 kcal', 'Avocado · 120 kcal', 'Quinoa · 160 kcal', 'Edamame · 60 kcal'), editable Portion Multiplier slider ('0.5×', '1.0×', '1.5×', '2.0×') recalculating total kcal and macros live, meal-slot selector ('Breakfast / Lunch / Dinner / Snack') and primary Avocado Green 'Log to Today' button that genuinely adds the meal and updates the Daily Calorie Ring!
Layout: Right focal studio panel on desktop Today view + dedicated full-focus 'Scan' view on mobile.
Motion: Animated scan beam sweep and staggered ingredient pill badges.
4. **Meal Diary, Saved Favorites & 7-Day Intake Trends Views** — Diary view lets users filter logged meals by slot (Breakfast/Lunch/Dinner/Snack), browse Saved Favorites with 1-tap '+ Quick Log', and review complete daily macro totals. Trends view renders a clean interactive SVG 7-Day Calorie Intake Bar Chart with dashed '[DAILY_GOAL_KCAL]' target line, daily hover tooltips, weekly Protein/Carbs/Fat ratio donut chart, and 7-day hydration streak stats.
Layout: Clean full-width tabbed views matching desktop and mobile shells.
Motion: Smooth hover tooltips on 7-day SVG chart bars.
## Assets
- image: Download https://media.vibefather.ai/assets/4b9a7bc5-2bd9-4b02-8daf-1eab88db155e/salmon-avocado-bowl.webp to public/assets/salmon-avocado-bowl.webp (alt: Overhead view of seared salmon, avocado, edamame and quinoa grain bowl). Used in Scan Studio default.
- image: Download https://media.vibefather.ai/assets/4b9a7bc5-2bd9-4b02-8daf-1eab88db155e/matcha-chia-parfait.webp to public/assets/matcha-chia-parfait.webp (alt: Overhead Greek yogurt chia bowl with figs, blueberries and pistachios). Used in Breakfast/Snack.
- image: Download https://media.vibefather.ai/assets/4b9a7bc5-2bd9-4b02-8daf-1eab88db155e/chicken-quinoa-salad.webp to public/assets/chicken-quinoa-salad.webp (alt: Overhead herb chicken bowl with sweet potato, spinach and chickpeas). Used in Lunch.
- image: Download https://media.vibefather.ai/assets/4b9a7bc5-2bd9-4b02-8daf-1eab88db155e/avocado-egg-toast.webp to public/assets/avocado-egg-toast.webp (alt: Overhead sourdough avocado toast topped with soft-boiled eggs and pea shoots). Used in Breakfast.
- image: Download https://media.vibefather.ai/assets/4b9a7bc5-2bd9-4b02-8daf-1eab88db155e/tofu-soba-noodles.webp to public/assets/tofu-soba-noodles.webp (alt: Overhead cold buckwheat soba noodles with seared sesame tofu and broccolini). Used in Dinner sample scan.
- image: Download https://media.vibefather.ai/assets/4b9a7bc5-2bd9-4b02-8daf-1eab88db155e/berry-protein-smoothie.webp to public/assets/berry-protein-smoothie.webp (alt: Overhead berry cacao smoothie bowl with banana, strawberries and pumpkin seeds). Used in Snack sample scan.
- icon: Lucide React icons (lucide-react, ISC license) for camera scan, flame, water droplet, book diary, bar chart, heart and plus.
- font: Self-hosted via @fontsource/plus-jakarta-sans, @fontsource/inter and @fontsource/jetbrains-mono (all OFL-1.1).
## Don'ts
- Do not wrap the app inside a fake phone bezel or mock iOS status bar; build a real responsive full-bleed PWA.
- Do not render any 'Template by VibeFather' or third-party watermark text inside navigation, cards, or footers.
- Do not make medical, weight-loss cure, or diagnostic claims; clearly frame it as an illustrative personal wellness tracker.
- Do not hotlink images, use CDN fonts, or emit source maps; configure Vite with base: './' and sourcemap: false.
---
— Prompt by VibeFather · https://vibefather.ai/t/ai-meal-calorie-scanner-app · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
Free for personal projects under CC BY-NC 4.0. Commercial use comes with Pro.
The design system on its own — colors, type, spacing and motion. Apply this look to a project you already have.
---
name: "AI Meal Calorie Scanner App"
colors:
daylight_leaf_canvas: "#F8FAF7"
pure_porcelain_card: "#FFFFFF"
deep_forest_ink: "#14261C"
avocado_green: "#22C55E"
citrus_orange: "#F97316"
sky_hydration: "#0EA5E9"
sage_hairline: "#E3EBE2"
typography:
brand_mark_calorie_remaining_display_and_section_titles: { family: "Plus Jakarta Sans", weights: [600, 700, 800] }
meal_descriptions_ingredient_breakdowns_and_diary_labels: { family: "Inter", weights: [400, 500, 600] }
calories_620_kcal_macro_grams_42g_p_portion_multipliers_1_25_and_dates: { family: "JetBrains Mono", weights: [400, 500] }
spacing: "True full-bleed responsive PWA (zero fake phone frame!). Desktop 1440x900: 224px left navigation rail (Brand, 4 views, Quick Scan CTA, Illustrative Wellness note, [USER_NAME] card) + balanced 2-column Today & Live Scan Workspace (Left: Calorie & Macro SVG Rings + Today's Logged Meals with real overhead food photos + Water Tracker; Right: Interactive 'Scan a Meal' Preview Studio already displaying '[FEATURED_SCAN]' with glowing ingredient callout tags so the desktop first screen looks unmistakably like an AI Meal Scanner!). Mobile 390x844: crisp compact opaque 56px top bar, stacked Rings + Scan CTA + Meals + native 64px 4-tab bottom bar (Today, Scan, Diary, Trends) aligned on one baseline."
radius: "Fresh tactile consumer curves: 20px on macro summary and scan viewfinder cards, 14px on meal photo cards, 999px on macro pills, scan pins and water droplets."
---
# AI Meal Calorie Scanner App — Design System
Apply this design system to an existing project. It describes the look and feel only; for the full site, use prompt.md.
## Colors
- **Daylight Leaf Canvas** `#F8FAF7` — Primary crisp organic daylight background
- **Pure Porcelain Card** `#FFFFFF` — Ring dashboard, scan viewfinder card, diary rows and trend charts
- **Deep Forest Ink** `#14261C` — Primary headings, calorie numerals and active navigation
- **Avocado Green** `#22C55E` — Calorie completion ring, Scan Meal primary CTA, protein/healthy tags and water bar
- **Citrus Orange** `#F97316` — Carbs macro ring, scan ingredient callout pins and streak flame badge
- **Sky Hydration** `#0EA5E9` — Water intake tracker glasses and fat/hydration accents
- **Sage Hairline** `#E3EBE2` — Crisp 1px structural dividers
## Typography
- **Brand mark, calorie remaining display and section titles** — Plus Jakarta Sans (OFL), weights 600/700/800. Self-host the font files.
- **Meal descriptions, ingredient breakdowns and diary labels** — Inter (OFL), weights 400/500/600. Self-host the font files.
- **Calories (620 kcal), macro grams (42g P), portion multipliers (1.25×) and dates** — JetBrains Mono (OFL), weights 400/500. Self-host the font files.
## Spacing & shape
- Spacing: True full-bleed responsive PWA (zero fake phone frame!). Desktop 1440x900: 224px left navigation rail (Brand, 4 views, Quick Scan CTA, Illustrative Wellness note, [USER_NAME] card) + balanced 2-column Today & Live Scan Workspace (Left: Calorie & Macro SVG Rings + Today's Logged Meals with real overhead food photos + Water Tracker; Right: Interactive 'Scan a Meal' Preview Studio already displaying '[FEATURED_SCAN]' with glowing ingredient callout tags so the desktop first screen looks unmistakably like an AI Meal Scanner!). Mobile 390x844: crisp compact opaque 56px top bar, stacked Rings + Scan CTA + Meals + native 64px 4-tab bottom bar (Today, Scan, Diary, Trends) aligned on one baseline.
- Radius: Fresh tactile consumer curves: 20px on macro summary and scan viewfinder cards, 14px on meal photo cards, 999px on macro pills, scan pins and water droplets.
## Motion
- Animated SVG stroke-dashoffset macro rings and crisp horizontal laser scan sweep when selecting a new meal in Scan Studio (clean instant readout under prefers-reduced-motion).
- Smooth hydration glass fill animation and live portion-slider calorie recalculation.
## Imagery
6 cohesive overhead sunlit healthy meal photographs (salmon-avocado-bowl, matcha-chia-parfait, chicken-quinoa-salad, avocado-egg-toast, tofu-soba-noodles, berry-protein-smoothie)—each used cleanly on its dedicated meal card & interactive AI scanner specimen with overlaid SVG ingredient callout chips, plus a warm custom SVG portrait avatar for [USER_NAME].
## Tone
Fresh daylight organic clarity, encouraging wellness craft, zero clinical jargon.
---
— Prompt by VibeFather · https://vibefather.ai/t/ai-meal-calorie-scanner-app · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
The AI Meal Calorie Scanner App template on VibeFather is free. Its prompt and DESIGN.md are free for personal, non-commercial use under CC BY-NC 4.0, and the page includes a live demo built by Kimi K3.1 Pro in Kimi Code. Commercial or client work needs Pro, which also brings the source code of the demos.
The Scan a Meal studio in the AI Meal Calorie Scanner App template preloads a featured dish and lets you pick from six sample meals or type a custom description, then runs a short animated scan sweep. It reveals ingredient callout pins with calorie figures and a Portion Multiplier slider from 0.5x to 2.0x that recalculates calories and macros live before you log the meal to Today's Diary.
Start with the template variables: set [BRAND] to your app name, [USER_NAME] to the member shown in the rail and portrait card, [DAILY_GOAL_KCAL] to your daily target, and [FEATURED_SCAN] to the dish that should open in the Scan Studio. Then swap the six overhead meal photos and their ingredient data in the content file to match your own food library.
Yes. The AI Meal Calorie Scanner App template keeps logged meals, portion adjustments, saved favorites and water taps in localStorage, so the calorie and macro rings, the water counter and the 7-day intake trend chart reflect what a visitor entered when they return. There is no backend or external API, so all data stays in the browser.
Commercial and client use of the AI Meal Calorie Scanner App template requires Pro. For a coaching business, set [BRAND] and [DAILY_GOAL_KCAL] to the practice, rewrite the sample meals and ingredient pins around your own plans, and keep the illustrative wellness note visible, since the template makes no medical claims and is a tracker interface rather than a clinical tool.
Copy the prompt from this page or run npx vibefather add ai-meal-calorie-scanner-app, replace the variables with your own content, and paste it into Claude Code, Codex, Cursor or another AI coding agent. The live demo was built from exactly that text.
The AI photo meal & macro tracker case was built by Kimi K3.1 Pro in Kimi Code. Each build used the published prompt with nothing added.
AI Meal Calorie Scanner App is a single-page site built with React and Tailwind CSS, with micro-interactions. The prompt fixes the stack so every AI tool builds the same kind of project, and the result runs as a static site you can host anywhere.
The AI Meal Calorie Scanner App prompt and DESIGN.md are free for personal, non-commercial projects under CC BY-NC 4.0. Client work and commercial use need VibeFather Pro, which also includes the source code of the live demo.
Yes. Every AI Meal Calorie Scanner App build was tested on a phone-sized screen as well as desktop before it went live, checking layout, text size and touch targets. Open the live demo on your phone, or switch the preview on this page to mobile view, to check it yourself.