Bbackstage

backstage/migrate-mui-select-family-to-bui-select

MUI 4 to BUI: Replace Select wrapper patterns with BUI Select

backstagemigrationmuibuiselectfamily
Public
0 executions

Run locally

npx codemod @backstage/migrate-mui-select-family-to-bui-select

@backstage/migrate-mui-select-family-to-bui-select

Migrates MUI Select wrapper patterns to Backstage UI Select.

Covers

  • Basic FormControl + Select + MenuItem patterns
  • Named / partial barrel imports
  • Merging into an existing @backstage/ui import
  • MUI density/size remapping (smallsmall, omitted/medium/largemedium; FormControl fallback)

TODOs / won't-do

  • Helper text edge cases (helper-text-todo)
  • Multi-select (multiple-select-todo)
  • Native select / custom renderValue

Test

bash

Ready to contribute?

Build your own codemod and share it with the community.