Warning
You're browsing the documentation for an old version of Webiny. Consider upgrading your project to Webiny 5.41.x.
Admin Area > Extending Functionality
Custom Dashboard
Learn how to replace the default Dashboard, and implement a custom one.
Can I use this?
This feature is available since Webiny v5.33.0.
What you’ll learn
- how to replace the default Webiny dashboard
Overview
Replacing the default dashboard is a very quick and straightforward process. The @webiny/app-serverless-cms
packages exposes a Dashboard
component, which you can decorate using the createComponentPlugin
utility, and replace the contents of the whole dashboard.
Replace the Default Dashboard
To replace the dashboard, go to apps/admin/src/App.tsx
in your Webiny project, and apply the following code changes:
apps/admin/src/App.tsx
When your custom component is rendered, it has access to all context providers within the Admin app, so you’re free to do whatever you need. In this example, we fetch the current identity to display the user’s name.