Next WP
A headless WordPress front end on Next.js with typed API helpers and shadcn/ui components.
- Category
- Boilerplates & Templates
- 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.gitWhat 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
Boilerplates & Templates
Similar to Next WP
More boilerplates & templates like Next WP: the closest by what they do, then the most starred.
next-starterTemplatenext-starter is a Next.js 16 template with shadcn/ui, Tailwind CSS 4, Next-auth, Drizzle, Stripe and Playwright tests configured from the first commit.
NextJS MDX BlogTemplateNextJS MDX Blog is a starter for blogs and personal sites: App Router, Contentlayer, MDX posts, shadcn/ui components and Tailwind CSS styling.
shadcn-portfolioTemplateshadcn-portfolio is an MIT portfolio template on Next.js 15, shadcn/ui, Tailwind CSS and Framer Motion, with a blog, contact form and dark mode.
Turborepo shadcn/uiTemplateTurborepo shadcn/ui is an MIT monorepo starter with a Next.js docs app, a shared @repo/ui package and common ESLint and TypeScript configuration.
Next.js Boilerplate (Abhishek Sharma)TemplateThis MIT-licensed Next.js starter combines shadcn/ui, NextAuth.js, Prisma with PostgreSQL, Sentry, Zod, Zustand and nuqs behind a dashboard shell.
Turborepo BoilerplateTemplateThis MIT Turborepo boilerplate pairs a Next.js web app with a WXT browser extension, sharing shadcn/ui, Tailwind CSS, TypeScript and lint configs.
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.
A WordPress site with the REST API enabled. You set the site URL, the image hostname and a webhook secret in the environment file, and an optional plugin pushes revalidation requests.
The README points to a separate project, next-woo, for WooCommerce. Next WP itself covers posts, pages, authors, categories and tags.
A headless WordPress front end on Next.js with typed API helpers and shadcn/ui components.
Next WP lists 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 and Dark mode with Tailwind CSS v4.
The directory lists these uses for Next WP: Moving an existing WordPress blog to a Next.js front end, Publishing editorial content from WordPress to a fast static-friendly site and Prototyping a headless CMS site with ready-made post and author pages.
Next WP is made by 9d8dev, at https://github.com/9d8dev. Its site is https://github.com/9d8dev/next-wp.
Next WP was added to the directory on November 21, 2024.
Next WP is in Boilerplates & Templates. Starters, boilerplates and full templates on shadcn/ui: SaaS kits, dashboards and landing pages to start a project from.
Starter kit, Next.js, TypeScript, Tailwind CSS, Blog, Dark mode, Open source and MIT. Each tag has a page listing the other resources that carry it.
Yes. Next WP's page has a Live tab beside the screenshot that loads its site in a frame.
Next WP lists this command: `git clone https://github.com/9d8dev/next-wp.git`.
The directory lists no shadcn CLI command for Next WP. Check its docs at https://github.com/9d8dev/next-wp for how to add it.
Next WP's repository is https://github.com/9d8dev/next-wp.
The directory links no separate docs for Next WP; start from its site at https://github.com/9d8dev/next-wp.
GitHub lists Next WP under the MIT license. Read the license file in its repository for the terms.
The directory records no price for Next WP. Its site, https://github.com/9d8dev/next-wp, is where its pricing, if any, is stated.
No. Next WP is made by 9d8dev and listed here as a link. A shadcn.io Pro plan covers shadcn.io's own blocks, templates and tools.
Other resources in Boilerplates & Templates, newest first: next-starter, NextJS MDX Blog, shadcn-portfolio and Turborepo shadcn/ui. Their pages are linked under Similar to Next WP.
Open its category, Boilerplates & Templates, or one of its tags (Starter kit, Next.js and TypeScript): each page lists the resources that share it.
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





