How to use the widget manager
Overview
This example demonstrates how to utilize the widget manager in Pimcore Studio UI.
Screenshot
Details
There are two key components for using the widget manager:
- The
WidgetRegistry
, where you can register a React component under a specific name. - The
useWidgetManager
hook, which allows you to open registered widgets. It also lets you decide in which of the four areas (main, left, bottom, right) the widget should be opened.