A modern Next.js starter with App Router, TypeScript, Tailwind CSS 4, and a script to generate web app icons from a single SVG.
Features • Installation • Running & Building • Icons • Contributing
- About
- Features
- Technology Stack
- Prerequisites
- Installation
- Running the Application
- Building for Production
- Icons Generation
- Project Structure
- Configuration
- Contributing
- Support
- License
- About Roboticela
NextJS-Template-DevKit (Roboticela DevKit) is a production-ready starter for building Next.js web applications with the App Router, TypeScript, and Tailwind CSS 4. It includes a script to generate favicon and web app icons from a single SVG so your branding stays consistent.
- ✅ Next.js 16 — App Router, React Server Components, fast refresh
- ✅ TypeScript — Type-safe development
- ✅ Tailwind CSS 4 — Utility-first styling with modern tooling
- ✅ Icon Pipeline — Single SVG → favicon.ico, favicon-32x32.png, apple-touch-icon.png
- ✅ Simple & Focused — No extra backends or native layers; ready to extend
- Next.js 16 — App Router, server and client components
- React 19 + TypeScript — Type-safe UI
- Tailwind CSS 4 — PostCSS-based setup
- Geist fonts — Optional Google fonts in layout
- Single source —
public/favicon.svg(or custom path) - Web only — Generates favicon.ico, favicon-32x32.png, favicon-16x16.png, apple-touch-icon.png
- Non-interactive — No prompts; run and get icons in
public/
| Layer | Technology |
|---|---|
| Framework | Next.js 16 (App Router) |
| UI | React 19, TypeScript 5.x |
| Styling | Tailwind CSS 4 |
| Tooling | ESLint, npm |
- Node.js (v20+) — Download
- npm — Node package manager
git clone https://github.com/Roboticela/NextJS-Template-DevKit.git
cd NextJS-Template-DevKit
npm installnpm run devThen open http://localhost:3000. Edits to the app will hot-reload.
npm run build
npm run startServes the built app (default port 3000).
npm run buildOutput is in .next/. Use npm run start to serve it, or deploy to Vercel, Node, or any platform that supports Next.js.
Icons are generated from a single source image (default: public/favicon.svg) so that all web assets stay in sync.
npm run icons:generateOr with a custom source path (relative to project root or absolute):
node scripts/icons-generate.js path/to/icon.svg- Reads the source SVG (or image) from the given path (default
public/favicon.svg). - Generates PNGs and ICO in
public/:favicon-16x16.pngfavicon-32x32.pngapple-touch-icon.png(128×128)favicon.ico(16×16 and 32×32, if theto-icopackage is installed)
The script uses sharp (and optionally to-ico) to rasterize SVG and build the ICO. They are listed as devDependencies; after npm install, npm run icons:generate works without extra setup.
NextJS-Template-DevKit/
├── app/
│ ├── globals.css # Global styles (Tailwind + theme)
│ ├── layout.tsx # Root layout (metadata, fonts)
│ └── page.tsx # Home page
├── public/
│ ├── favicon.svg # Default icon source for icons:generate
│ └── ... # Generated favicon-32x32.png, apple-touch-icon.png, etc.
├── scripts/
│ └── icons-generate.js # Web icon generation from SVG
├── package.json
├── tsconfig.json
├── next.config.ts
├── postcss.config.mjs
├── tailwind.config.ts
├── LICENSE
└── README.md
next.config.ts— Next.js config (images, redirects, etc.).app/layout.tsx— Metadata (title, description), fonts, and root HTML.
app/globals.css— Tailwind import, CSS variables, and global styles.tailwind.config.ts— Tailwind theme and content paths.
public/favicon.svg— Default source fornpm run icons:generate. Replace with your own SVG to regenerate all web icons.
- Fork the repository.
- Create a branch:
git checkout -b feature/your-featureorfix/your-fix. - Make changes; follow existing style (ESLint, TypeScript).
- Commit with a clear message (e.g.
Add: ...,Fix: ...,Docs: ...). - Push and open a Pull Request.
- Issues: GitHub Issues for bugs and feature requests.
- Repository: Roboticela/NextJS-Template-DevKit.
This project is licensed under the MIT License. See LICENSE for the full text.
Roboticela maintains this template for building modern web apps with Next.js. Star the repo if you find it useful.
Built with ❤️ by Roboticela
