{"$schema":"https://api.vp0.com/schema/vp0-bundle.v1.json","schemaVersion":"vp0-bundle.v1","id":"vp0.still-breathe","title":"Still — Breathe","type":"registry:block","version":"1.0.0","author":"@vp0","categories":["Meditation"],"styleTags":["Dark","Animation","Calm"],"category":"Meditation","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:39:25.002Z","updatedAt":"2026-05-25T19:39:25.002Z","installHints":{"defaultTarget":"react-native","mcp":"claude mcp add vp0 -- npx -y vp0-mcp","shadcn":"npx shadcn@latest add https://api.vp0.com/r/still-breathe.json","cli":"npx vp0com add still-breathe --target react-native","openInV0":"https://v0.dev/chat/api/open?url=https://api.vp0.com/r/still-breathe.json","downloadExpo":"https://api.vp0.com/export/still-breathe/expo.zip"},"sourceHash":"sha256:4424abd468f59fde1a9b182c9e87ec734afa5fe44878067aaffb06616b1a4181","meta":{"com.vp0.contentId":"d0d471fb-68be-48f2-b789-b2b31f045a02","com.vp0.platform":"ios","com.vp0.availableLanguages":["react-native"],"com.vp0.defaultLanguage":"react-native","com.vp0.contentType":"template","com.vp0.kind":"app_template","com.vp0.category":"Meditation","com.vp0.sourceToken":"vp0_0bc7cda56ef9ad38690dbb74","com.vp0.sourceHash":"sha256:4424abd468f59fde1a9b182c9e87ec734afa5fe44878067aaffb06616b1a4181","com.vp0.simulator":{"target":"react-native","entrypoint":"App.tsx","simulatable":true,"buildStatus":null,"embedUrl":null,"provider":null}},"name":"still-breathe","slug":"still-breathe","sourceToken":"vp0_0bc7cda56ef9ad38690dbb74","contentType":"template","platform":"ios","description":"A guided breathing companion with a soft expanding orb and timed sessions.","createdBy":"vp0","tags":["Dark","Animation","Meditation","Calm"],"availableLanguages":["react-native"],"defaultLanguage":"react-native","targets":[{"name":"react-native","entrypoint":"App.tsx"}],"files":[{"language":"react-native","path":"App.tsx","type":"registry:page","target":"app/App.tsx","rawUrl":"https://api.vp0.com/designs/still-breathe/raw?language=react-native&path=App.tsx","content":"import React, { useEffect, useRef, useState } from 'react';\nimport { View, Text, Pressable, StyleSheet, SafeAreaView, Animated, Easing } from 'react-native';\n\nexport default function App() {\n  const scale = useRef(new Animated.Value(0.55)).current;\n  const [running, setRunning] = useState(true);\n  const [phase, setPhase] = useState('Breathe in');\n\n  useEffect(() => {\n    let mounted = true;\n    const cycle = () => {\n      if (!mounted) return;\n      setPhase('Breathe in');\n      Animated.timing(scale, { toValue: 1, duration: 4000, easing: Easing.inOut(Easing.ease), useNativeDriver: false }).start(() => {\n        if (!mounted) return;\n        setPhase('Hold');\n        Animated.timing(scale, { toValue: 1, duration: 1500, easing: Easing.linear, useNativeDriver: false }).start(() => {\n          if (!mounted) return;\n          setPhase('Breathe out');\n          Animated.timing(scale, { toValue: 0.55, duration: 4000, easing: Easing.inOut(Easing.ease), useNativeDriver: false }).start(() => mounted && cycle());\n        });\n      });\n    };\n    if (running) cycle();\n    return () => { mounted = false; scale.stopAnimation(); };\n  }, [running]);\n\n  return (\n    <SafeAreaView style={s.safe}>\n      <View style={s.header}>\n        <Text style={s.kicker}>EVENING CALM</Text>\n        <Text style={s.h1}>4-7-8 Breathing</Text>\n      </View>\n      <View style={s.center}>\n        <View style={s.glow}>\n          <Animated.View style={[s.orb, { transform: [{ scale }] }]}>\n            <View style={s.orbInner} />\n          </Animated.View>\n        </View>\n        <Text style={s.phase}>{phase}</Text>\n      </View>\n      <View style={s.footer}>\n        <View style={s.stats}>\n          <View style={s.stat}><Text style={s.statN}>3:00</Text><Text style={s.statL}>session</Text></View>\n          <View style={s.stat}><Text style={s.statN}>12</Text><Text style={s.statL}>day streak</Text></View>\n        </View>\n        <Pressable onPress={() => setRunning((r) => !r)} style={({ pressed }) => [s.btn, pressed && { opacity: 0.8 }]}>\n          <Text style={s.btnText}>{running ? 'Pause' : 'Resume'}</Text>\n        </Pressable>\n      </View>\n    </SafeAreaView>\n  );\n}\n\nconst s = StyleSheet.create({\n  safe: { flex: 1, backgroundColor: '#05181C' },\n  header: { paddingTop: 64, paddingHorizontal: 26, alignItems: 'center' },\n  kicker: { color: '#3FB8AF', fontSize: 12, fontWeight: '700', letterSpacing: 2 },\n  h1: { color: '#EAFBF9', fontSize: 26, fontWeight: '800', marginTop: 6 },\n  center: { flex: 1, alignItems: 'center', justifyContent: 'center' },\n  glow: { width: 260, height: 260, borderRadius: 130, backgroundColor: 'rgba(63,184,175,0.08)', alignItems: 'center', justifyContent: 'center' },\n  orb: { width: 220, height: 220, borderRadius: 110, backgroundColor: 'rgba(63,184,175,0.18)', alignItems: 'center', justifyContent: 'center' },\n  orbInner: { width: 140, height: 140, borderRadius: 70, backgroundColor: 'rgba(63,184,175,0.42)' },\n  phase: { color: '#EAFBF9', fontSize: 22, fontWeight: '600', marginTop: 40, letterSpacing: 0.5 },\n  footer: { paddingHorizontal: 26, paddingBottom: 40 },\n  stats: { flexDirection: 'row', justifyContent: 'center', gap: 48, marginBottom: 22 },\n  stat: { alignItems: 'center' },\n  statN: { color: '#EAFBF9', fontSize: 20, fontWeight: '700' },\n  statL: { color: '#5E8A88', fontSize: 12, marginTop: 2 },\n  btn: { backgroundColor: '#3FB8AF', borderRadius: 30, paddingVertical: 17, alignItems: 'center' },\n  btnText: { color: '#04221F', fontSize: 17, fontWeight: '800' },\n});\n"}],"assets":[{"kind":"cover","url":"https://storage.vp0.com/vp0/covers/d0d471fb-68be-48f2-b789-b2b31f045a02/ecb59dcc-d9f4-40da-b65f-9d2cdeec9efe/full.webp","width":1206,"height":2622,"lqip":"R8cFAwIYcNiHgH92x39z/Dc=","variants":{"avif":"https://storage.vp0.com/vp0/covers/d0d471fb-68be-48f2-b789-b2b31f045a02/ecb59dcc-d9f4-40da-b65f-9d2cdeec9efe/avif.avif","card":"https://storage.vp0.com/vp0/covers/d0d471fb-68be-48f2-b789-b2b31f045a02/ecb59dcc-d9f4-40da-b65f-9d2cdeec9efe/card.webp","full":"https://storage.vp0.com/vp0/covers/d0d471fb-68be-48f2-b789-b2b31f045a02/ecb59dcc-d9f4-40da-b65f-9d2cdeec9efe/full.webp","thumb":"https://storage.vp0.com/vp0/covers/d0d471fb-68be-48f2-b789-b2b31f045a02/ecb59dcc-d9f4-40da-b65f-9d2cdeec9efe/thumb.webp","light_avif":"https://storage.vp0.com/vp0/covers/d0d471fb-68be-48f2-b789-b2b31f045a02/f6e6f2e0-7fdc-41d6-ac04-ef8a1e1236fd/avif.avif","light_card":"https://storage.vp0.com/vp0/covers/d0d471fb-68be-48f2-b789-b2b31f045a02/f6e6f2e0-7fdc-41d6-ac04-ef8a1e1236fd/card.webp","light_full":"https://storage.vp0.com/vp0/covers/d0d471fb-68be-48f2-b789-b2b31f045a02/f6e6f2e0-7fdc-41d6-ac04-ef8a1e1236fd/full.webp","light_thumb":"https://storage.vp0.com/vp0/covers/d0d471fb-68be-48f2-b789-b2b31f045a02/f6e6f2e0-7fdc-41d6-ac04-ef8a1e1236fd/thumb.webp"}},{"kind":"video","url":"https://storage.vp0.com/vp0/clips/2/beb55e8a-73cd-4ceb-80f3-54ecbc98b1e8/clip.mp4","variants":{"mp4":"https://storage.vp0.com/vp0/clips/2/beb55e8a-73cd-4ceb-80f3-54ecbc98b1e8/clip.mp4","webm":"https://storage.vp0.com/vp0/clips/2/beb55e8a-73cd-4ceb-80f3-54ecbc98b1e8/clip.webm","poster":"https://storage.vp0.com/vp0/clips/2/beb55e8a-73cd-4ceb-80f3-54ecbc98b1e8/poster.jpg"}}],"screens":[],"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/still-breathe","manifestUrl":"https://api.vp0.com/designs/still-breathe/manifest","installCommand":null,"aiInstructions":"This is an iOS app UI starter for Expo React Native (\"Still — Breathe\").\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\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: \"Still — Breathe\" — A guided breathing companion with a soft expanding orb and timed sessions..\n1. Fetch https://api.vp0.com/designs/still-breathe/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/still-breathe"}