Skip to content

SolankiYogesh/react-native-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ React Native Project Template

βš™οΈ Framework Versions

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.


πŸ› οΈ Project Initialization

1️⃣ Create a New Project

πŸ“¦ From GitHub:

npx @react-native-community/cli@latest init YourAppName --template  https://github.com/SolankiYogesh/react-native-template --skip-install

2️⃣ Install Dependencies

βœ… Recommended (Yarn):

yarn

Or use NPM:

npm install

3️⃣ iOS Setup (CocoaPods)

yarn pod

Or use NPM:

cd ios && RCT_NEW_ARCH_ENABLED=1 pod install 

⚑ Generate Components & Screens in Seconds

This template includes Plop.js for fast, consistent scaffolding of components and screens.

🧩 Generate Using CLI:

yarn generate

You'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)

🧰 Key Featured Libraries & Benefits

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.


πŸ–ΌοΈ Screenshots Preview

πŸ” Login 🏠 Dashboard
Login Dashboard

🎨 Features Included

  • 🧱 Atomic folder structure
  • βš›οΈ React Native + TypeScript
  • 🧩 Plop.js generators for components & screens
  • 🌈 Centralized theming system
  • πŸš€ Optimized for fast development and performance

🧭 Folder Structure

β”œβ”€β”€ 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


πŸ’‘ Pro Tip

Run yarn generate often to boost productivity and keep your code consistent!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published