{"id":"vp0.forge-workout","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":"Fitness","com.vp0.platform":"ios","com.vp0.contentId":"fc9cccd0-3f0c-4312-bd8b-30093c4baf91","com.vp0.simulator":{"target":"react-native","embedUrl":null,"provider":null,"entrypoint":null,"buildStatus":null,"simulatable":false},"com.vp0.sourceHash":"sha256:8b42ce3a5305cd04a42f866c021cffad551ca96a579a33a603b3b4bb1b502e72","com.vp0.contentType":"template","com.vp0.sourceToken":"vp0_1f4d344d3691ccdcc03c7860","com.vp0.defaultLanguage":"swiftui","com.vp0.availableLanguages":["swiftui"]},"name":"forge-workout","slug":"forge-workout","tags":["Dark","Fitness","Energetic"],"type":"registry:block","files":[{"path":"WorkoutView.swift","type":"registry:page","rawUrl":"https://api.vp0.com/designs/forge-workout/raw?language=swiftui&path=WorkoutView.swift","target":"app/WorkoutView.swift","content":"import SwiftUI\n\nstruct Exercise: Identifiable { let id = UUID(); let name: String; let sets: String; let icon: String; var done = false }\n\nstruct WorkoutView: View {\n    @State private var exercises: [Exercise] = [\n        .init(name: \"Barbell squat\", sets: \"4 × 8\", icon: \"figure.strengthtraining.traditional\"),\n        .init(name: \"Bench press\", sets: \"4 × 10\", icon: \"dumbbell.fill\"),\n        .init(name: \"Deadlift\", sets: \"3 × 6\", icon: \"figure.strengthtraining.functional\"),\n        .init(name: \"Pull-ups\", sets: \"3 × 12\", icon: \"figure.climbing\"),\n        .init(name: \"Plank\", sets: \"3 × 60s\", icon: \"figure.core.training\")\n    ]\n    private var done: Int { exercises.filter(\\.done).count }\n\n    var body: some View {\n        ZStack {\n            Color(red: 0.05, green: 0.03, blue: 0.04).ignoresSafeArea()\n            ScrollView {\n                VStack(alignment: .leading, spacing: 16) {\n                    Text(\"PUSH DAY · 48 MIN\").font(.caption).bold().foregroundColor(Color(red: 0.96, green: 0.25, blue: 0.37))\n                    Text(\"Strength A\").font(.system(size: 34, weight: .heavy)).foregroundColor(.white)\n                    HStack {\n                        stat(\"\\(done)/\\(exercises.count)\", \"exercises\")\n                        stat(\"1,240\", \"kg lifted\")\n                        stat(\"320\", \"kcal\")\n                    }\n                    .padding(18).background(Color(red: 0.10, green: 0.05, blue: 0.07)).cornerRadius(18)\n\n                    ForEach($exercises) { $ex in\n                        Button { ex.done.toggle() } label: {\n                            HStack(spacing: 14) {\n                                Image(systemName: ex.icon).font(.title2).foregroundColor(.white).frame(width: 30)\n                                VStack(alignment: .leading, spacing: 3) {\n                                    Text(ex.name).fontWeight(.semibold).foregroundColor(.white)\n                                    Text(ex.sets).font(.footnote).foregroundColor(.gray)\n                                }\n                                Spacer()\n                                Image(systemName: ex.done ? \"checkmark.circle.fill\" : \"circle\")\n                                    .foregroundColor(ex.done ? Color(red: 0.96, green: 0.25, blue: 0.37) : .gray).font(.title2)\n                            }\n                            .padding(16).background(Color.white.opacity(0.04)).cornerRadius(16)\n                        }\n                    }\n                }\n                .padding(22)\n            }\n        }\n    }\n\n    private func stat(_ value: String, _ label: String) -> some View {\n        VStack(spacing: 3) {\n            Text(value).font(.title3).bold().foregroundColor(.white)\n            Text(label).font(.caption).foregroundColor(.gray)\n        }.frame(maxWidth: .infinity)\n    }\n}\n\n#Preview { WorkoutView() }\n","language":"swiftui"}],"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":"Forge — Workout","assets":[{"url":"https://storage.vp0.com/vp0/covers/fc9cccd0-3f0c-4312-bd8b-30093c4baf91/42a6eefa-16ea-4da3-a618-446a4e0047c1/full.webp","kind":"cover","lqip":"BBgCAwBurzaHh4Zkvoqwxwg=","width":804,"height":1748,"variants":{"avif":"https://storage.vp0.com/vp0/covers/fc9cccd0-3f0c-4312-bd8b-30093c4baf91/42a6eefa-16ea-4da3-a618-446a4e0047c1/avif.avif","card":"https://storage.vp0.com/vp0/covers/fc9cccd0-3f0c-4312-bd8b-30093c4baf91/42a6eefa-16ea-4da3-a618-446a4e0047c1/card.webp","full":"https://storage.vp0.com/vp0/covers/fc9cccd0-3f0c-4312-bd8b-30093c4baf91/42a6eefa-16ea-4da3-a618-446a4e0047c1/full.webp","thumb":"https://storage.vp0.com/vp0/covers/fc9cccd0-3f0c-4312-bd8b-30093c4baf91/42a6eefa-16ea-4da3-a618-446a4e0047c1/thumb.webp"}},{"url":"https://storage.vp0.com/vp0/clips/30/c174a6df-7743-4e51-9b86-8fdea29147fe/clip.mp4","kind":"video","variants":{"mp4":"https://storage.vp0.com/vp0/clips/30/c174a6df-7743-4e51-9b86-8fdea29147fe/clip.mp4","webm":"https://storage.vp0.com/vp0/clips/30/c174a6df-7743-4e51-9b86-8fdea29147fe/clip.webm","poster":"https://storage.vp0.com/vp0/clips/30/c174a6df-7743-4e51-9b86-8fdea29147fe/poster.jpg"}}],"author":"@vp0","$schema":"https://api.vp0.com/schema/vp0-bundle.v1.json","license":null,"targets":[{"name":"swiftui","entrypoint":"WorkoutView.swift"}],"version":"1.0.0","category":"Fitness","platform":"ios","createdAt":"2026-05-25T19:40:49.594Z","createdBy":"vp0","importUrl":"https://vp0.com/source/forge-workout","styleTags":["Dark","Energetic"],"updatedAt":"2026-05-25T19:40:49.594Z","categories":["Fitness"],"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/forge-workout (machine-readable JSON manifest: https://api.vp0.com/designs/forge-workout/manifest). Design: \"Forge — Workout\" — A guided strength session with sets, reps, and a rest timer.. Match the layout and styling exactly; it's an iOS UI starter, so add my own data/logic afterward.","sourceHash":"sha256:8b42ce3a5305cd04a42f866c021cffad551ca96a579a33a603b3b4bb1b502e72","contentType":"template","description":"A guided strength session with sets, reps, and a rest timer.","manifestUrl":"https://api.vp0.com/designs/forge-workout/manifest","sourceToken":"vp0_1f4d344d3691ccdcc03c7860","dependencies":{},"installHints":{"cli":"npx vp0 add forge-workout --target react-native","mcp":"claude mcp add vp0 -- npx -y vp0-mcp","shadcn":"npx shadcn@latest add https://api.vp0.com/r/forge-workout.json","openInV0":"https://v0.dev/chat/api/open?url=https://api.vp0.com/r/forge-workout.json","defaultTarget":"react-native"},"schemaVersion":"vp0-bundle.v1","aiInstructions":"This is an iOS app UI starter for Expo React Native (\"Forge — Workout\").\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   - WorkoutView.swift\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":"swiftui","devDependencies":{},"availableLanguages":["swiftui"],"registryDependencies":[]}