Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A forkable Next.js site with a blank custom Nextra theme and Tailwind CSS setup.
Nextra Blank Custom Theme is a forkable boilerplate that pairs a nearly blank custom Nextra theme with Tailwind CSS to scaffold a fast, MDX-driven static site on Next.js.
Nextra Blank Custom Theme is a minimal GitHub repository that demonstrates how to build a custom theme on top of the Nextra documentation framework. It takes a nearly blank MDX blog/content site and adds a custom layout component in components/layout.js, with Tailwind CSS already configured. The output is a static site where blog posts are written in Markdown/MDX and the index page lists posts from posts.json. It runs on Next.js and is meant to be forked as a starting point.
The site uses Nextra's file-based routing. Pages are Markdown/MDX files, and the custom layout component wraps them. The blog index page is a React component that reads posts.json to render a list. The README notes you can instead create a blank pages/index.mdx and move that component into the layout if you check for route === '/' to use the page map on the index.
