Skip to content

Mobile apps · Expo

Notes

A notes app with search, pinning and a full-screen editor that saves as you type.
Notes 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 two-screen notes app: a searchable list with pinned notes first and relative dates, and an editor with title and body fields that save as you type, pin and delete. Notes persist with AsyncStorage, and an empty note is discarded when you go back.

Files, exactly as copied.

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

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

src/useStoredState.ts
src/useStoredState.ts
import { useEffect, useRef, useState } from "react";import AsyncStorage from "@react-native-async-storage/async-storage"; /** * useState that is saved with AsyncStorage (device storage on iOS/Android, localStorage on the * web). `ready` is false until the saved value has been read. */export function useStoredState<T>(key: string, initial: () => T) {  const [value, setValue] = useState<T>(initial);  const [ready, setReady] = useState(false);  const loaded = useRef(false);   useEffect(() => {    let cancelled = false;    AsyncStorage.getItem(key)      .then((raw) => {        if (!cancelled && raw) setValue(JSON.parse(raw) as T);      })      .catch(() => {})      .finally(() => {        loaded.current = true;        if (!cancelled) setReady(true);      });    return () => {      cancelled = true;    };  }, [key]);   useEffect(() => {    if (!loaded.current) return;    AsyncStorage.setItem(key, JSON.stringify(value)).catch(() => {});  }, [key, value]);   return [value, setValue, ready] as const;}

Remix

Remix this template.

Describe what to change and the agent starts from Notes's files. The box is already started for you: finish “Start from Notes 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 Notes

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