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/screens/NoteEditor.tsx
src/screens/NoteEditor.tsx
import { KeyboardAvoidingView, Platform, Pressable, ScrollView, StyleSheet, Text, TextInput, View } from "react-native";import { Ionicons } from "@expo/vector-icons";import { useSafeAreaInsets } from "react-native-safe-area-context";import { formatWhen, type Note } from "../notes";import { colors, space } from "../theme"; /** Edits save as you type; Back returns to the list (empty notes are dropped there). */export function NoteEditor({ note, onChange, onBack, onDelete }: { note: Note; onChange: (patch: Partial<Note>) => void; onBack: () => void; onDelete: () => void }) {  const insets = useSafeAreaInsets();  return (    <KeyboardAvoidingView style={styles.screen} behavior={Platform.OS === "ios" ? "padding" : undefined}>      <View style={[styles.toolbar, { paddingTop: insets.top + space.sm }]}>        <Pressable onPress={onBack} accessibilityRole="button" accessibilityLabel="Back to notes" hitSlop={8} style={styles.back}>          <Ionicons name="chevron-back" size={24} color={colors.accent} />          <Text style={styles.backText}>Notes</Text>        </Pressable>        <View style={styles.actions}>          <Pressable onPress={() => onChange({ pinned: !note.pinned })} accessibilityRole="button" accessibilityLabel={note.pinned ? "Unpin note" : "Pin note"} accessibilityState={{ selected: note.pinned }} hitSlop={8} style={styles.icon}>            <Ionicons name={note.pinned ? "pin" : "pin-outline"} size={22} color={colors.accent} />          </Pressable>          <Pressable onPress={onDelete} accessibilityRole="button" accessibilityLabel="Delete note" hitSlop={8} style={styles.icon}>            <Ionicons name="trash-outline" size={22} color={colors.accent} />          </Pressable>        </View>      </View>      <ScrollView contentContainerStyle={[styles.body, { paddingBottom: insets.bottom + space.xxl }]} keyboardShouldPersistTaps="handled">        <Text style={styles.when}>Edited {formatWhen(note.updatedAt)}</Text>        <TextInput value={note.title} onChangeText={(title) => onChange({ title })} placeholder="Title" placeholderTextColor={colors.faint} style={styles.title} accessibilityLabel="Note title" />        <TextInput          value={note.body}          onChangeText={(body) => onChange({ body })}          placeholder="Start writing…"          placeholderTextColor={colors.faint}          style={styles.text}          multiline          textAlignVertical="top"          accessibilityLabel="Note text"          autoFocus={!note.title && !note.body}        />      </ScrollView>    </KeyboardAvoidingView>  );} const styles = StyleSheet.create({  screen: { flex: 1, backgroundColor: colors.surface },  toolbar: { flexDirection: "row", alignItems: "center", justifyContent: "space-between", paddingHorizontal: space.sm, paddingBottom: space.sm },  back: { flexDirection: "row", alignItems: "center", paddingVertical: space.xs },  backText: { fontSize: 17, color: colors.accent },  actions: { flexDirection: "row", gap: space.sm },  icon: { padding: space.sm },  body: { paddingHorizontal: space.xl, gap: space.sm },  when: { fontSize: 12, color: colors.faint, textAlign: "center" },  title: { fontSize: 26, fontWeight: "700", color: colors.text, paddingVertical: space.sm },  text: { fontSize: 17, lineHeight: 26, color: colors.text, minHeight: 320 },});

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.