Framework7M+/wkMIT

next

Next.js is the leading React framework for building full-stack web applications, developed and maintained by Vercel. It provides a comprehensive set of features

Installation

npm
npm install next react react-dom
yarn
yarn add next react react-dom
pnpm
pnpm add next react react-dom

Import

ESM
import Link from 'next/link';

Quick Example

usage
export default function Home() {
  return (
    <main>
      <h1>Hello Next.js</h1>
    </main>
  );
}

About next

Next.js is the leading React framework for building full-stack web applications, developed and maintained by Vercel. It provides a comprehensive set of features including file-system based routing, server-side rendering (SSR), static site generation (SSG), incremental static regeneration (ISR), API routes, and middleware. Next.js introduced the App Router architecture with React Server Components, enabling developers to render components on the server by default while selectively adding client-side interactivity. The framework includes automatic code splitting, image optimization, font optimization, script loading strategies, and built-in CSS/Sass support. Next.js supports both Pages Router and App Router patterns, edge runtime for globally distributed computing, and integrates seamlessly with Vercel's deployment platform. It handles data fetching at the component level with async server components, provides excellent SEO capabilities through metadata APIs, and supports streaming with Suspense boundaries. Next.js is used by companies like Netflix, TikTok, Notion, and Twitch for production web applications requiring performance and SEO.

Quick Facts

Packagenext
CategoryFramework
Weekly Downloads7M+
LicenseMIT
Installnpm install next react react-dom

Related Packages

Browse npm Packages by Category

Explore our reference of 200 popular npm packages with install commands, examples, and quick-start guides.