| Packages | Version |
|---|---|
| React | 19.1.0 |
| React Native | 0.80.0 |
A modern, scalable, and CLI-enhanced React Native starter β optimized for speed, maintainability, and developer productivity.
npx @react-native-community/cli@latest init YourAppName --template https://github.com/SolankiYogesh/react-native-template --skip-installyarnnpm installyarn podcd ios && RCT_NEW_ARCH_ENABLED=1 pod install This template includes Plop.js for fast, consistent scaffolding of components and screens.
yarn generateYou'll be prompted with the following generator options:
- Common Component (auto-exported, created at
src/components/ComponentName) - Screen (auto-exported, created at
src/screens/ScreenName) - Screen-Specific Component (created inside respective screen directory)
| Library | Purpose & Benefit |
|---|---|
| dayjs | Lightweight, performant date/time manipulation |
| zustand | Minimalistic, flexible state management |
| react-native-mmkv | Ultra-fast, encrypted key-value storage |
| react-native-keyboard-controller | Robust keyboard event management & animations |
| react-hook-form | Simple, performant form management |
| yup | Schema validation and type-safe form validation |
| rn-ripple-button | Highly customizable ripple feedback buttons |
These carefully picked libraries ensure smooth performance, better developer experience, and maintainability out-of-the-box.
| π Login | π Dashboard |
|---|---|
- π§± Atomic folder structure
- βοΈ React Native + TypeScript
- π§© Plop.js generators for components & screens
- π Centralized theming system
- π Optimized for fast development and performance
βββ Assets
β βββ Fonts
β β βββ Inter-Bold.ttf
β β βββ Inter-ExtraBold.ttf
β β βββ Inter-Medium.ttf
β β βββ Inter-Regular.ttf
β β βββ Inter-SemiBold.ttf
β βββ Images
β βββ user.png
βββ Components
β βββ AppButton.tsx
β βββ AppContainer.tsx
β βββ AppDropDown
β βββ AppHeader.tsx
β βββ AppInput.tsx
β βββ AppLoader
β β βββ AppLoader.tsx
β β βββ Loader.ts
β βββ index.ts
βββ Config
β βββ Config.ts
βββ Helpers
β βββ AppStorage.ts
β βββ Constant.ts
β βββ index.ts
β βββ Responsive.ts
β βββ Screens.ts
β βββ SVGByteCode.ts
β βββ Utility.ts
βββ Hooks
β βββ index.ts
β βββ useNavigation.ts
β βββ useParams.ts
βββ Network
β βββ APICall.ts
β βββ EndPoints.ts
β βββ index.ts
βββ Router
β βββ AppNavigation.tsx
β βββ AuthNavigation.tsx
β βββ HomeNavigation.tsx
β βββ index.ts
β βββ RootNavigation.ts
βββ Screens
β βββ Auth
β β βββ LoginScreen
β β βββ LoginScreen.tsx
β βββ index.ts
β βββ Main
β β βββ DashBoardScreen
β β βββ DashBoardScreen.tsx
β βββ Yogesh
βββ Store
β βββ index.ts
β βββ useMulti.ts
β βββ useUserStore.ts
βββ Theme
β βββ Colors.ts
β βββ CommonStyle.ts
β βββ Fonts.ts
β βββ index.ts
βββ Types
βββ allTypes.d.ts
βββ index.ts
βββ screen.types.ts
βββ types.ts
Run yarn generate often to boost productivity and keep your code consistent!