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.

    Wave — Music Player

    templateiosby @vp0

    A now-playing screen with album art, scrubber, and playback controls.

    #Dark #Music #Media

    Works withClaude CodeCursorRorkLovablev0& any AI coding agent
    https://vp0.com/source/wave-music-player
    npx vp0com add wave-music-player --target react-native
    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: "Wave — Music Player" — A now-playing screen with album art, scrubber, and playback controls.. 1. Fetch https://api.vp0.com/designs/wave-music-player/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/wave-music-player

    Integration steps
    This is an iOS app UI starter for Expo React Native ("Wave — Music Player").
    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
       - MusicPlayerView.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

    Wave — Music Player preview 1

    Code · 1 file

    Download .zip
    App.tsx
    raw
    import React, { useState } from 'react';
    import { View, Text, Pressable, StyleSheet, SafeAreaView } from 'react-native';
    
    export default function App() {
      const [playing, setPlaying] = useState(true);
      const [liked, setLiked] = useState(false);
      return (
        <SafeAreaView style={s.safe}>
          <View style={s.top}>
            <Text style={s.topLabel}>PLAYING FROM</Text>
            <Text style={s.topName}>Late Night Drive</Text>
          </View>
          <View style={s.artWrap}>
            <View style={s.art}><Text style={s.artEmoji}>🌌</Text></View>
          </View>
          <View style={s.meta}>
            <View style={{ flex: 1 }}>
              <Text style={s.song}>Midnight City</Text>
              <Text style={s.artist}>Neon Coast</Text>
            </View>
            <Pressable onPress={() => setLiked((l) => !l)}><Text style={s.heart}>{liked ? '❤️' : '🤍'}</Text></Pressable>
          </View>
          <View style={s.scrub}><View style={s.scrubFill} /><View style={s.knob} /></View>
          <View style={s.times}><Text style={s.time}>1:42</Text><Text style={s.time}>3:58</Text></View>
          <View style={s.controls}>
            <Text style={s.ctrlSm}>🔀</Text>
            <Text style={s.ctrl}>⏮</Text>
            <Pressable onPress={() => setPlaying((p) => !p)} style={s.play}>
              <Text style={s.playIcon}>{playing ? '⏸' : '▶'}</Text>
            </Pressable>
            <Text style={s.ctrl}>⏭</Text>
            <Text style={s.ctrlSm}>🔁</Text>
          </View>
        </SafeAreaView>
      );
    }
    
    const s = StyleSheet.create({
      safe: { flex: 1, backgroundColor: '#0C0814' },
      top: { paddingTop: 60, alignItems: 'center' },
      topLabel: { color: '#9A7FC9', fontSize: 11, fontWeight: '700', letterSpacing: 2 },
      topName: { color: '#fff', fontSize: 16, fontWeight: '600', marginTop: 4 },
      artWrap: { alignItems: 'center', marginTop: 34 },
      art: { width: 300, height: 300, borderRadius: 28, backgroundColor: '#1C1230', alignItems: 'center', justifyContent: 'center' },
      artEmoji: { fontSize: 120 },
      meta: { flexDirection: 'row', alignItems: 'center', paddingHorizontal: 30, marginTop: 40 },
      song: { color: '#fff', fontSize: 26, fontWeight: '800' },
      artist: { color: '#9A7FC9', fontSize: 17, marginTop: 4 },
      heart: { fontSize: 26 },
      scrub: { height: 5, borderRadius: 3, backgroundColor: '#241934', marginHorizontal: 30, marginTop: 30, justifyContent: 'center' },
      scrubFill: { position: 'absolute', left: 0, width: '43%', height: 5, borderRadius: 3, backgroundColor: '#A855F7' },
      knob: { position: 'absolute', left: '43%', width: 14, height: 14, borderRadius: 7, backgroundColor: '#fff' },
      times: { flexDirection: 'row', justifyContent: 'space-between', paddingHorizontal: 30, marginTop: 12 },
      time: { color: '#7A6699', fontSize: 13 },
      controls: { flexDirection: 'row', alignItems: 'center', justifyContent: 'space-between', paddingHorizontal: 40, marginTop: 36 },
      ctrl: { fontSize: 34, color: '#fff' },
      ctrlSm: { fontSize: 22 },
      play: { width: 76, height: 76, borderRadius: 38, backgroundColor: '#A855F7', alignItems: 'center', justifyContent: 'center' },
      playIcon: { fontSize: 30, color: '#fff' },
    });
    

    Machine endpoints

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