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.
쿠키를 사용합니다
필수 쿠키는 앱이 정상적으로 동작하는 데 필요합니다. 선택적 분석, 지원, 마케팅 쿠키는 사이트와 서비스를 개선하는 데 도움이 됩니다. 쿠키 정책.
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