{"$schema":"https://api.vp0.com/schema/vp0-bundle.v1.json","schemaVersion":"vp0-bundle.v1","id":"vp0.forma-tasks","title":"Forma — Tasks","type":"registry:block","version":"1.0.0","author":"@vp0","categories":["Tasks"],"styleTags":["Dark","Minimal"],"category":"Tasks","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-25T19:40:49.411Z","updatedAt":"2026-05-25T19:40:49.411Z","installHints":{"defaultTarget":"react-native","mcp":"claude mcp add vp0 -- npx -y vp0-mcp","shadcn":"npx shadcn@latest add https://api.vp0.com/r/forma-tasks.json","cli":"npx vp0 add forma-tasks --target react-native","openInV0":"https://v0.dev/chat/api/open?url=https://api.vp0.com/r/forma-tasks.json"},"sourceHash":"sha256:c56e9365475b5dd418cb88bf26c00896e0c7d0cbd08fa3d514da496fc2091357","meta":{"com.vp0.contentId":"6e7834f1-c84d-4189-bd46-a0d8b7aaf8f6","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":"Tasks","com.vp0.sourceToken":"vp0_f631e6ca17d1a1d4fcaf9b3f","com.vp0.sourceHash":"sha256:c56e9365475b5dd418cb88bf26c00896e0c7d0cbd08fa3d514da496fc2091357","com.vp0.simulator":{"target":"react-native","entrypoint":"App.tsx","simulatable":true,"buildStatus":null,"embedUrl":null,"provider":null}},"name":"forma-tasks","slug":"forma-tasks","sourceToken":"vp0_f631e6ca17d1a1d4fcaf9b3f","contentType":"template","platform":"ios","description":"A clean to-do list grouped by section with priorities and a progress header.","createdBy":"vp0","tags":["Dark","Tasks","Minimal"],"availableLanguages":["react-native","swiftui"],"defaultLanguage":"react-native","targets":[{"name":"react-native","entrypoint":"App.tsx"},{"name":"swiftui","entrypoint":"TasksView.swift"}],"files":[{"language":"react-native","path":"App.tsx","type":"registry:page","target":"app/App.tsx","rawUrl":"https://api.vp0.com/designs/forma-tasks/raw?language=react-native&path=App.tsx","content":"import React, { useState } from 'react';\nimport { View, Text, ScrollView, Pressable, StyleSheet, SafeAreaView } from 'react-native';\n\nconst INIT = [\n  { id: 1, group: 'Today', text: 'Ship the landing page', pri: 'high', done: false },\n  { id: 2, group: 'Today', text: 'Review pull requests', pri: 'med', done: false },\n  { id: 3, group: 'Today', text: 'Reply to Dana', pri: 'low', done: true },\n  { id: 4, group: 'Upcoming', text: 'Plan Q3 roadmap', pri: 'med', done: false },\n  { id: 5, group: 'Upcoming', text: 'Book dentist', pri: 'low', done: false },\n];\nconst PRI = { high: '#FF5C5C', med: '#FFB020', low: '#5CCB6A' };\n\nexport default function App() {\n  const [items, setItems] = useState(INIT);\n  const done = items.filter((i) => i.done).length;\n  const toggle = (id) => setItems((xs) => xs.map((x) => (x.id === id ? { ...x, done: !x.done } : x)));\n  const groups = ['Today', 'Upcoming'];\n  return (\n    <SafeAreaView style={s.safe}>\n      <ScrollView contentContainerStyle={s.scroll} showsVerticalScrollIndicator={false}>\n        <Text style={s.kicker}>TASKS</Text>\n        <Text style={s.h1}>{done} of {items.length} done</Text>\n        <View style={s.track}><View style={[s.fill, { width: (done / items.length * 100) + '%' }]} /></View>\n        {groups.map((g) => (\n          <View key={g}>\n            <Text style={s.section}>{g}</Text>\n            {items.filter((i) => i.group === g).map((i) => (\n              <Pressable key={i.id} onPress={() => toggle(i.id)} style={s.row}>\n                <View style={[s.check, i.done && s.checkOn]}>{i.done ? <Text style={s.checkM}>✓</Text> : null}</View>\n                <Text style={[s.text, i.done && s.textDone]}>{i.text}</Text>\n                <View style={[s.dot, { backgroundColor: PRI[i.pri] }]} />\n              </Pressable>\n            ))}\n          </View>\n        ))}\n      </ScrollView>\n    </SafeAreaView>\n  );\n}\n\nconst s = StyleSheet.create({\n  safe: { flex: 1, backgroundColor: '#0B0B12' },\n  scroll: { padding: 22, paddingTop: 60 },\n  kicker: { color: '#818CF8', fontSize: 12, fontWeight: '700', letterSpacing: 2 },\n  h1: { color: '#fff', fontSize: 30, fontWeight: '800', marginTop: 4, marginBottom: 16 },\n  track: { height: 8, borderRadius: 4, backgroundColor: '#1C1C28', overflow: 'hidden' },\n  fill: { height: '100%', backgroundColor: '#6366F1', borderRadius: 4 },\n  section: { color: '#8A8A99', fontSize: 13, fontWeight: '700', letterSpacing: 1, marginTop: 26, marginBottom: 10, textTransform: 'uppercase' },\n  row: { flexDirection: 'row', alignItems: 'center', backgroundColor: '#13131C', borderRadius: 14, padding: 16, marginBottom: 10 },\n  check: { width: 26, height: 26, borderRadius: 8, borderWidth: 2, borderColor: '#33333E', alignItems: 'center', justifyContent: 'center', marginRight: 14 },\n  checkOn: { backgroundColor: '#6366F1', borderColor: '#6366F1' },\n  checkM: { color: '#fff', fontWeight: '900', fontSize: 14 },\n  text: { color: '#EDEDF2', fontSize: 16, fontWeight: '500', flex: 1 },\n  textDone: { color: '#5A5A66', textDecorationLine: 'line-through' },\n  dot: { width: 10, height: 10, borderRadius: 5, marginLeft: 10 },\n});\n"},{"language":"swiftui","path":"TasksView.swift","type":"registry:page","target":"app/TasksView.swift","rawUrl":"https://api.vp0.com/designs/forma-tasks/raw?language=swiftui&path=TasksView.swift","content":"import SwiftUI\n\nstruct TaskItem: Identifiable { let id = UUID(); let text: String; let group: String; var done: Bool }\n\nstruct TasksView: View {\n    @State private var items: [TaskItem] = [\n        .init(text: \"Ship the landing page\", group: \"Today\", done: false),\n        .init(text: \"Review pull requests\", group: \"Today\", done: false),\n        .init(text: \"Reply to Dana\", group: \"Today\", done: true),\n        .init(text: \"Plan Q3 roadmap\", group: \"Upcoming\", done: false),\n        .init(text: \"Book dentist\", group: \"Upcoming\", done: false)\n    ]\n    private var done: Int { items.filter(\\.done).count }\n\n    var body: some View {\n        ZStack {\n            Color(red: 0.04, green: 0.04, blue: 0.07).ignoresSafeArea()\n            ScrollView {\n                VStack(alignment: .leading, spacing: 16) {\n                    Text(\"TASKS\").font(.caption).bold().foregroundColor(Color(red: 0.39, green: 0.4, blue: 0.95))\n                    Text(\"\\(done) of \\(items.count) done\").font(.system(size: 30, weight: .heavy)).foregroundColor(.white)\n                    ProgressView(value: Double(done), total: Double(items.count))\n                        .tint(Color(red: 0.39, green: 0.4, blue: 0.95))\n\n                    ForEach([\"Today\", \"Upcoming\"], id: \\.self) { group in\n                        Text(group.uppercased()).font(.caption).bold().foregroundColor(.gray).padding(.top, 10)\n                        ForEach($items) { $item in\n                            if item.group == group {\n                                Button { item.done.toggle() } label: {\n                                    HStack {\n                                        Image(systemName: item.done ? \"checkmark.square.fill\" : \"square\")\n                                            .foregroundColor(item.done ? Color(red: 0.39, green: 0.4, blue: 0.95) : .gray)\n                                        Text(item.text)\n                                            .strikethrough(item.done)\n                                            .foregroundColor(item.done ? .gray : .white)\n                                        Spacer()\n                                    }\n                                    .padding(14)\n                                    .background(Color.white.opacity(0.04)).cornerRadius(14)\n                                }\n                            }\n                        }\n                    }\n                }\n                .padding(22)\n            }\n        }\n    }\n}\n\n#Preview { TasksView() }\n"}],"assets":[{"kind":"cover","url":"https://storage.vp0.com/vp0/covers/6e7834f1-c84d-4189-bd46-a0d8b7aaf8f6/0774b034-ef84-4439-8bb4-c80f5d01d98a/full.webp","width":804,"height":1748,"lqip":"xQcCAwBtvyeIhYd0UEIbyZA=","variants":{"avif":"https://storage.vp0.com/vp0/covers/6e7834f1-c84d-4189-bd46-a0d8b7aaf8f6/0774b034-ef84-4439-8bb4-c80f5d01d98a/avif.avif","card":"https://storage.vp0.com/vp0/covers/6e7834f1-c84d-4189-bd46-a0d8b7aaf8f6/0774b034-ef84-4439-8bb4-c80f5d01d98a/card.webp","full":"https://storage.vp0.com/vp0/covers/6e7834f1-c84d-4189-bd46-a0d8b7aaf8f6/0774b034-ef84-4439-8bb4-c80f5d01d98a/full.webp","thumb":"https://storage.vp0.com/vp0/covers/6e7834f1-c84d-4189-bd46-a0d8b7aaf8f6/0774b034-ef84-4439-8bb4-c80f5d01d98a/thumb.webp"}},{"kind":"video","url":"https://storage.vp0.com/vp0/clips/24/61b4c7e2-d175-45a7-8e46-db08a8874e2b/clip.mp4","variants":{"mp4":"https://storage.vp0.com/vp0/clips/24/61b4c7e2-d175-45a7-8e46-db08a8874e2b/clip.mp4","webm":"https://storage.vp0.com/vp0/clips/24/61b4c7e2-d175-45a7-8e46-db08a8874e2b/clip.webm","poster":"https://storage.vp0.com/vp0/clips/24/61b4c7e2-d175-45a7-8e46-db08a8874e2b/poster.jpg"}}],"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/forma-tasks","manifestUrl":"https://api.vp0.com/designs/forma-tasks/manifest","installCommand":null,"aiInstructions":"This is an iOS app UI starter for Expo React Native (\"Forma — Tasks\").\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   - TasksView.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":"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/forma-tasks (machine-readable JSON manifest: https://api.vp0.com/designs/forma-tasks/manifest). Design: \"Forma — Tasks\" — A clean to-do list grouped by section with priorities and a progress header.. Match the layout and styling exactly; it's an iOS UI starter, so add my own data/logic afterward."}