We are adding support for Nextjs. Get in touch on Twitter to learn more.

See a demo

Build a landing page

Learn how to build a landing page using blocks.

Reflex ships with a Page type. You can use a page to create a simple text-based page or a complex landing page with components and blocks.

Add a page

To add a page, create a file in the content/pages directory. Example: content/pages/about.mdx.

You can use either .mdx or .md file extension. They both work.

A basic page looks like this.

content/pages/about.mdx
---
title: Welcome to Reflex
excerpt: Description for this page. This is mostly used for the description meta tag.
---
# Add your content here.

On save, Gatsby will automatically create a new page for you at /about.