true, show menu button as if menu is expanded, otherwise show it as if menu is collapsed."
+ },
+ "onToggleMenu": { "description": "Callback fired when the menu button is clicked." },
+ "slotProps": { "description": "The props used for each slot inside." },
+ "slots": { "description": "The components used for each slot inside." }
+ },
+ "classDescriptions": {},
+ "slotDescriptions": {
+ "appTitle": "The component used for the app title section.",
+ "toolbarAccount": "The toolbar account component to be used.",
+ "toolbarActions": "The toolbar actions component to be used."
+ }
+}
diff --git a/docs/translations/api-docs/dashboard-layout/dashboard-layout.json b/docs/translations/api-docs/dashboard-layout/dashboard-layout.json
index ea0ad31cdc5..cd12927ad92 100644
--- a/docs/translations/api-docs/dashboard-layout/dashboard-layout.json
+++ b/docs/translations/api-docs/dashboard-layout/dashboard-layout.json
@@ -26,6 +26,7 @@
"classDescriptions": {},
"slotDescriptions": {
"appTitle": "The component used for the app title section in the layout header.",
+ "header": "The component used for the layout header.",
"sidebarFooter": "Optional footer component used in the layout sidebar.",
"toolbarAccount": "The toolbar account component used in the layout header.",
"toolbarActions": "The toolbar actions component used in the layout header."
diff --git a/examples/core/auth-nextjs-themed/app/(dashboard)/layout.tsx b/examples/core/auth-nextjs-themed/app/(dashboard)/layout.tsx
index 2bce076a6e8..a89b93527dd 100644
--- a/examples/core/auth-nextjs-themed/app/(dashboard)/layout.tsx
+++ b/examples/core/auth-nextjs-themed/app/(dashboard)/layout.tsx
@@ -1,11 +1,21 @@
'use client';
import * as React from 'react';
-import { DashboardLayout } from '@toolpad/core/DashboardLayout';
+import Stack from '@mui/material/Stack';
+import { DashboardLayout, ThemeSwitcher } from '@toolpad/core/DashboardLayout';
import { usePathname, useParams } from 'next/navigation';
import { PageContainer } from '@toolpad/core/PageContainer';
import Copyright from '../components/Copyright';
import SidebarFooterAccount, { ToolbarAccountOverride } from './SidebarFooterAccount';
+function CustomActions() {
+ return (
+