Skip to content

Mobile apps · Expo

Grocery delivery app

A delivery app home screen with search, categories, a product grid, a live cart and a checkout summary.
Grocery delivery app starter, as built from its own files
Starter screenshot captured from this template's own web build (react-native-web) in a 390×844 phone viewport. In Codexa you can also open it on your phone with Expo Go.

What you get

A grocery delivery storefront for phones: delivery address and ETA, search, category chips, a two-column product grid with add-to-cart steppers, a floating cart bar and a cart screen with subtotal and delivery fee. The catalogue is in src/data.ts; checkout is not connected to a payment provider.

Files, exactly as copied.

Exactly what is copied into a new project: 17 files, nothing generated.

Raw data: GET /api/v1/templates/expo-grocery

src/components/Stepper.tsx
src/components/Stepper.tsx
import { Pressable, StyleSheet, Text, View } from "react-native";import { Ionicons } from "@expo/vector-icons";import { colors, radius } from "../theme"; /** "+" when the item is not in the cart, "− 2 +" once it is. */export function Stepper({ name, qty, onChange, compact }: { name: string; qty: number; onChange: (qty: number) => void; compact?: boolean }) {  if (qty === 0) {    return (      <Pressable onPress={() => onChange(1)} accessibilityRole="button" accessibilityLabel={`Add ${name} to cart`} hitSlop={6} style={({ pressed }) => [styles.add, pressed && { opacity: 0.8 }]}>        <Ionicons name="add" size={20} color="#ffffff" />      </Pressable>    );  }  return (    <View style={[styles.stepper, compact && styles.compact]}>      <Pressable onPress={() => onChange(qty - 1)} accessibilityRole="button" accessibilityLabel={`Remove one ${name}`} hitSlop={6} style={styles.step}>        <Ionicons name={qty === 1 ? "trash-outline" : "remove"} size={16} color="#ffffff" />      </Pressable>      <Text style={styles.qty} accessibilityLabel={`${qty} in cart`}>        {qty}      </Text>      <Pressable onPress={() => onChange(qty + 1)} accessibilityRole="button" accessibilityLabel={`Add one more ${name}`} hitSlop={6} style={styles.step}>        <Ionicons name="add" size={16} color="#ffffff" />      </Pressable>    </View>  );} const styles = StyleSheet.create({  add: { width: 34, height: 34, borderRadius: 17, backgroundColor: colors.accent, alignItems: "center", justifyContent: "center" },  stepper: { flexDirection: "row", alignItems: "center", backgroundColor: colors.accent, borderRadius: radius.pill, height: 34 },  compact: { alignSelf: "flex-start" },  step: { width: 32, height: 34, alignItems: "center", justifyContent: "center" },  qty: { minWidth: 18, textAlign: "center", color: "#ffffff", fontWeight: "700", fontSize: 14 },});

Remix

Remix this template.

Describe what to change and the agent starts from Grocery delivery app's files. The box is already started for you: finish “Start from Grocery delivery app and …”

Agent ready

Creates a free account first; your idea is carried over.

Dependencies

Documented from the template's package.json. The runtime has a prebuilt dependency set for Expo · React Native, so installs are fast.

  • expo~58.0.23
  • react19.3.0
  • react-native0.88.1
  • react-native-web~0.21.4
  • react-native-safe-area-context~5.11.1
  • @expo/vector-icons^15.0.2
  • @react-native-async-storage/async-storage2.2.0
  • typescript~6.0.3

How it runs

Framework
Expo · React Native
Dev command
npm run dev
Build command
npm run build
Output directory
dist
Port
8081
Entry route
/

Projects run in an isolated sandbox with a live preview. Read the projects documentation for settings, snapshots and deployment.

All templates

Build on Grocery delivery app

Create a free account, start from this template, and ask the AI agent to turn it into your app.