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.

    Shelf — Reading

    templateiosby @vp0

    Track what you are reading with progress and a yearly book goal.

    #Education #Minimal #Editorial

    Works withClaude CodeCursorRorkLovablev0& any AI coding agent
    https://vp0.com/source/shelf-reading
    npx vp0com add shelf-reading --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: "Shelf — Reading" — Track what you are reading with progress and a yearly book goal.. 1. Fetch https://api.vp0.com/designs/shelf-reading/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/shelf-reading

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

    Shelf — Reading preview 1

    Code · 1 file

    React Native
    Download .zip
    App.tsx
    raw
    import React from 'react';
    import { View, Text, ScrollView, StyleSheet, SafeAreaView } from 'react-native';
    
    const BOOKS = [
      { title: 'The Overstory', author: 'R. Powers', pct: 64, c: '#3E6B4F' },
      { title: 'Project Hail Mary', author: 'A. Weir', pct: 28, c: '#2D4A7A' },
      { title: 'Klara and the Sun', author: 'K. Ishiguro', pct: 91, c: '#7A4A2D' },
    ];
    
    export default function App() {
      return (
        <SafeAreaView style={s.safe}>
          <ScrollView contentContainerStyle={s.scroll} showsVerticalScrollIndicator={false}>
            <Text style={s.kicker}>2026 READING</Text>
            <Text style={s.h1}>Currently reading</Text>
            <View style={s.goal}>
              <Text style={s.goalN}>18 / 30</Text>
              <Text style={s.goalL}>books this year</Text>
              <View style={s.track}><View style={[s.fill, { width: '60%' }]} /></View>
            </View>
            {BOOKS.map((b) => (
              <View key={b.title} style={s.row}>
                <View style={[s.cover, { backgroundColor: b.c }]}><Text style={s.coverEmoji}>📖</Text></View>
                <View style={{ flex: 1, marginLeft: 16 }}>
                  <Text style={s.title}>{b.title}</Text>
                  <Text style={s.author}>{b.author}</Text>
                  <View style={s.miniTrack}><View style={[s.miniFill, { width: b.pct + '%' }]} /></View>
                  <Text style={s.pct}>{b.pct}%</Text>
                </View>
              </View>
            ))}
          </ScrollView>
        </SafeAreaView>
      );
    }
    
    const s = StyleSheet.create({
      safe: { flex: 1, backgroundColor: '#0F0D08' },
      scroll: { padding: 22, paddingTop: 60 },
      kicker: { color: '#E8B04B', fontSize: 12, fontWeight: '700', letterSpacing: 2 },
      h1: { color: '#fff', fontSize: 30, fontWeight: '800', marginTop: 4, marginBottom: 22 },
      goal: { backgroundColor: '#181308', borderRadius: 20, padding: 20, marginBottom: 24 },
      goalN: { color: '#fff', fontSize: 30, fontWeight: '800' },
      goalL: { color: '#A8915A', fontSize: 14, marginTop: 2, marginBottom: 14 },
      track: { height: 10, borderRadius: 5, backgroundColor: '#2A2110', overflow: 'hidden' },
      fill: { height: '100%', backgroundColor: '#E8B04B', borderRadius: 5 },
      row: { flexDirection: 'row', marginBottom: 20 },
      cover: { width: 64, height: 92, borderRadius: 10, alignItems: 'center', justifyContent: 'center' },
      coverEmoji: { fontSize: 30 },
      title: { color: '#F2E9D6', fontSize: 17, fontWeight: '700' },
      author: { color: '#A8915A', fontSize: 14, marginTop: 3, marginBottom: 10 },
      miniTrack: { height: 6, borderRadius: 3, backgroundColor: '#2A2110', overflow: 'hidden' },
      miniFill: { height: '100%', backgroundColor: '#E8B04B', borderRadius: 3 },
      pct: { color: '#A8915A', fontSize: 12, marginTop: 6 },
    });
    

    Machine endpoints

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