Bbackstage

backstage/migrate-mui-accordion-to-bui-accordion

MUI 4 to BUI: Replace Accordion with BUI Accordion (packaged with form-control codemods; Accordion is a complex component)

backstagemigrationmuibuiaccordion
Public
0 executions

Run locally

npx codemod @backstage/migrate-mui-accordion-to-bui-accordion

@backstage/migrate-mui-accordion-to-bui-accordion

Migrates MUI 4 Accordion patterns to Backstage UI Accordion.

Covers

  • Named barrel / partial barrel @material-ui/core Accordion imports
  • Simple Accordion → BUI Accordion shell
  • Merging into an existing @backstage/ui import

TODOs / won't-do

  • Complex summary content (complex-summary-todo)
  • Controlled Accordion edge cases (controlled-todo)
  • Custom Accordion wrappers / theme overrides

Test

bash

Ready to contribute?

Build your own codemod and share it with the community.