Skip to content

NextJS MDX Blog

A Next.js blog starter where posts are MDX files, styled with shadcn/ui and Tailwind CSS.

nextjs-typescript-mdx-blog.vercel.app

NextJS MDX Blog website screenshot
Added
GitHub stars
429
Price
Free

About

About NextJS MDX Blog

NextJS MDX Blog is a small starter for a personal site or blog. It uses the Next.js App Router, turns MDX files into pages with Contentlayer, and takes its UI pieces from shadcn/ui with Tailwind CSS for styling. The README says it draws heavily on Lee Robinson's site, and a live demo shows a home page with a blog list.

Clone the repository, run npm install and npm run dev, then add posts as files in the posts directory. Set the host URL in src/lib/constants.ts before going live, and update the routes in sitemap.ts when you add pages. GitHub shows no license for the repository, and its last push was in 2023, so check the state of Contentlayer before you depend on it.

NextJS MDX Blog features

6 features

  • Next.js App Router
  • MDX posts processed by Contentlayer
  • shadcn/ui components
  • Tailwind CSS styling
  • Sitemap file for search engines
  • Posts kept in a plain posts folder

Install NextJS MDX Blog

1 command

Terminal

$ git clone https://github.com/ChangoMan/nextjs-mdx-blog.git

What you can build with NextJS MDX Blog

3 use cases

  • Launching a personal blog written in Markdown
  • Setting up a developer portfolio with a writing section
  • Learning how Contentlayer and MDX fit into the App Router

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 NextJS MDX Blog 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