Skip to content

[docs-infra] Have inline previews for most of the demos #22484

@oliviertassinari

Description

@oliviertassinari
  • I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡

Bring "inline previews" for as many demos as possible.

Examples 🌈

Capture d’écran 2020-09-04 à 16 12 19

https://next.material-ui.com/components/buttons/#contained-buttons

Motivation 🔦

Inline previews were introduced in #17831 by @mbrookes. We have done a couple of iteration it increases their usage in the codebase. However, I believe we have never pushed it to its full potential. For instance: https://next.material-ui.com/components/accordion/.

This would match with the answers of the survey: docs - smaller demos.

Benchmark

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: importantThis change can make a difference.scope: docs-infraInvolves the docs-infra product (https://www.notion.so/mui-org/b9f676062eb94747b6768209f7751305).

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions