Layouts
Root Provider
The context provider of Fumadocs UI.
The context provider of all the components, including next-themes and context
for search dialog. It should be located at the root layout.
Cookie を使用しています
必須 Cookie はアプリの動作に必要です。任意の分析、サポート、マーケティング Cookie は、サイトとサービスの改善に役立ちます。 Cookie ポリシー.
The context provider of Fumadocs UI.
The context provider of all the components, including next-themes and context
for search dialog. It should be located at the root layout.
import { RootProvider } from 'fumadocs-ui/provider';
export default function Layout({ children }) {
return (
<html lang="en">
<body>
<RootProvider>{children}</RootProvider>
</body>
</html>
);
}Customize or disable the search dialog with search option.
<RootProvider
Learn more from Search.
Fumadocs supports light/dark modes with next-themes.
Customise or disable it with theme option.
<RootProvider