VP0Design source for AI builders
    View design page

    📱 iOS app UI starter. Paste the design link below into Claude Code, Rork, Lovable, or your AI app builder and ask it to start from this design. These are UI starters. Add your own backend/data logic.

    Roast — Coffee Rewards

    templateiosby @vp0

    A loyalty card for your local roaster with stamps and a quick-order menu.

    #Food #Warm #Loyalty

    Works withClaude CodeCursorRorkLovablev0& any AI coding agent
    https://vp0.com/source/roast-coffee-rewards
    npx vp0com add roast-coffee-rewards --target react-native
    Open in v0

    Or skip the paste

    Install the free VP0 MCP once and your AI builder can search and import any design by name, with no link to copy and no API key.

    Claude Code
    claude mcp add vp0 -- npx -y vp0-mcp
    Cursor / Windsurf
    {
      "mcpServers": {
        "vp0": { "command": "npx", "args": ["-y", "vp0-mcp"] }
      }
    }

    Use with AI

    Prompt

    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.. 1. Fetch https://api.vp0.com/designs/roast-coffee-rewards/manifest — a JSON manifest whose files[] array contains EVERY source file inline (path + content). 2. 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. 3. Install dependencies exactly as given by the manifest's installCommand field (skip if null). 4. Render the entry component (targets[].entrypoint) from a screen. Keep SafeAreaView / safe-area insets and the existing styling untouched. 5. It is a UI starter: once it renders pixel-perfect, wire my own data, navigation and backend on top. Human-readable source page: https://vp0.com/source/roast-coffee-rewards

    Integration steps
    This is an iOS app UI starter for Expo React Native ("Roast — Coffee Rewards").
    Integrate it into the user's Expo project as follows:
    1. No extra dependencies are required.
    2. Create the following file(s) and paste each provided "content" exactly:
       - App.tsx
    3. 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.
    4. These are UI starters: reproduce the visual layout faithfully, then wire the user's own data/navigation/backend afterward.

    Preview

    Roast — Coffee Rewards preview 1

    Code · 1 file

    React Native
    Download .zip
    App.tsx
    raw
    import React from 'react';
    import { View, Text, ScrollView, StyleSheet, SafeAreaView } from 'react-native';
    
    const MENU = [
      { name: 'Flat white', price: 4.2, icon: '☕' },
      { name: 'Cold brew', price: 4.8, icon: '🧊' },
      { name: 'Cortado', price: 3.9, icon: '☕' },
      { name: 'Matcha latte', price: 5.1, icon: '🍵' },
    ];
    
    export default function App() {
      const stamps = 7;
      return (
        <SafeAreaView style={s.safe}>
          <ScrollView contentContainerStyle={s.scroll} showsVerticalScrollIndicator={false}>
            <Text style={s.kicker}>GOOD MORNING</Text>
            <Text style={s.h1}>Foundry Coffee</Text>
            <View style={s.card}>
              <Text style={s.cardLabel}>Loyalty card</Text>
              <Text style={s.cardTitle}>{10 - stamps} more for a free cup</Text>
              <View style={s.stamps}>
                {Array.from({ length: 10 }).map((_, i) => (
                  <View key={i} style={[s.stamp, i < stamps && s.stampOn]}><Text style={s.stampIcon}>{i < stamps ? '☕' : ''}</Text></View>
                ))}
              </View>
            </View>
            <Text style={s.section}>Order again</Text>
            {MENU.map((m) => (
              <View key={m.name} style={s.row}>
                <View style={s.rowIcon}><Text style={{ fontSize: 22 }}>{m.icon}</Text></View>
                <Text style={s.rowName}>{m.name}</Text>
                <Text style={s.rowPrice}>{'$' + m.price.toFixed(2)}</Text>
              </View>
            ))}
          </ScrollView>
        </SafeAreaView>
      );
    }
    
    const s = StyleSheet.create({
      safe: { flex: 1, backgroundColor: '#0F0B07' },
      scroll: { padding: 22, paddingTop: 60 },
      kicker: { color: '#C08457', fontSize: 12, fontWeight: '700', letterSpacing: 2 },
      h1: { color: '#fff', fontSize: 30, fontWeight: '800', marginTop: 4 },
      card: { backgroundColor: '#1A130C', borderRadius: 22, padding: 22, marginTop: 22, borderWidth: 1, borderColor: '#2E2114' },
      cardLabel: { color: '#C08457', fontSize: 13, fontWeight: '600' },
      cardTitle: { color: '#fff', fontSize: 20, fontWeight: '700', marginTop: 6, marginBottom: 18 },
      stamps: { flexDirection: 'row', flexWrap: 'wrap', gap: 10 },
      stamp: { width: 50, height: 50, borderRadius: 25, borderWidth: 2, borderColor: '#3A2A1A', alignItems: 'center', justifyContent: 'center' },
      stampOn: { backgroundColor: '#C08457', borderColor: '#C08457' },
      stampIcon: { fontSize: 22 },
      section: { color: '#fff', fontSize: 18, fontWeight: '700', marginTop: 30, marginBottom: 12 },
      row: { flexDirection: 'row', alignItems: 'center', backgroundColor: '#16100A', borderRadius: 16, padding: 14, marginBottom: 12 },
      rowIcon: { width: 46, height: 46, borderRadius: 14, backgroundColor: '#1F160D', alignItems: 'center', justifyContent: 'center', marginRight: 14 },
      rowName: { color: '#EDE3D8', fontSize: 16, fontWeight: '600', flex: 1 },
      rowPrice: { color: '#C08457', fontSize: 16, fontWeight: '700' },
    });
    

    Machine endpoints

    Open, CORS-enabled, no key. React Native is the default target; append ?target=swiftui where SwiftUI is available.