+ ### Create your component
+
+ Your component file must have a default export returning a React component. Tailwind CSS classes are available, including the `dark:` prefix for dark mode styles (e.g., `dark:bg-gray-900`, `dark:text-gray-400`):
+
+ ```tsx components/CustomFooter.tsx
+ export default function CustomFooter() {
+ return (
+
+ );
+ }
+ ```
+
+ ### Add the component paths to `docs.yml`
+
+ ```yaml docs.yml
+ header: ./components/CustomHeader.tsx
+ footer: ./components/CustomFooter.tsx
+ ```
+
+
## Why not just use custom CSS and JS instead?
While you can bundle React components as custom JavaScript, using Fern's built-in React component support provides several key advantages:
diff --git a/fern/products/docs/pages/customization/site-level-settings.mdx b/fern/products/docs/pages/customization/site-level-settings.mdx
index 319517dd3..18ddce60b 100644
--- a/fern/products/docs/pages/customization/site-level-settings.mdx
+++ b/fern/products/docs/pages/customization/site-level-settings.mdx
@@ -111,6 +111,14 @@ navbar-links:
[`metadata` configuration](/learn/docs/getting-started/global-configuration#seo-metadata-configuration).
+