React Native template for a quick start with TypeScript, React Native Paper, and React Navigation
- Elegant usage directly within the React Native CLI
- Consistent with the default React Native Typescript template
- Save energy & hours of hard-work
- 5 screens & 16 components
- Prettier for pretty, formatted code
- React Navigation 5 integration
- Drawer Navigator
- Stack Navigator for Authentication
- React Native Paper integration
- Complete login template based on React Native Paper Login Template
- Incorporates tips from React Navigation v5 + React Native Paper = ❤️
- Combined Theming with dark mode
- FAB and Portal
- Authentication Context setup based on Authentication In React Applications and Authentication flows
npx react-native init MyApp --template @rahsheen/rn-template-ts-paper-navigation
There seems to be quite some confusion about the legacy CLI. This template only works with the new CLI. Make sure you have uninstalled the legacy react-native-cli
first (npm uninstall -g react-native-cli
), for the below command to work. If you wish to not use npx
, you can also install the new CLI globally (npm i -g @react-native-community/cli
or yarn global add @react-native-community/cli
).
Further information can be found here: https://github.com/react-native-community/cli#about
Contributions are very welcome. Please check out the contributing document.
This project is MIT licensed.