A modern starter template designed for building fast, responsive, and SEO-optimized web applications using Next.js, Tailwind CSS and TypeScript.
- Next.js 16 (App Router): Leveraging the latest Next.js features for optimal performance and developer experience.
- Tailwind CSS 4: Modern utility-first styling with the newest Tailwind CSS version.
- Motion (Framer Motion): Smooth, high-performance animations for a premium feel.
- React 19: Utilizing the latest React features and improvements.
- EmailJS Integration: Built-in contact form functionality without the need for a backend server.
- TypeScript: Type-safe development for better maintainability and fewer bugs.
- Responsive Design: Fully responsive components that work on all devices.
- SEO Optimized: Pre-configured metadata and semantic HTML.
This template is designed to be a quick start for modern web applications.
- Contact Form: Configure your EmailJS service ID, template ID, and public key in
.env.local. - Sections: New sections can be added in
src/components/sections. - Icons: Use
react-iconsfor a wide variety of icon sets.
To get started with this template, follow these steps:
-
Clone the repository:
git clone https://github.com/horlesq/nextjs-tailwindcss-starter-template your-project-name cd your-project-name -
Install dependencies:
npm install
-
Set up Environment Variables:
Create a
.env.localfile and add your EmailJS and Vercel Analytics keys:NEXT_PUBLIC_EMAILJS_SERVICE_ID=your_service_id NEXT_PUBLIC_EMAILJS_TEMPLATE_ID=your_template_id NEXT_PUBLIC_EMAILJS_PUBLIC_KEY=your_public_key
-
Start the development server:
npm run dev
-
Open your browser and navigate to http://localhost:3000 to access the application.
- Theming: Customize colors and typography in
src/app/globals.css. - Content: Update the main content in
src/lib/content.ts(if applicable) or directly in the components. - Tailwind: Modify
tailwind.config.jsfor custom Tailwind settings.
src/
├── app/ # Next.js App Router (routes, layouts, globals)
├── components/ # Reusable UI components and sections
│ ├── motion/ # Motion-wrapped components
│ └── sections/ # Major page sections
├── hooks/ # Custom React hooks
├── lib/ # Utility functions and data
└── public/ # Static assets
This project is open source and available under the MIT License.
For any inquiries or feedback, feel free to reach out via:
- GitHub: Horlesq
- Linkedin: Adrian Horlescu
- Website: horly.dev
For questions or suggestions, feel free to open an issue or submit a pull request.