Skip to content
Landing Pages Tailwind CSS 4 next.jsreacttypescriptpostcss

Next.js Landing Page with Dark Mode - Startup

A free Next.js startup website template with dark mode, Tailwind CSS, and TypeScript, ready for SaaS or business sites.

By NextJSTemplates nextjstemplates/startup-nextjs 1,687 stars

Introduction

Startup is a free, open‑source landing page template built with Next.js, React, Tailwind CSS v4 and TypeScript. It includes dark‑mode support and a set of ready‑made sections such as hero, pricing, testimonials, blog pages and a video modal. The project is aimed at startup founders and SaaS developers who need a quick starting point for a business website.

What this project offers

  • A complete Next.js application with a modern design.
  • Dark‑mode toggle powered by next‑themes.
  • TypeScript‑typed components and data models.
  • Pre‑styled sections (hero, pricing, testimonials, blog, contact, etc.).
  • Responsive layout (handled by Tailwind utilities).

Main features

  • Dark mode (enabled by default).
  • TypeScript support throughout the codebase.
  • Hero section with background image and call‑to‑action.
  • Pricing tables with multiple plans.
  • Testimonials carousel.
  • Blog list and detail pages.
  • Video modal component for embedding promotional videos.

Technology stack

  • Next.js 16.4.6 (React framework)
  • React 19.3.1
  • Tailwind CSS 4.3.5
  • TypeScript 6.0.3
  • PostCSS 8.5.33
  • next‑themes for dark‑mode handling
  • ESLint and Prettier for code quality

Requirements

  • Node.js ≥ 20
  • npm (comes with Node.js)

Installation

  1. Download the project
# The ZIP file is provided at /download/startup-landing.zip
unzip /download/startup-landing.zip -d startup-landing
cd startup-landing
  1. Install dependencies
npm install
  1. Run the development server (optional, to preview while developing)
npm run dev

Open http://localhost:3000 in a browser to see the site.

  1. Build the production version
npm run build

The build creates a .next folder that contains the compiled server‑side and client assets.

  1. Start the production server
npm start

The site will be available at http://localhost:3000.

If you prefer to serve the built files with a custom server (e.g., Docker, PM2), use the contents of the .next directory together with the next start command.

Configuration

  • Tailwind configuration is in tailwind.config.js (generated by the Tailwind CLI).
  • Next.js settings are in next.config.js; remote image patterns are defined there.
  • TypeScript options are in tsconfig.json.
  • Theme switching can be customized in src/components/Common/ThemeSwitcher (if present) or by editing the next-themes provider in src/app/providers.tsx.

Customizing the project

  • Pages: Edit files under src/app/ (e.g., src/app/about/page.tsx for the About page).
  • Components: Reuse or modify components in src/components/. Each folder groups related UI parts (e.g., Hero, Pricing, Testimonials).
  • Styling: Global Tailwind styles are in src/styles/index.css. Add custom utilities or extend the Tailwind config as needed.
  • Images: Place or replace images in public/images/. The public folder is served statically.

Project structure

LICENSE
README.md
jsconfig.json
next-env.d.ts
next.config.js
package.json
postcss.config.js
public/
  favicon.ico
  images/
src/
  app/
    layout.tsx
    page.tsx
    providers.tsx
    ... (section pages)
  components/
    Header/
    Footer/
    Hero/
    Pricing/
    Testimonials/
    Video/
    video-modal.tsx
    ... (other UI parts)
  styles/
    index.css
  types/
    blog.ts
    brand.ts
    feature.ts
    menu.ts
    testimonial.ts
tsconfig.json

Tips

  • Run npm run lint to check for code style issues.
  • Use npm run dev while editing to get hot‑module reloading.
  • The dark‑mode toggle works automatically; you can set the default mode in the next-themes provider.
  • To add new pages, create a folder under src/app/ with a page.tsx file; Next.js will route it automatically.

License and attribution

This project is licensed under the MIT License. See the LICENSE file for the full text.

Original repository: https://github.com/nextjstemplates/startup-nextjs

When redistributing or using the template, keep the license file intact and credit the original author as required by the MIT license.