Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] List slots in MUI Base components documentation #35791

Closed
michaldudak opened this issue Jan 11, 2023 · 0 comments · Fixed by #36104
Closed

[docs] List slots in MUI Base components documentation #35791

michaldudak opened this issue Jan 11, 2023 · 0 comments · Fixed by #36104
Assignees
Labels
customization: css Design CSS customizability docs Improvements or additions to the documentation package: base-ui Specific to @mui/base
Milestone

Comments

@michaldudak
Copy link
Member

michaldudak commented Jan 11, 2023

Problem

When landing on https://mui.com/base/api/select-unstyled/, as a developer you have no ways to know which class names you can target to customize. It was left as feedback in https://mui-org.slack.com/archives/C041SDSF32L/p1673303855354929

Screenshot 2023-01-11 at 15 39 49

Proposed solution

Add a section listing all the available slots to all of the Base components' docs. It would be similar to https://mui.com/x/api/data-grid/data-grid-pro/#slots. It wouldn't provide which class names are available, but since they follow the same convention as the slots, this should already help a lot, maybe killing two birds with one stone.

@michaldudak michaldudak added docs Improvements or additions to the documentation package: base-ui Specific to @mui/base labels Jan 11, 2023
@michaldudak michaldudak added this to the MUI Base stable release milestone Jan 11, 2023
@michaldudak michaldudak self-assigned this Jan 11, 2023
@oliviertassinari oliviertassinari added the customization: css Design CSS customizability label Jan 11, 2023
@hbjORbj hbjORbj assigned hbjORbj and unassigned michaldudak Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customization: css Design CSS customizability docs Improvements or additions to the documentation package: base-ui Specific to @mui/base
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants