Replace Fern’s default header or footer with your own React components using the new header and footer properties in docs.yml.

docs.yml
1header: ./components/CustomHeader.tsx
2footer: ./components/CustomFooter.tsx

Components are server-side rendered for better SEO and performance, with no layout shifts during page load.

Learn more about custom header and footer components.