Fumadocs

布局

布局组件列表。

概览

🌐 Overview

Fumadocs UI 提供显示内容的基本布局。

🌐 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',
    },
  };
}

查看 linksnav 选项的详细文档。

🌐 See detailed docs for links and nav options.

Prop

Type

Last updated on

On this page