Skip to content

Next WP

A headless WordPress front end on Next.js with typed API helpers and shadcn/ui components.

next-wp.com

Next WP website screenshot
Added
GitHub stars
1.3k
License
MIT
Price
Free

About

About Next WP

Next WP is a starter for building a front end on top of a WordPress site. It runs on the Next.js App Router with React Server Components, TypeScript and Tailwind CSS v4, and styles pages with shadcn/ui and craft-ds. Typed helpers in lib/wordpress.ts cover posts, pages, authors, categories and tags, and a WordPress plugin triggers cache revalidation when content changes.

Clone the repository, install with pnpm, copy the example environment file and point it at a WordPress site that has the REST API enabled. The README also describes deploys to Railway and Vercel. It includes search with debouncing, a dynamic sitemap, generated OG images and dark mode. The code is MIT licensed, and a sibling project exists for WooCommerce.

Next WP features

6 features

  • Typed WordPress REST API helpers
  • Routes for posts, pages, authors, categories, tags
  • Revalidation through a WordPress plugin
  • Search with debouncing
  • Dynamic sitemap and OG image generation
  • Dark mode with Tailwind CSS v4

Install Next WP

1 command

Terminal

$ git clone https://github.com/9d8dev/next-wp.git

What you can build with Next WP

3 use cases

  • Moving an existing WordPress blog to a Next.js front end
  • Publishing editorial content from WordPress to a fast static-friendly site
  • Prototyping a headless CMS site with ready-made post and author pages

Pricing

Ship it with Pro

The directory is free. Pro adds 6,000+ blocks, 14 premium templates and the MCP server, so your AI editor installs them for you.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What Next WP is, how to install it, its license and its alternatives.

4.9 out of 5 from 150+ developers

Found your stack? Ship it.

6,000+ blocks, premium templates and MCP in every Pro plan. The directory stays free.

Get Pro