React Native Vibe Code SDK
Packages

Starter Kit

Complete Expo starter template with 67+ packages for AI-powered mobile development

Quick Start

Clone the starter kit:

git clone https://github.com/anthropics/react-native-vibe-code.git
cd react-native-vibe-code/packages/sandbox/local-expo-app
npm install
npx expo start

Or copy just the starter app using degit:

npx degit anthropics/react-native-vibe-code/packages/sandbox/local-expo-app my-app
cd my-app
npm install
npx expo start

What's Included

Core Stack

  • Expo SDK 54 - Latest stable Expo with New Architecture enabled
  • React 19.1.0 - Latest React with improved performance
  • React Native 0.81.4 - Latest stable React Native
  • TypeScript - Full type safety
  • Expo Router - File-based routing

Pre-installed Packages (67+)

Expo Modules (26)

PackageDescription
expo-routerFile-based routing
expo-cameraCamera access
expo-avAudio/video playback
expo-imageHigh-performance images
expo-image-pickerPick images/videos
expo-image-manipulatorImage processing
expo-blurBlur effects
expo-clipboardClipboard operations
expo-constantsApp constants
expo-contactsDevice contacts
expo-cryptoCryptographic functions
expo-deviceDevice information
expo-document-pickerFile picker
expo-fontCustom fonts
expo-glOpenGL rendering
expo-hapticsHaptic feedback
expo-linear-gradientGradient backgrounds
expo-linkingURL handling
expo-locationGeolocation
expo-secure-storeSecure storage
expo-sensorsDevice sensors
expo-splash-screenSplash screen
expo-status-barStatus bar control
expo-symbolsSF Symbols (iOS)
expo-system-uiSystem UI config
expo-web-browserIn-app browser
expo-auth-sessionOAuth sessions
PackageDescription
@react-navigation/nativeCore navigation
@react-navigation/bottom-tabsBottom tab navigator
@react-navigation/elementsNavigation UI elements

AI & Backend Integration

PackageDescription
aiVercel AI SDK core
@ai-sdk/reactAI SDK React hooks
@ai-sdk/ui-utilsAI SDK utilities
@better-auth/expoAuthentication for Expo
convexReal-time backend

State Management

PackageDescription
@tanstack/react-queryData fetching/caching
@nkzw/create-context-hookType-safe context
@react-native-async-storage/async-storageAsync storage
@react-native-community/netinfoNetwork info

UI Components

PackageDescription
lucide-react-nativeIcon library (500+ icons)
@expo/vector-iconsPopular icon sets
@expo-google-fonts/devGoogle Fonts
sonner-nativeToast notifications
@radix-ui/react-dialogAccessible dialogs
pusher-jsReal-time updates

React Native Core

PackageDescription
react-native-gesture-handlerGesture handling
react-native-reanimatedHigh-performance animations
react-native-reanimated-carouselCarousel component
react-native-safe-area-contextSafe area handling
react-native-screensNative screen containers
react-native-svgSVG rendering
react-native-webWeb support
react-native-webviewWebView component
react-native-workletsWorklets support
react-native-graphCharts and graphs
react-native-calendarsCalendar UI
react-responsiveResponsive design

Utilities

PackageDescription
date-fnsDate utilities
zodSchema validation
lodashUtility functions

Project Structure

local-expo-app/
├── app/                    # Expo Router pages
│   ├── _layout.tsx         # Root layout
│   ├── index.tsx           # Home screen
│   └── +not-found.tsx      # 404 page
├── assets/                 # Static assets
│   ├── fonts/              # Custom fonts
│   └── images/             # Images and icons
├── contexts/               # React contexts
│   ├── AuthContext.tsx     # Authentication context
│   └── ReloadContext.tsx   # Hot reload context
├── features/               # Feature modules
│   ├── floating-chat/      # Floating chat UI
│   └── element-edition/    # Visual element editing
├── hooks/                  # Custom React hooks
├── app.json                # Expo configuration
├── babel.config.js         # Babel configuration
└── tsconfig.json           # TypeScript configuration

Features

File-Based Routing

Next.js-style routing with Expo Router. Create a file in app/ and it becomes a route.

AI Integration Ready

Pre-configured with Vercel AI SDK for adding:

  • Chat interfaces
  • Text completions
  • Image generation
  • Speech-to-text

Real-Time Backend

Convex integration for:

  • Real-time data sync
  • Serverless functions
  • Database with reactive queries

Visual Editing

Built-in support for visual element selection and editing through the floating chat interface.

Cross-Platform

Runs on:

  • iOS (Expo Go or development build)
  • Android (Expo Go or development build)
  • Web (React Native Web)

Expo Go Compatible

Works instantly in Expo Go - no native build required for development.

Development Commands

# Start development server
npx expo start

# Run on iOS simulator
npx expo start --ios

# Run on Android emulator
npx expo start --android

# Run on web
npx expo start --web

# Build for production
npx expo export

Configuration

app.json

Key configuration options:

{
  "expo": {
    "name": "My App",
    "slug": "my-app",
    "version": "1.0.0",
    "orientation": "portrait",
    "newArchEnabled": true,
    "scheme": "myapp"
  }
}

Environment Variables

The template supports environment configuration via .env.local:

EXPO_PUBLIC_API_URL=https://api.example.com
EXPO_PUBLIC_CONVEX_URL=your-convex-url

On this page