--- sidebar_label: "Single Column" --- export const metadata = { title: `Single Column Layout - Admin Components`, } # {metadata.title} The Medusa Admin has pages with a single column of content. This doesn't include the sidebar, only the main content. ![An example of an admin page with a single column](https://res.cloudinary.com/dza7lstvk/image/upload/v1728286605/Medusa%20Resources/single-column.png) To create a layout that you can use in UI routes to support one column of content, create the component `src/admin/layouts/single-column.tsx` with the following content: ```tsx title="src/admin/layouts/single-column.tsx" export type SingleColumnLayoutProps = { children: React.ReactNode } export const SingleColumnLayout = ({ children }: SingleColumnLayoutProps) => { return (
{children}
) } ``` The `SingleColumnLayout` accepts the content in the `children` props. --- ## Example Use the `SingleColumnLayout` component in your UI routes that have a single column. For example: ```tsx title="src/admin/routes/custom/page.tsx" highlights={[["9"]]} import { defineRouteConfig } from "@medusajs/admin-sdk" import { ChatBubbleLeftRight } from "@medusajs/icons" import { Container } from "../../components/container" import { SingleColumnLayout } from "../../layouts/single-column" import { Header } from "../../components/header" const CustomPage = () => { return (
) } export const config = defineRouteConfig({ label: "Custom", icon: ChatBubbleLeftRight, }) export default CustomPage ``` This UI route also uses a [Container](../../components/container/page.mdx) and a [Header]() custom components.