volto icon indicating copy to clipboard operation
volto copied to clipboard

add className prop to each `Sidebar` tab for individual customization.

Open alexandreIFB opened this issue 6 months ago • 1 comments

Description:

Currently, the Sidebar component does not identify each tab individually with a className or similar property. This makes it difficult to apply specific customizations or hide tabs via CSS.

Motivation:

In my case, I am using column blocks that have issues in the "Order" tab, and we need to hide it. If it were possible to add a specific class to each tab, it would be feasible to customize or hide tabs as needed.

Suggestion:

Add a className prop to each tab, allowing individual customization via CSS.

Closes #7194

alexandreIFB avatar Jun 13 '25 13:06 alexandreIFB

@alexandreIFB there are failing tests that need to be fixed before merge.

stevepiercy avatar Jun 13 '25 21:06 stevepiercy