Skip to content

[Grid] Remove deprecated system props#47846

Merged
siriwatknp merged 12 commits intomui:masterfrom
siriwatknp:fix/grid-system-props-31105
Feb 24, 2026
Merged

[Grid] Remove deprecated system props#47846
siriwatknp merged 12 commits intomui:masterfrom
siriwatknp:fix/grid-system-props-31105

Conversation

@siriwatknp
Copy link
Member

@siriwatknp siriwatknp commented Feb 24, 2026

closes #31105

Sandbox: https://stackblitz.com/edit/jjq9lrbh?file=src%2FDemo.tsx

Breaking changes

  • Remove extendSxProp from Grid, which was consuming props like color and converting them to sx styles instead of forwarding them to the rendered component
  • Remove SystemProps<Theme> from Grid type definitions
  • Remove deleteLegacyGridProps utility and its legacy prop warnings (item, zeroMinWidth, breakpoint props)

Note

The deprecation starts since v7

@mui-bot
Copy link

mui-bot commented Feb 24, 2026

Netlify deploy preview

Bundle size report

Bundle Parsed size Gzip size
@mui/material ▼-182B(-0.04%) ▼-65B(-0.04%)
@mui/lab 0B(0.00%) 0B(0.00%)
@mui/system ▼-182B(-0.26%) ▼-59B(-0.23%)
@mui/utils 0B(0.00%) 0B(0.00%)

Details of bundle changes

Generated by 🚫 dangerJS against c445a29

@siriwatknp siriwatknp added breaking change Introduces changes that are not backward compatible. v9.x scope: system The system, the design tokens / styling foundations used across components. eg. @mui/system with MUI package: material-ui Specific to Material UI. component: Grid The React component. labels Feb 24, 2026
@siriwatknp siriwatknp merged commit 12ea064 into mui:master Feb 24, 2026
23 checks passed
@siriwatknp siriwatknp changed the title [Grid] Remove system props support [Grid] Remove deprecated system props Feb 24, 2026
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. scope: system The system, the design tokens / styling foundations used across components. eg. @mui/system with MUI v9.x

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Button] Color prop is not passed to Button when used in Grid as component

3 participants