From 8d11e6c79157bcba00c66ae2c405a2f59735e90a Mon Sep 17 00:00:00 2001
From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com>
Date: Sat, 21 Mar 2026 17:12:29 +0000
Subject: [PATCH 1/7] Add guide on custom page layouts and landing pages
Generated-By: mintlify-agent
---
docs.json | 1 +
guides/custom-layouts.mdx | 234 ++++++++++++++++++++++++++++++++++++++
guides/index.mdx | 1 +
3 files changed, 236 insertions(+)
create mode 100644 guides/custom-layouts.mdx
diff --git a/docs.json b/docs.json
index 0d53e0a0d..5091c0157 100644
--- a/docs.json
+++ b/docs.json
@@ -296,6 +296,7 @@
"guides/accessibility",
"guides/content-types",
"guides/content-templates",
+ "guides/custom-layouts",
"guides/improving-docs",
"guides/internationalization",
"guides/linking",
diff --git a/guides/custom-layouts.mdx b/guides/custom-layouts.mdx
new file mode 100644
index 000000000..65ab7ee5a
--- /dev/null
+++ b/guides/custom-layouts.mdx
@@ -0,0 +1,234 @@
+---
+title: "Build custom page layouts"
+sidebarTitle: "Custom page layouts"
+description: "Use page modes and components to create landing pages, marketing pages, and other custom layouts."
+keywords: ["landing page", "custom layout", "page mode", "custom mode", "frame mode", "hero section", "landing pages"]
+---
+
+Mintlify pages use a standard layout by default, with a sidebar, content area, and table of contents. You can change this layout with [page modes](/organize/pages#page-mode) to create landing pages, feature showcases, or any page that needs a unique design.
+
+This guide covers how to use page modes, Tailwind CSS, and components to build custom layouts without a separate frontend.
+
+## Choose a page mode
+
+Set the `mode` field in your page's frontmatter to control which UI elements appear.
+
+| Mode | Sidebar | Table of contents | Footer | Best for |
+|------|---------|-------------------|--------|----------|
+| `default` | Yes | Yes | Yes | Standard documentation pages |
+| `wide` | Yes | No | Yes | Pages without headings or needing extra width |
+| `custom` | No | No | No | Landing pages, marketing pages, full-canvas layouts |
+| `frame` | Yes | No | No | Custom content that still needs sidebar navigation |
+| `center` | No | No | Yes | Changelogs, focused reading experiences |
+
+For landing pages, `custom` mode gives you the most control. It removes all chrome except the top navbar, giving you a blank canvas.
+
+```yaml
+---
+title: "Welcome"
+mode: "custom"
+---
+```
+
+
+ Everything you need to build, deploy, and scale your application. +
+
+
+```
+
+## Use React components for interactive layouts
+
+For reusable or interactive elements, define [React components](/customize/react-components) directly in your MDX file:
+
+```mdx
+export const FeatureCard = ({ title, description, href }) => (
+
+ + {description} +
+ +); + ++ {description} +
+ +); + ++ Everything you need to build, deploy, and scale your application. +
+