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.

    Forge — Workout

    templateiosby @vp0

    A guided strength session with sets, reps, and a rest timer.

    #Dark #Fitness #Energetic

    Works withClaude CodeCursorRorkLovablev0& any AI coding agent
    https://vp0.com/source/forge-workout
    npx vp0com add forge-workout --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: "Forge — Workout" — A guided strength session with sets, reps, and a rest timer.. 1. Fetch https://api.vp0.com/designs/forge-workout/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/forge-workout

    Integration steps
    This is an iOS app UI starter for Expo React Native ("Forge — Workout").
    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
       - WorkoutView.swift
    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

    Forge — Workout preview 1

    Code · 1 file

    Download .zip
    App.tsx
    raw
    import React, { useState } from 'react';
    import { View, Text, ScrollView, Pressable, StyleSheet, SafeAreaView } from 'react-native';
    
    const EX = [
      { name: 'Barbell squat', sets: '4 × 8', icon: '🦵' },
      { name: 'Bench press', sets: '4 × 10', icon: '💪' },
      { name: 'Deadlift', sets: '3 × 6', icon: '🏋️' },
      { name: 'Pull-ups', sets: '3 × 12', icon: '🧗' },
      { name: 'Plank', sets: '3 × 60s', icon: '🧘' },
    ];
    
    export default function App() {
      const [done, setDone] = useState<Record<number, boolean>>({});
      const count = Object.values(done).filter(Boolean).length;
      return (
        <SafeAreaView style={s.safe}>
          <ScrollView contentContainerStyle={s.scroll} showsVerticalScrollIndicator={false}>
            <Text style={s.kicker}>PUSH DAY · 48 MIN</Text>
            <Text style={s.h1}>Strength A</Text>
            <View style={s.hud}>
              <View style={s.hudItem}><Text style={s.hudN}>{count}/{EX.length}</Text><Text style={s.hudL}>exercises</Text></View>
              <View style={s.hudItem}><Text style={s.hudN}>1,240</Text><Text style={s.hudL}>kg lifted</Text></View>
              <View style={s.hudItem}><Text style={s.hudN}>320</Text><Text style={s.hudL}>kcal</Text></View>
            </View>
            {EX.map((e, i) => {
              const on = done[i];
              return (
                <Pressable key={i} onPress={() => setDone((d) => ({ ...d, [i]: !d[i] }))} style={[s.row, on && s.rowOn]}>
                  <Text style={s.exIcon}>{e.icon}</Text>
                  <View style={{ flex: 1 }}>
                    <Text style={[s.exName, on && { color: '#fff' }]}>{e.name}</Text>
                    <Text style={s.exSets}>{e.sets}</Text>
                  </View>
                  <View style={[s.check, on && s.checkOn]}>{on ? <Text style={s.checkM}>✓</Text> : null}</View>
                </Pressable>
              );
            })}
          </ScrollView>
        </SafeAreaView>
      );
    }
    
    const s = StyleSheet.create({
      safe: { flex: 1, backgroundColor: '#0E0709' },
      scroll: { padding: 22, paddingTop: 60 },
      kicker: { color: '#F43F5E', fontSize: 12, fontWeight: '700', letterSpacing: 2 },
      h1: { color: '#fff', fontSize: 34, fontWeight: '800', marginTop: 4 },
      hud: { flexDirection: 'row', backgroundColor: '#1A0E11', borderRadius: 18, padding: 18, marginVertical: 22, justifyContent: 'space-between' },
      hudItem: { alignItems: 'center', flex: 1 },
      hudN: { color: '#fff', fontSize: 20, fontWeight: '800' },
      hudL: { color: '#A86A74', fontSize: 12, marginTop: 3 },
      row: { flexDirection: 'row', alignItems: 'center', backgroundColor: '#160C0E', borderRadius: 16, padding: 16, marginBottom: 12 },
      rowOn: { backgroundColor: '#2A1015' },
      exIcon: { fontSize: 26, marginRight: 14 },
      exName: { color: '#EDE0E2', fontSize: 17, fontWeight: '700' },
      exSets: { color: '#A86A74', fontSize: 14, marginTop: 3 },
      check: { width: 30, height: 30, borderRadius: 15, borderWidth: 2, borderColor: '#3A1F24', alignItems: 'center', justifyContent: 'center' },
      checkOn: { backgroundColor: '#F43F5E', borderColor: '#F43F5E' },
      checkM: { color: '#fff', fontWeight: '900', fontSize: 16 },
    });
    

    Machine endpoints

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