Part 1 - React Native with TypeScript and React Native Paper: Start MugMori
Start a B2C cup-shopping app with Expo, TypeScript, React Native Paper, and a custom Material 3 theme.
React Native with TypeScript and React Native Paper: Start MugMori
This series builds MugMori, a consumer shopping app for cute cups and mugs with illustrated print designs. The goal is to learn how a React Native application is shaped one useful screen at a time.
Create the project
Use Expo with the TypeScript template:
npx create-expo-app@latest mugmori --template blank-typescript
cd mugmori
npm install react-native-paper
npx expo start
Expo provides a practical development server and device workflow. The exact commands can change with releases, so check the current Expo documentation when starting a new project.
Add React Native Paper
React Native Paper provides Material Design components adapted for React Native. Wrap the application in PaperProvider:
import { PaperProvider } from 'react-native-paper';
export default function App() {
return (
<PaperProvider>
<HomeScreen />
</PaperProvider>
);
}
Paper supplies dependable components; the custom theme supplies MugMori's identity.
Create the theme
Start with a warm ceramic-studio palette:
const mugmoriTheme = {
...MD3LightTheme,
colors: {
...MD3LightTheme.colors,
primary: '#A85C45',
secondary: '#7A9E7E',
background: '#FFF8F0',
surface: '#FFFFFF',
onSurface: '#332B28',
},
};
Cute illustrations can add personality, but text and buttons still need clear contrast and usable touch targets.
Build the first screen
export function HomeScreen() {
return (
<View style={styles.container}>
<Surface style={styles.card} elevation={1}>
<Text variant="headlineMedium">MugMori</Text>
<Text variant="bodyLarge">Cute cups for ordinary moments.</Text>
<Button mode="contained" onPress={() => {}}>
Browse cups
</Button>
</Surface>
</View>
);
}
The empty callback is intentional. The next article turns the button into a catalog flow.
Build the cup catalog with typed data, categories, search, and Paper cards.