{"id":"vp0.flow-hydrate","docs":"This is an iOS app UI starter built with React Native. Paste the design link into your AI app builder (Claude Code, Rork, Lovable) and ask it to start from this design. Add your own backend/data logic. These are UI starters.","kind":"app_template","meta":{"com.vp0.kind":"app_template","com.vp0.category":"Nutrition","com.vp0.platform":"ios","com.vp0.contentId":"b6e58736-1ba2-4494-aa22-963cd15fdc45","com.vp0.simulator":{"target":"react-native","embedUrl":null,"provider":null,"entrypoint":"App.tsx","buildStatus":null,"simulatable":true},"com.vp0.sourceHash":"sha256:d0f535ee934e2fd6efd889e8194e994aea69cba21df75425db690df810cf00d2","com.vp0.contentType":"template","com.vp0.sourceToken":"vp0_d5d348153dadae4449d5e633","com.vp0.defaultLanguage":"react-native","com.vp0.availableLanguages":["react-native"]},"name":"flow-hydrate","slug":"flow-hydrate","tags":["Health","Nutrition","Minimal"],"type":"registry:block","files":[{"path":"App.tsx","type":"registry:page","rawUrl":"https://api.vp0.com/designs/flow-hydrate/raw?language=react-native&path=App.tsx","target":"app/App.tsx","content":"import React, { useState } from 'react';\nimport { View, Text, Pressable, StyleSheet, SafeAreaView } from 'react-native';\n\nconst GOAL = 8;\n\nexport default function App() {\n  const [filled, setFilled] = useState(3);\n  const pct = Math.round((filled / GOAL) * 100);\n  const ml = filled * 250;\n  return (\n    <SafeAreaView style={s.safe}>\n      <View style={s.head}>\n        <Text style={s.kicker}>STAY HYDRATED</Text>\n        <Text style={s.h1}>{ml} ml</Text>\n        <Text style={s.sub}>{filled} of {GOAL} glasses · {pct}%</Text>\n      </View>\n\n      <View style={s.barWrap}>\n        <View style={s.barTrack}>\n          <View style={[s.barFill, { height: pct + '%' }]} />\n        </View>\n      </View>\n\n      <View style={s.glasses}>\n        {Array.from({ length: GOAL }).map((_, i) => {\n          const on = i < filled;\n          return (\n            <Pressable key={i} onPress={() => setFilled(i + 1 === filled ? i : i + 1)} style={[s.glass, on && s.glassOn]}>\n              <Text style={s.glassIcon}>{on ? '💧' : '🥛'}</Text>\n            </Pressable>\n          );\n        })}\n      </View>\n\n      <Pressable onPress={() => setFilled((f) => Math.min(GOAL, f + 1))} style={({ pressed }) => [s.btn, pressed && { opacity: 0.85 }]}>\n        <Text style={s.btnText}>+ Add a glass</Text>\n      </Pressable>\n    </SafeAreaView>\n  );\n}\n\nconst s = StyleSheet.create({\n  safe: { flex: 1, backgroundColor: '#04121C' },\n  head: { paddingTop: 64, alignItems: 'center' },\n  kicker: { color: '#33B1FF', fontSize: 12, fontWeight: '700', letterSpacing: 2 },\n  h1: { color: '#fff', fontSize: 52, fontWeight: '800', marginTop: 8 },\n  sub: { color: '#5E8AB0', fontSize: 15, marginTop: 4 },\n  barWrap: { flex: 1, alignItems: 'center', justifyContent: 'center' },\n  barTrack: { width: 86, height: 240, borderRadius: 43, backgroundColor: '#0B2333', justifyContent: 'flex-end', overflow: 'hidden', borderWidth: 1, borderColor: '#143246' },\n  barFill: { width: '100%', backgroundColor: '#33B1FF', borderRadius: 43 },\n  glasses: { flexDirection: 'row', flexWrap: 'wrap', justifyContent: 'center', gap: 12, paddingHorizontal: 30 },\n  glass: { width: 52, height: 52, borderRadius: 14, backgroundColor: '#0B2333', alignItems: 'center', justifyContent: 'center', borderWidth: 1, borderColor: '#143246' },\n  glassOn: { backgroundColor: '#0E3349', borderColor: '#33B1FF' },\n  glassIcon: { fontSize: 22 },\n  btn: { backgroundColor: '#33B1FF', margin: 26, borderRadius: 30, paddingVertical: 18, alignItems: 'center' },\n  btnText: { color: '#04121C', fontSize: 17, fontWeight: '800' },\n});\n","language":"react-native"}],"notes":"This is an iOS app UI starter built with React Native. Paste the design link into your AI app builder (Claude Code, Rork, Lovable) and ask it to start from this design. Add your own backend/data logic. These are UI starters.","title":"Flow — Hydrate","assets":[{"url":"https://storage.vp0.com/vp0/covers/b6e58736-1ba2-4494-aa22-963cd15fdc45/7e294e59-9baf-43ca-b967-0a34f9cfd148/full.webp","kind":"cover","lqip":"CNcFEwQYcNiIhH1kt490+0g=","width":804,"height":1748,"variants":{"avif":"https://storage.vp0.com/vp0/covers/b6e58736-1ba2-4494-aa22-963cd15fdc45/7e294e59-9baf-43ca-b967-0a34f9cfd148/avif.avif","card":"https://storage.vp0.com/vp0/covers/b6e58736-1ba2-4494-aa22-963cd15fdc45/7e294e59-9baf-43ca-b967-0a34f9cfd148/card.webp","full":"https://storage.vp0.com/vp0/covers/b6e58736-1ba2-4494-aa22-963cd15fdc45/7e294e59-9baf-43ca-b967-0a34f9cfd148/full.webp","thumb":"https://storage.vp0.com/vp0/covers/b6e58736-1ba2-4494-aa22-963cd15fdc45/7e294e59-9baf-43ca-b967-0a34f9cfd148/thumb.webp"}},{"url":"https://storage.vp0.com/vp0/clips/6/a89b00a7-4555-4231-a4a9-59b5de5e0b48/clip.mp4","kind":"video","variants":{"mp4":"https://storage.vp0.com/vp0/clips/6/a89b00a7-4555-4231-a4a9-59b5de5e0b48/clip.mp4","webm":"https://storage.vp0.com/vp0/clips/6/a89b00a7-4555-4231-a4a9-59b5de5e0b48/clip.webm","poster":"https://storage.vp0.com/vp0/clips/6/a89b00a7-4555-4231-a4a9-59b5de5e0b48/poster.jpg"}}],"author":"@vp0","$schema":"https://api.vp0.com/schema/vp0-bundle.v1.json","license":null,"targets":[{"name":"react-native","entrypoint":"App.tsx"}],"version":"1.0.0","category":"Nutrition","platform":"ios","createdAt":"2026-05-25T19:40:48.873Z","createdBy":"vp0","importUrl":"https://vp0.com/source/flow-hydrate","styleTags":["Minimal"],"updatedAt":"2026-05-25T19:40:48.873Z","categories":["Health","Nutrition"],"promptText":"Recreate this iOS app design in my Expo React Native project. Fetch the full source, dependencies, and step-by-step integration instructions from https://vp0.com/source/flow-hydrate (machine-readable JSON manifest: https://api.vp0.com/designs/flow-hydrate/manifest). Design: \"Flow — Hydrate\" — Tap to fill each glass and reach your daily water goal.. Match the layout and styling exactly; it's an iOS UI starter, so add my own data/logic afterward.","sourceHash":"sha256:d0f535ee934e2fd6efd889e8194e994aea69cba21df75425db690df810cf00d2","contentType":"template","description":"Tap to fill each glass and reach your daily water goal.","manifestUrl":"https://api.vp0.com/designs/flow-hydrate/manifest","sourceToken":"vp0_d5d348153dadae4449d5e633","dependencies":{},"installHints":{"cli":"npx vp0 add flow-hydrate --target react-native","mcp":"claude mcp add vp0 -- npx -y vp0-mcp","shadcn":"npx shadcn@latest add https://api.vp0.com/r/flow-hydrate.json","openInV0":"https://v0.dev/chat/api/open?url=https://api.vp0.com/r/flow-hydrate.json","defaultTarget":"react-native"},"schemaVersion":"vp0-bundle.v1","aiInstructions":"This is an iOS app UI starter for Expo React Native (\"Flow — Hydrate\").\nIntegrate it into the user's Expo project as follows:\n1. No extra dependencies are required.\n2. Create the following file(s) and paste each provided \"content\" exactly:\n   - App.tsx\n3. Render the exported component from a screen (e.g. app/(tabs)/index.tsx). It targets iOS — keep SafeAreaView / safe-area insets and the existing styling.\n4. These are UI starters: reproduce the visual layout faithfully, then wire the user's own data/navigation/backend afterward.","componentsUsed":[],"installCommand":null,"defaultLanguage":"react-native","devDependencies":{},"availableLanguages":["react-native"],"registryDependencies":[]}