Skip to content

[core] Remove GridLegacy component#47956

Open
siriwatknp wants to merge 4 commits intomui:masterfrom
siriwatknp:remove-grid-legacy
Open

[core] Remove GridLegacy component#47956
siriwatknp wants to merge 4 commits intomui:masterfrom
siriwatknp:remove-grid-legacy

Conversation

@siriwatknp
Copy link
Member

Summary

  • Remove the deprecated GridLegacy (v1 Grid) component entirely: source, types, tests, docs, demos, and API translations
  • Remove MuiGridLegacy from theme components types (ComponentsProps, ComponentsOverrides, ComponentsVariants)
  • Migrate premium theme examples (onepirate, paperbase) from GridLegacy to Grid v2 API
  • Add breaking change entry to upgrade-to-v9 migration guide

Test plan

  • Verify @mui/material builds without GridLegacy exports
  • Verify docs site builds without grid-legacy pages
  • Verify premium theme examples render correctly with Grid v2
  • TypeScript compilation passes without GridLegacy types

Remove the deprecated GridLegacy (v1 Grid) component, its docs,
tests, theme types, and all references. Migrate premium themes
from GridLegacy to Grid v2 API.
@mui-bot
Copy link

mui-bot commented Mar 12, 2026

Netlify deploy preview

Bundle size report

Bundle Parsed size Gzip size
@mui/material ▼-4.78KB(-0.92%) ▼-1.47KB(-0.97%)
@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 5b31d81

@siriwatknp siriwatknp added breaking change Introduces changes that are not backward compatible. component: Grid The React component. package: material-ui Specific to Material UI. v9.x labels Mar 12, 2026
@zannager zannager requested a review from DiegoAndai March 12, 2026 13:58
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Mar 13, 2026
@siriwatknp siriwatknp removed the request for review from DiegoAndai March 13, 2026 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Introduces changes that are not backward compatible. component: Grid The React component. package: material-ui Specific to Material UI. PR: out-of-date The pull request has merge conflicts and can't be merged. v9.x

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants