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 swiftui
    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
    WorkoutView.swift
    raw
    import SwiftUI
    
    struct Exercise: Identifiable { let id = UUID(); let name: String; let sets: String; let icon: String; var done = false }
    
    struct WorkoutView: View {
        @State private var exercises: [Exercise] = [
            .init(name: "Barbell squat", sets: "4 × 8", icon: "figure.strengthtraining.traditional"),
            .init(name: "Bench press", sets: "4 × 10", icon: "dumbbell.fill"),
            .init(name: "Deadlift", sets: "3 × 6", icon: "figure.strengthtraining.functional"),
            .init(name: "Pull-ups", sets: "3 × 12", icon: "figure.climbing"),
            .init(name: "Plank", sets: "3 × 60s", icon: "figure.core.training")
        ]
        private var done: Int { exercises.filter(\.done).count }
    
        var body: some View {
            ZStack {
                Color(red: 0.05, green: 0.03, blue: 0.04).ignoresSafeArea()
                ScrollView {
                    VStack(alignment: .leading, spacing: 16) {
                        Text("PUSH DAY · 48 MIN").font(.caption).bold().foregroundColor(Color(red: 0.96, green: 0.25, blue: 0.37))
                        Text("Strength A").font(.system(size: 34, weight: .heavy)).foregroundColor(.white)
                        HStack {
                            stat("\(done)/\(exercises.count)", "exercises")
                            stat("1,240", "kg lifted")
                            stat("320", "kcal")
                        }
                        .padding(18).background(Color(red: 0.10, green: 0.05, blue: 0.07)).cornerRadius(18)
    
                        ForEach($exercises) { $ex in
                            Button { ex.done.toggle() } label: {
                                HStack(spacing: 14) {
                                    Image(systemName: ex.icon).font(.title2).foregroundColor(.white).frame(width: 30)
                                    VStack(alignment: .leading, spacing: 3) {
                                        Text(ex.name).fontWeight(.semibold).foregroundColor(.white)
                                        Text(ex.sets).font(.footnote).foregroundColor(.gray)
                                    }
                                    Spacer()
                                    Image(systemName: ex.done ? "checkmark.circle.fill" : "circle")
                                        .foregroundColor(ex.done ? Color(red: 0.96, green: 0.25, blue: 0.37) : .gray).font(.title2)
                                }
                                .padding(16).background(Color.white.opacity(0.04)).cornerRadius(16)
                            }
                        }
                    }
                    .padding(22)
                }
            }
        }
    
        private func stat(_ value: String, _ label: String) -> some View {
            VStack(spacing: 3) {
                Text(value).font(.title3).bold().foregroundColor(.white)
                Text(label).font(.caption).foregroundColor(.gray)
            }.frame(maxWidth: .infinity)
        }
    }
    
    #Preview { WorkoutView() }
    

    Machine endpoints

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