Mobile apps · Expo
Habit tracker

What you get
A single-screen habit tracker: today's progress, a week strip to look back at any of the last seven days, habit rows with streaks and a mini history, and a form to add habits with an icon. Data persists with AsyncStorage (device storage on phones, localStorage on the web).
Files, exactly as copied.
Exactly what is copied into a new project: 14 files, nothing generated.
Explorer 14
import { Pressable, StyleSheet, Text, View } from "react-native";import { dayKey, lastSevenDays, type Habit } from "../habits";import { colors, radius, space } from "../theme"; /** The last seven days; tap one to check habits off for that day. A dot marks days with everything done. */export function WeekStrip({ selected, onSelect, habits }: { selected: Date; onSelect: (d: Date) => void; habits: Habit[] }) { const selectedKey = dayKey(selected); return ( <View style={styles.row} accessibilityRole="tablist"> {lastSevenDays().map((d) => { const key = dayKey(d); const active = key === selectedKey; const complete = habits.length > 0 && habits.every((h) => h.done.includes(key)); return ( <Pressable key={key} onPress={() => onSelect(d)} accessibilityRole="tab" accessibilityState={{ selected: active }} accessibilityLabel={d.toLocaleDateString("en-US", { weekday: "long", month: "short", day: "numeric" })} style={[styles.day, active && styles.dayActive]} > <Text style={[styles.weekday, active && styles.textActive]}>{d.toLocaleDateString("en-US", { weekday: "narrow" })}</Text> <Text style={[styles.date, active && styles.textActive]}>{d.getDate()}</Text> <View style={[styles.dot, complete && (active ? styles.dotOnActive : styles.dotOn)]} /> </Pressable> ); })} </View> );} const styles = StyleSheet.create({ row: { flexDirection: "row", gap: space.xs }, day: { flex: 1, alignItems: "center", gap: 2, paddingVertical: space.sm, borderRadius: radius.md, backgroundColor: colors.surface }, dayActive: { backgroundColor: colors.text }, weekday: { fontSize: 12, color: colors.muted, fontWeight: "500" }, date: { fontSize: 17, fontWeight: "700", color: colors.text }, textActive: { color: "#ffffff" }, dot: { width: 5, height: 5, borderRadius: 3, marginTop: 2, backgroundColor: "transparent" }, dotOn: { backgroundColor: colors.accent }, dotOnActive: { backgroundColor: "#6ee7b7" },});Remix
Remix this template.
Describe what to change and the agent starts from Habit tracker's files. The box is already started for you: finish “Start from Habit tracker and …”
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.
Keep browsing.
All templates
Grocery delivery app
A delivery app home screen with search, categories, a product grid, a live cart and a checkout summary.

Mobile app starter
A blank Expo app with three tabs, safe-area handling and a small theme file, ready for your first screen.

Notes
A notes app with search, pinning and a full-screen editor that saves as you type.
Build on Habit tracker
Create a free account, start from this template, and ask the AI agent to turn it into your app.