Skip to content

[docs] Make Demo component product-agnostic#47635

Open
Janpot wants to merge 5 commits intomui:masterfrom
Janpot:docs/demo-context-refactor
Open

[docs] Make Demo component product-agnostic#47635
Janpot wants to merge 5 commits intomui:masterfrom
Janpot:docs/demo-context-refactor

Conversation

@Janpot
Copy link
Member

@Janpot Janpot commented Jan 17, 2026

Stepping stone towards moving this component to @mui/docs.

  • Move product aware logic out of the demo component and into demo context.
  • Instantiate context in _app.js with corrcet parameters per product

This will allow us to move to @mui/docs without bringing any joy ui product along.

@Janpot Janpot changed the title [docs] Make Demo component product-agnostic via DemoContext [docs] Make Demo component product-agnostic Jan 17, 2026
@mui-bot
Copy link

mui-bot commented Jan 17, 2026

Netlify deploy preview

https://deploy-preview-47635--material-ui.netlify.app/

Bundle size report

Bundle Parsed size Gzip size
@mui/material 0B(0.00%) 0B(0.00%)
@mui/lab 0B(0.00%) 0B(0.00%)
@mui/system 0B(0.00%) 0B(0.00%)
@mui/utils 0B(0.00%) 0B(0.00%)

Details of bundle changes

Generated by 🚫 dangerJS against 6f8506a

@Janpot Janpot added the docs Improvements or additions to the documentation. label Jan 17, 2026
@zannager zannager added the scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd). label Jan 19, 2026
@zannager zannager requested a review from siriwatknp January 19, 2026 15:28
@Janpot Janpot requested a review from a team January 22, 2026 10:32
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to the documentation. PR: out-of-date The pull request has merge conflicts and can't be merged. scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants