{"$schema":"https://api.vp0.com/schema/vp0-bundle.v1.json","schemaVersion":"vp0-bundle.v1","id":"vp0.spark-dating","title":"Spark — Dating","type":"registry:block","version":"1.0.0","author":"@vp0","categories":["Dating","Social"],"styleTags":["Colorful"],"category":"Dating","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-25T20:17:18.133Z","updatedAt":"2026-05-25T20:17:18.133Z","installHints":{"defaultTarget":"react-native","mcp":"claude mcp add vp0 -- npx -y vp0-mcp","shadcn":"npx shadcn@latest add https://api.vp0.com/r/spark-dating.json","cli":"npx vp0com add spark-dating --target react-native","openInV0":"https://v0.dev/chat/api/open?url=https://api.vp0.com/r/spark-dating.json","downloadExpo":"https://api.vp0.com/export/spark-dating/expo.zip","downloadXcode":"https://api.vp0.com/export/spark-dating/xcode.zip"},"sourceHash":"sha256:90e1a6fda08407cb4ea9dcdfaa02b9b1e138e66a6a6de42d04465869493b0c99","meta":{"com.vp0.contentId":"f15e97c0-b469-4062-9ffb-f9eb4aa84f50","com.vp0.platform":"ios","com.vp0.availableLanguages":["react-native","swiftui"],"com.vp0.defaultLanguage":"react-native","com.vp0.contentType":"template","com.vp0.kind":"app_template","com.vp0.category":"Dating","com.vp0.sourceToken":"vp0_41b771c1e229288efeab8462","com.vp0.sourceHash":"sha256:90e1a6fda08407cb4ea9dcdfaa02b9b1e138e66a6a6de42d04465869493b0c99","com.vp0.simulator":{"target":"react-native","entrypoint":"App.tsx","simulatable":true,"buildStatus":null,"embedUrl":null,"provider":null}},"name":"spark-dating","slug":"spark-dating","sourceToken":"vp0_41b771c1e229288efeab8462","contentType":"template","platform":"ios","description":"A swipeable profile stack with like and pass, the classic dating flow.","createdBy":"vp0","tags":["Dating","Social","Colorful"],"availableLanguages":["react-native","swiftui"],"defaultLanguage":"react-native","targets":[{"name":"react-native","entrypoint":"App.tsx"},{"name":"swiftui","entrypoint":"DatingView.swift"}],"files":[{"language":"react-native","path":"App.tsx","type":"registry:page","target":"app/App.tsx","rawUrl":"https://api.vp0.com/designs/spark-dating/raw?language=react-native&path=App.tsx","content":"import React, { useState } from 'react';\nimport { View, Text, Pressable, StyleSheet, SafeAreaView } from 'react-native';\n\nconst PROFILES = [\n  { name: 'Maya', age: 27, emoji: '🌸', city: '2 km away', bio: 'Coffee, climbing, and bad puns.', tags: ['Climbing', 'Film', 'Ramen'], c: '#FF4D67' },\n  { name: 'Theo', age: 30, emoji: '🎸', city: '5 km away', bio: 'Plays guitar, collects vinyl.', tags: ['Music', 'Vinyl', 'Hiking'], c: '#7C5CFF' },\n  { name: 'Iris', age: 25, emoji: '🎨', city: '1 km away', bio: 'Painter chasing good light.', tags: ['Art', 'Dogs', 'Yoga'], c: '#FFB020' },\n];\n\nexport default function App() {\n  const [i, setI] = useState(0);\n  const p = PROFILES[i % PROFILES.length];\n  const next = () => setI((x) => x + 1);\n  return (\n    <SafeAreaView style={s.safe}>\n      <View style={s.head}><Text style={s.logo}>spark</Text><Text style={s.headIcon}>♥</Text></View>\n      <View style={s.cardWrap}>\n        <View style={[s.card, { borderColor: p.c + '55' }]}>\n          <View style={[s.photo, { backgroundColor: p.c + '22' }]}><Text style={s.photoEmoji}>{p.emoji}</Text></View>\n          <View style={s.info}>\n            <Text style={s.name}>{p.name}, <Text style={s.age}>{p.age}</Text></Text>\n            <Text style={s.city}>📍 {p.city}</Text>\n            <Text style={s.bio}>{p.bio}</Text>\n            <View style={s.tags}>{p.tags.map((t) => (<View key={t} style={s.tag}><Text style={s.tagText}>{t}</Text></View>))}</View>\n          </View>\n        </View>\n      </View>\n      <View style={s.actions}>\n        <Pressable onPress={next} style={[s.act, s.pass]}><Text style={s.passIcon}>✕</Text></Pressable>\n        <Pressable onPress={next} style={[s.act, s.star]}><Text style={s.starIcon}>★</Text></Pressable>\n        <Pressable onPress={next} style={[s.act, s.like]}><Text style={s.likeIcon}>♥</Text></Pressable>\n      </View>\n    </SafeAreaView>\n  );\n}\n\nconst s = StyleSheet.create({\n  safe: { flex: 1, backgroundColor: '#120A0D' },\n  head: { flexDirection: 'row', alignItems: 'center', justifyContent: 'space-between', paddingTop: 58, paddingHorizontal: 24 },\n  logo: { color: '#FF4D67', fontSize: 26, fontWeight: '800', letterSpacing: -0.5 },\n  headIcon: { color: '#FF4D67', fontSize: 22 },\n  cardWrap: { flex: 1, paddingHorizontal: 22, paddingTop: 18, justifyContent: 'center' },\n  card: { backgroundColor: '#1B1015', borderRadius: 28, borderWidth: 1, overflow: 'hidden' },\n  photo: { height: 320, alignItems: 'center', justifyContent: 'center' },\n  photoEmoji: { fontSize: 130 },\n  info: { padding: 22 },\n  name: { color: '#fff', fontSize: 28, fontWeight: '800' },\n  age: { fontWeight: '400', color: '#E0CBD2' },\n  city: { color: '#C08A98', fontSize: 14, marginTop: 6 },\n  bio: { color: '#D8C2C9', fontSize: 16, marginTop: 14, lineHeight: 22 },\n  tags: { flexDirection: 'row', flexWrap: 'wrap', gap: 8, marginTop: 16 },\n  tag: { backgroundColor: '#2A1820', borderRadius: 14, paddingVertical: 7, paddingHorizontal: 13 },\n  tagText: { color: '#FF8FA0', fontSize: 13, fontWeight: '600' },\n  actions: { flexDirection: 'row', justifyContent: 'center', gap: 22, paddingBottom: 40, paddingTop: 10 },\n  act: { width: 66, height: 66, borderRadius: 33, alignItems: 'center', justifyContent: 'center' },\n  pass: { backgroundColor: '#241016', borderWidth: 2, borderColor: '#5A2630' },\n  passIcon: { color: '#FF7A8A', fontSize: 28, fontWeight: '800' },\n  star: { backgroundColor: '#1A1530', borderWidth: 2, borderColor: '#3A2F66', width: 54, height: 54, borderRadius: 27 },\n  starIcon: { color: '#8C7BFF', fontSize: 22 },\n  like: { backgroundColor: '#FF4D67' },\n  likeIcon: { color: '#fff', fontSize: 30 },\n});\n"},{"language":"swiftui","path":"DatingView.swift","type":"registry:page","target":"app/DatingView.swift","rawUrl":"https://api.vp0.com/designs/spark-dating/raw?language=swiftui&path=DatingView.swift","content":"import SwiftUI\n\nstruct DatingView: View {\n    @State private var index = 0\n    private let profiles = [\n        (name: \"Maya\", age: 27, emoji: \"🌸\", bio: \"Coffee, climbing, and bad puns.\", tags: [\"Climbing\", \"Film\", \"Ramen\"]),\n        (name: \"Theo\", age: 30, emoji: \"🎸\", bio: \"Plays guitar, collects vinyl.\", tags: [\"Music\", \"Vinyl\", \"Hiking\"])\n    ]\n    private var p: (name: String, age: Int, emoji: String, bio: String, tags: [String]) { profiles[index % profiles.count] }\n\n    var body: some View {\n        ZStack {\n            Color(red: 0.07, green: 0.04, blue: 0.05).ignoresSafeArea()\n            VStack {\n                Text(\"spark\").font(.system(size: 26, weight: .heavy))\n                    .foregroundColor(Color(red: 1, green: 0.3, blue: 0.4)).frame(maxWidth: .infinity, alignment: .leading).padding()\n\n                VStack(alignment: .leading, spacing: 0) {\n                    RoundedRectangle(cornerRadius: 0)\n                        .fill(Color(red: 1, green: 0.3, blue: 0.4).opacity(0.12))\n                        .frame(height: 280)\n                        .overlay(Text(p.emoji).font(.system(size: 110)))\n                    VStack(alignment: .leading, spacing: 10) {\n                        Text(\"\\(p.name), \\(p.age)\").font(.system(size: 26, weight: .heavy)).foregroundColor(.white)\n                        Text(p.bio).foregroundColor(Color(white: 0.8))\n                        HStack {\n                            ForEach(p.tags, id: \\.self) { t in\n                                Text(t).font(.footnote).padding(.vertical, 6).padding(.horizontal, 12)\n                                    .background(Color.white.opacity(0.08)).foregroundColor(Color(red: 1, green: 0.56, blue: 0.63)).cornerRadius(14)\n                            }\n                        }\n                    }.padding(18)\n                }\n                .background(Color.white.opacity(0.04)).cornerRadius(24).padding(.horizontal, 18)\n\n                Spacer()\n                HStack(spacing: 28) {\n                    Button { index += 1 } label: {\n                        Image(systemName: \"xmark\").font(.title).foregroundColor(Color(red: 1, green: 0.48, blue: 0.54))\n                            .frame(width: 64, height: 64).background(Color.white.opacity(0.06)).clipShape(Circle())\n                    }\n                    Button { index += 1 } label: {\n                        Image(systemName: \"heart.fill\").font(.title).foregroundColor(.white)\n                            .frame(width: 64, height: 64).background(Color(red: 1, green: 0.3, blue: 0.4)).clipShape(Circle())\n                    }\n                }.padding(.bottom, 40)\n            }\n        }\n    }\n}\n\n#Preview { DatingView() }\n"}],"assets":[{"kind":"cover","url":"https://storage.vp0.com/vp0/covers/f15e97c0-b469-4062-9ffb-f9eb4aa84f50/88ddbc08-8dff-4d7a-9620-3795c9f93c34/full.webp","width":1206,"height":2622,"lqip":"CCgGAwIYiQe3gnmsdqtwkwk=","variants":{"avif":"https://storage.vp0.com/vp0/covers/f15e97c0-b469-4062-9ffb-f9eb4aa84f50/88ddbc08-8dff-4d7a-9620-3795c9f93c34/avif.avif","card":"https://storage.vp0.com/vp0/covers/f15e97c0-b469-4062-9ffb-f9eb4aa84f50/88ddbc08-8dff-4d7a-9620-3795c9f93c34/card.webp","full":"https://storage.vp0.com/vp0/covers/f15e97c0-b469-4062-9ffb-f9eb4aa84f50/88ddbc08-8dff-4d7a-9620-3795c9f93c34/full.webp","thumb":"https://storage.vp0.com/vp0/covers/f15e97c0-b469-4062-9ffb-f9eb4aa84f50/88ddbc08-8dff-4d7a-9620-3795c9f93c34/thumb.webp","light_avif":"https://storage.vp0.com/vp0/covers/f15e97c0-b469-4062-9ffb-f9eb4aa84f50/74977680-95b5-4aff-a4f7-9bf727dd66fa/avif.avif","light_card":"https://storage.vp0.com/vp0/covers/f15e97c0-b469-4062-9ffb-f9eb4aa84f50/74977680-95b5-4aff-a4f7-9bf727dd66fa/card.webp","light_full":"https://storage.vp0.com/vp0/covers/f15e97c0-b469-4062-9ffb-f9eb4aa84f50/74977680-95b5-4aff-a4f7-9bf727dd66fa/full.webp","light_thumb":"https://storage.vp0.com/vp0/covers/f15e97c0-b469-4062-9ffb-f9eb4aa84f50/74977680-95b5-4aff-a4f7-9bf727dd66fa/thumb.webp"}},{"kind":"screenshot","url":"https://storage.vp0.com/vp0/screens/f15e97c0-b469-4062-9ffb-f9eb4aa84f50/edba0f1d-4e08-45c8-9030-9be70b5fe183/screen-0.png","width":1206,"height":2622,"alt":"(root)","lqip":"CCgGAwIYiQe3gnmsdqtwkwk="},{"kind":"screenshot","url":"https://storage.vp0.com/vp0/screens/f15e97c0-b469-4062-9ffb-f9eb4aa84f50/edba0f1d-4e08-45c8-9030-9be70b5fe183/screen-1.png","width":1206,"height":2622,"alt":"view-2","lqip":"xxcGCwA4iAemknmaaIN/QDs="},{"kind":"screenshot","url":"https://storage.vp0.com/vp0/screens/f15e97c0-b469-4062-9ffb-f9eb4aa84f50/edba0f1d-4e08-45c8-9030-9be70b5fe183/screen-2.png","width":1206,"height":2622,"alt":"view-3","lqip":"SCgGEwIoiQe3gXirR4tggAo="},{"kind":"video","url":"https://storage.vp0.com/vp0/clips/36/91e14044-9bb8-4a48-9859-a427291e9894/clip.mp4","variants":{"mp4":"https://storage.vp0.com/vp0/clips/36/91e14044-9bb8-4a48-9859-a427291e9894/clip.mp4","webm":"https://storage.vp0.com/vp0/clips/36/91e14044-9bb8-4a48-9859-a427291e9894/clip.webm","poster":"https://storage.vp0.com/vp0/clips/36/91e14044-9bb8-4a48-9859-a427291e9894/poster.jpg"}}],"screens":[{"name":"(root)","image":"https://storage.vp0.com/vp0/screens/f15e97c0-b469-4062-9ffb-f9eb4aa84f50/edba0f1d-4e08-45c8-9030-9be70b5fe183/screen-0.png","order":0},{"name":"view-2","image":"https://storage.vp0.com/vp0/screens/f15e97c0-b469-4062-9ffb-f9eb4aa84f50/edba0f1d-4e08-45c8-9030-9be70b5fe183/screen-1.png","order":1},{"name":"view-3","image":"https://storage.vp0.com/vp0/screens/f15e97c0-b469-4062-9ffb-f9eb4aa84f50/edba0f1d-4e08-45c8-9030-9be70b5fe183/screen-2.png","order":2}],"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/spark-dating","manifestUrl":"https://api.vp0.com/designs/spark-dating/manifest","installCommand":null,"aiInstructions":"This is an iOS app UI starter for Expo React Native (\"Spark — Dating\").\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\n   - DatingView.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.","promptText":"Build this iOS app design in my project: \"Spark — Dating\" — A swipeable profile stack with like and pass, the classic dating flow..\n1. Fetch https://api.vp0.com/designs/spark-dating/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/spark-dating"}