The Headless WordPress Toolkit for Next.js
A robust set of tools for Next.js that unlock powerful headless WordPress capabilities.
The features you need to build a headless WordPress site with.
Authentication
Easily authenticate users so your Next.js app "knows" who's logged in and what capabilities that person has.
Post previews
When a content creator adds content to WordPress, they can click the "Preview" link to preview that page in the decoupled Next.js app before the change goes live.
Template hierarchy
Bring template hierarchy support to your headless WordPress project. Automatically render the appropriate Next.js page template depending on the type of WordPress content being displayed.
Block editor support
Create one-to-one mappings between WordPress block editor blocks and components in your Next.js app. This unlocks powerful features like the ability to easily replace internal links with Next.js Link components, override core block markup, render third party blocks in Next.js, and more.