Skip to main content
Version: Next

How to Add an Entry to the Left Sidebar

Overview

This example demonstrates how to add a heart icon to the left sidebar of the Pimcore Studio UI.

Screenshot

Heart Icon ExampleHeart Icon ExampleHeart Icon Example

Details

New entries to the left sidebar can be added via the ComponentRegistry service from the DI container and the leftSidebar.slot slot. In this example, a heart icon is added, and clicking on it triggers a modal message.

Code Example on GitHub

Left sidebar icon example on GitHub.