mui / mui/material-ui

[docs][system] Provide Custom Component demo without `styled-components`

Open
#38,616 4 comments 0 reactions 1 assignee View on GitHub

@mnajdova is already working on this.

Since Aug 24, 2023.

docs scope: system support: docs-feedback
Dominant language
JavaScript
Stars
99.1k
Forks
32.5k
Avg merge
2d 17h
Merged PRs (30d)
106

Description

Duplicates
  • I have searched the existing issues
Related page

https://mui.com/system/getting-started/custom-components/

Kind of issue

Other

Issue description

Installing @mui/system tells you that Emotion is the default styling engine. It is weird to me how a few demoes later on the Custom Components page, the demo is then written with Styled Components instead.

There should be more consistency in what is recommended, and the docs should adhere to that. Demoes using other tools can (and should of course) still be included, but right now it feels like the documentation tells you "here is what we recommend, and here is why you were wrong to follow our recommendation because now we'll do it the other way".

Context 🔦

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.