Custom Providers let your extension wrap parts of the Dashboard UI in your own React provider components. This is useful when you need to inject cross-cutting concerns like custom context, feature flags, error boundaries, telemetry, or theming that should apply to dashboard pages.
A custom provider is a React component that receives children and returns a wrapped subtree:
You register it via defineDashboardExtension():
locationEach provider can target one of two places:
location: 'app': wraps the whole application (the highest level available to extensions).location: 'layout': wraps the main content area of the authenticated layout (the <Outlet /> subtree). The sidebar and header are outside this wrapper.If location is omitted, it defaults to 'app'.
orderProviders at the same location are sorted by order (ascending).
order values are rendered outermost / earlier.order values are rendered innermost / later.If order is omitted, it defaults to 0.
ErrorBoundary around parts of the dashboard