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/TabBar.tsx
src/components/TabBar.tsx
import type { ComponentProps } from "react";import { Pressable, StyleSheet, Text, View } from "react-native";import { Ionicons } from "@expo/vector-icons";import { useSafeAreaInsets } from "react-native-safe-area-context";import { colors, space } from "../theme"; export type TabId = "shop" | "cart" | "account";type IconName = ComponentProps<typeof Ionicons>["name"]; const TABS: { id: TabId; label: string; icon: IconName; activeIcon: IconName }[] = [  { id: "shop", label: "Shop", icon: "storefront-outline", activeIcon: "storefront" },  { id: "cart", label: "Cart", icon: "basket-outline", activeIcon: "basket" },  { id: "account", label: "Account", icon: "person-outline", activeIcon: "person" },]; export function TabBar({ active, onChange, cartCount }: { active: TabId; onChange: (t: TabId) => void; cartCount: number }) {  const insets = useSafeAreaInsets();  return (    <View style={[styles.bar, { paddingBottom: Math.max(insets.bottom, space.sm) }]} accessibilityRole="tablist">      {TABS.map((t) => {        const selected = t.id === active;        return (          <Pressable key={t.id} onPress={() => onChange(t.id)} accessibilityRole="tab" accessibilityState={{ selected }} accessibilityLabel={t.id === "cart" && cartCount ? `Cart, ${cartCount} items` : t.label} style={styles.tab}>            <View>              <Ionicons name={selected ? t.activeIcon : t.icon} size={24} color={selected ? colors.accent : colors.muted} />              {t.id === "cart" && cartCount > 0 ? (                <View style={styles.badge}>                  <Text style={styles.badgeText}>{cartCount}</Text>                </View>              ) : null}            </View>            <Text style={[styles.label, selected && { color: colors.accent }]}>{t.label}</Text>          </Pressable>        );      })}    </View>  );} const styles = StyleSheet.create({  bar: { flexDirection: "row", backgroundColor: colors.background, borderTopWidth: StyleSheet.hairlineWidth, borderTopColor: colors.border, paddingTop: space.sm },  tab: { flex: 1, alignItems: "center", gap: 2, paddingVertical: space.xs },  label: { fontSize: 11, fontWeight: "600", color: colors.muted },  badge: { position: "absolute", top: -4, right: -10, minWidth: 18, height: 18, borderRadius: 9, backgroundColor: colors.highlight, alignItems: "center", justifyContent: "center", paddingHorizontal: 4 },  badgeText: { fontSize: 11, fontWeight: "700", color: colors.text },});

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.