Fumadocs

Layouts

A list of layout components.

Overview

Fumadocs UI provides essential layouts to display content.

Configurations

Each layout supports a shared set of options.

It is recommended to store these options into a file, and pass them to the layouts.

lib/layout.shared.tsx
import type { BaseLayoutProps } from 'fumadocs-ui/layouts/shared';

export function baseOptions(): BaseLayoutProps {
  return {
    nav: {
      title: 'My App',
    },
  };
}

See detailed docs for links and nav options.

Prop

Type

How is this guide?

Last updated on

On this page