{"$schema":"https://api.vp0.com/schema/vp0-bundle.v1.json","schemaVersion":"vp0-bundle.v1","id":"vp0.roast-coffee-rewards","title":"Roast — Coffee Rewards","type":"registry:block","version":"1.0.0","author":"@vp0","categories":["Food"],"styleTags":["Warm","Loyalty"],"category":"Food","registryDependencies":[],"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.","license":null,"kind":"app_template","createdAt":"2026-05-25T19:40:49.082Z","updatedAt":"2026-05-25T19:40:49.082Z","installHints":{"defaultTarget":"react-native","mcp":"claude mcp add vp0 -- npx -y vp0-mcp","shadcn":"npx shadcn@latest add https://api.vp0.com/r/roast-coffee-rewards.json","cli":"npx vp0com add roast-coffee-rewards --target react-native","openInV0":"https://v0.dev/chat/api/open?url=https://api.vp0.com/r/roast-coffee-rewards.json","downloadExpo":"https://api.vp0.com/export/roast-coffee-rewards/expo.zip"},"sourceHash":"sha256:9b7b1305080e439b4f84ff792c2714445b5d0dc1cda511f154fefc0e79ac97e8","meta":{"com.vp0.contentId":"b6a4276b-a006-4f1c-b946-4e6101201b22","com.vp0.platform":"ios","com.vp0.availableLanguages":["react-native"],"com.vp0.defaultLanguage":"react-native","com.vp0.contentType":"template","com.vp0.kind":"app_template","com.vp0.category":"Food","com.vp0.sourceToken":"vp0_06f93b39d8983ca5b4331132","com.vp0.sourceHash":"sha256:9b7b1305080e439b4f84ff792c2714445b5d0dc1cda511f154fefc0e79ac97e8","com.vp0.simulator":{"target":"react-native","entrypoint":"App.tsx","simulatable":true,"buildStatus":null,"embedUrl":null,"provider":null}},"name":"roast-coffee-rewards","slug":"roast-coffee-rewards","sourceToken":"vp0_06f93b39d8983ca5b4331132","contentType":"template","platform":"ios","description":"A loyalty card for your local roaster with stamps and a quick-order menu.","createdBy":"vp0","tags":["Food","Warm","Loyalty"],"availableLanguages":["react-native"],"defaultLanguage":"react-native","targets":[{"name":"react-native","entrypoint":"App.tsx"}],"files":[{"language":"react-native","path":"App.tsx","type":"registry:page","target":"app/App.tsx","rawUrl":"https://api.vp0.com/designs/roast-coffee-rewards/raw?language=react-native&path=App.tsx","content":"import React from 'react';\nimport { View, Text, ScrollView, StyleSheet, SafeAreaView } from 'react-native';\n\nconst MENU = [\n  { name: 'Flat white', price: 4.2, icon: '☕' },\n  { name: 'Cold brew', price: 4.8, icon: '🧊' },\n  { name: 'Cortado', price: 3.9, icon: '☕' },\n  { name: 'Matcha latte', price: 5.1, icon: '🍵' },\n];\n\nexport default function App() {\n  const stamps = 7;\n  return (\n    <SafeAreaView style={s.safe}>\n      <ScrollView contentContainerStyle={s.scroll} showsVerticalScrollIndicator={false}>\n        <Text style={s.kicker}>GOOD MORNING</Text>\n        <Text style={s.h1}>Foundry Coffee</Text>\n        <View style={s.card}>\n          <Text style={s.cardLabel}>Loyalty card</Text>\n          <Text style={s.cardTitle}>{10 - stamps} more for a free cup</Text>\n          <View style={s.stamps}>\n            {Array.from({ length: 10 }).map((_, i) => (\n              <View key={i} style={[s.stamp, i < stamps && s.stampOn]}><Text style={s.stampIcon}>{i < stamps ? '☕' : ''}</Text></View>\n            ))}\n          </View>\n        </View>\n        <Text style={s.section}>Order again</Text>\n        {MENU.map((m) => (\n          <View key={m.name} style={s.row}>\n            <View style={s.rowIcon}><Text style={{ fontSize: 22 }}>{m.icon}</Text></View>\n            <Text style={s.rowName}>{m.name}</Text>\n            <Text style={s.rowPrice}>{'$' + m.price.toFixed(2)}</Text>\n          </View>\n        ))}\n      </ScrollView>\n    </SafeAreaView>\n  );\n}\n\nconst s = StyleSheet.create({\n  safe: { flex: 1, backgroundColor: '#0F0B07' },\n  scroll: { padding: 22, paddingTop: 60 },\n  kicker: { color: '#C08457', fontSize: 12, fontWeight: '700', letterSpacing: 2 },\n  h1: { color: '#fff', fontSize: 30, fontWeight: '800', marginTop: 4 },\n  card: { backgroundColor: '#1A130C', borderRadius: 22, padding: 22, marginTop: 22, borderWidth: 1, borderColor: '#2E2114' },\n  cardLabel: { color: '#C08457', fontSize: 13, fontWeight: '600' },\n  cardTitle: { color: '#fff', fontSize: 20, fontWeight: '700', marginTop: 6, marginBottom: 18 },\n  stamps: { flexDirection: 'row', flexWrap: 'wrap', gap: 10 },\n  stamp: { width: 50, height: 50, borderRadius: 25, borderWidth: 2, borderColor: '#3A2A1A', alignItems: 'center', justifyContent: 'center' },\n  stampOn: { backgroundColor: '#C08457', borderColor: '#C08457' },\n  stampIcon: { fontSize: 22 },\n  section: { color: '#fff', fontSize: 18, fontWeight: '700', marginTop: 30, marginBottom: 12 },\n  row: { flexDirection: 'row', alignItems: 'center', backgroundColor: '#16100A', borderRadius: 16, padding: 14, marginBottom: 12 },\n  rowIcon: { width: 46, height: 46, borderRadius: 14, backgroundColor: '#1F160D', alignItems: 'center', justifyContent: 'center', marginRight: 14 },\n  rowName: { color: '#EDE3D8', fontSize: 16, fontWeight: '600', flex: 1 },\n  rowPrice: { color: '#C08457', fontSize: 16, fontWeight: '700' },\n});\n"}],"assets":[{"kind":"cover","url":"https://storage.vp0.com/vp0/covers/b6a4276b-a006-4f1c-b946-4e6101201b22/7ec8e76f-63ed-4ebf-844e-9c7167997af5/full.webp","width":1206,"height":2622,"lqip":"RggGAwBcnkZ3cnCmSZ+S9Co=","variants":{"avif":"https://storage.vp0.com/vp0/covers/b6a4276b-a006-4f1c-b946-4e6101201b22/7ec8e76f-63ed-4ebf-844e-9c7167997af5/avif.avif","card":"https://storage.vp0.com/vp0/covers/b6a4276b-a006-4f1c-b946-4e6101201b22/7ec8e76f-63ed-4ebf-844e-9c7167997af5/card.webp","full":"https://storage.vp0.com/vp0/covers/b6a4276b-a006-4f1c-b946-4e6101201b22/7ec8e76f-63ed-4ebf-844e-9c7167997af5/full.webp","thumb":"https://storage.vp0.com/vp0/covers/b6a4276b-a006-4f1c-b946-4e6101201b22/7ec8e76f-63ed-4ebf-844e-9c7167997af5/thumb.webp","light_avif":"https://storage.vp0.com/vp0/covers/b6a4276b-a006-4f1c-b946-4e6101201b22/ec523d9e-991f-4289-8fb6-eab00cec8e35/avif.avif","light_card":"https://storage.vp0.com/vp0/covers/b6a4276b-a006-4f1c-b946-4e6101201b22/ec523d9e-991f-4289-8fb6-eab00cec8e35/card.webp","light_full":"https://storage.vp0.com/vp0/covers/b6a4276b-a006-4f1c-b946-4e6101201b22/ec523d9e-991f-4289-8fb6-eab00cec8e35/full.webp","light_thumb":"https://storage.vp0.com/vp0/covers/b6a4276b-a006-4f1c-b946-4e6101201b22/ec523d9e-991f-4289-8fb6-eab00cec8e35/thumb.webp"}},{"kind":"video","url":"https://storage.vp0.com/vp0/clips/13/540fa0ff-43ce-4ff2-88d1-4eaadfb71d07/clip.mp4","variants":{"mp4":"https://storage.vp0.com/vp0/clips/13/540fa0ff-43ce-4ff2-88d1-4eaadfb71d07/clip.mp4","webm":"https://storage.vp0.com/vp0/clips/13/540fa0ff-43ce-4ff2-88d1-4eaadfb71d07/clip.webm","poster":"https://storage.vp0.com/vp0/clips/13/540fa0ff-43ce-4ff2-88d1-4eaadfb71d07/poster.jpg"}}],"screens":[],"dependencies":{},"devDependencies":{},"componentsUsed":[],"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.","importUrl":"https://vp0.com/source/roast-coffee-rewards","manifestUrl":"https://api.vp0.com/designs/roast-coffee-rewards/manifest","installCommand":null,"aiInstructions":"This is an iOS app UI starter for Expo React Native (\"Roast — Coffee Rewards\").\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.","promptText":"Build this iOS app design in my project: \"Roast — Coffee Rewards\" — A loyalty card for your local roaster with stamps and a quick-order menu..\n1. Fetch https://api.vp0.com/designs/roast-coffee-rewards/manifest — a JSON manifest whose files[] array contains EVERY source file inline (path + content).\n2. Create each file at its exact files[].path and paste its content VERBATIM. Do not re-imagine or restyle the UI — the provided code IS the design.\n3. Install dependencies exactly as given by the manifest's installCommand field (skip if null).\n4. Render the entry component (targets[].entrypoint) from a screen. Keep SafeAreaView / safe-area insets and the existing styling untouched.\n5. It is a UI starter: once it renders pixel-perfect, wire my own data, navigation and backend on top.\nHuman-readable source page: https://vp0.com/source/roast-coffee-rewards"}