Skip to content

[Base] Slot class names are inconsistent #33260

@mapache-salvaje

Description

@mapache-salvaje

Current behavior 😯

As I've been documenting the component slots and their classes in the MUI Base docs (#33156), I've noticed that the format for class names is inconsistent across the components. Variations on the theme include:

Expected behavior 🤔

I would expect these names to all have the same format.


Personally, I think it should be something like MuiBaseComponentName, e.g. MuiBaseButtonUnstyled, MuiBaseTrapFocus.

Metadata

Metadata

Assignees

Labels

package: @mui/baseSpecific to @mui/base (legacy).type: bugIt doesn't behave as expected.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions