Start a React Native app: Free AI Prompt | SheCodes

Free AI prompt · The Code Book

Start a React Native app

A ready-to-use prompt from the chapter Mobile Apps. Paste it into Claude, ChatGPT, Lovable, Bolt or any AI coding tool.

The prompt

“Create a new React Native app using Expo. Set up the project with TypeScript, Expo Router for tab and stack navigation, and a clean folder structure. Create a home screen with a welcome message, a settings screen with a profile form, and tab navigation between them. Use NativeWind (Tailwind for React Native) for styling. Make sure it runs on both iOS and Android.”

How to use it

  1. Copy the prompt and paste it into your AI coding tool.
  2. Check the result in the preview, then ask for changes one at a time: "make the buttons bigger", "use my brand colours".
  3. Read the chapter to understand why it works and what to do next.

More prompts like this

All prompts

Make my site a PWA

“Convert my Next.js website into a Progressive Web App (PWA). Add a web app manifest with my app name, icons (192x192 and 512x512), theme color, and display: standalone. Set up a service worker for offline caching of static assets. Add a meta tag for mobile web app capable. Make sure the app can be installed on home screens on both iOS and Android.”

Wrap my site with Capacitor

“Add Capacitor to my existing Next.js project so I can publish it as a native iOS and Android app. Install @capacitor/core and @capacitor/cli, initialize Capacitor with my app name, configure the webDir to point to my build output, and add the iOS and Android platforms. Set up the Capacitor config file. Then show me how to build and open the project in Xcode (iOS) and Android Studio.”

Set up a frontend project

“Set up a new Next.js project with TypeScript, Tailwind CSS, and App Router. Create a clean homepage with a [header/hero/features] layout.”

Add multi-page navigation

“Convert my single-page app into multiple pages with proper navigation. Add routes for [home, about, dashboard, settings].”

Make it responsive

“Make my website fully responsive so it looks great on phones, tablets, and desktops. Use Tailwind CSS breakpoints and make sure the navigation works on mobile with a hamburger menu.”

Set up a backend with supabase

“Set up a backend for my app using Supabase. I need tables for [users, posts, comments]. Include row-level security policies so users can only edit their own data.”