Skip to content

[FilledInput][Input][InputBase][OutlinedInput] Remove deprecated props and classes#48073

Closed
siriwatknp wants to merge 1 commit into
mui:masterfrom
siriwatknp:remove-deprecated-input-props
Closed

[FilledInput][Input][InputBase][OutlinedInput] Remove deprecated props and classes#48073
siriwatknp wants to merge 1 commit into
mui:masterfrom
siriwatknp:remove-deprecated-input-props

Conversation

@siriwatknp

Copy link
Copy Markdown
Member

Summary

Remove deprecated components/componentsProps props from InputBase, FilledInput, Input, and OutlinedInput.

Remove deprecated compound classes from InputBase (and inherited by Input, OutlinedInput): inputSizeSmall, inputMultiline, inputAdornedStart, inputAdornedEnd, inputHiddenLabel.

Breaking changes

Props removed:

  • components — use slots instead
  • componentsProps — use slotProps instead

Classes removed (InputBase):

  • inputSizeSmall — use .MuiInputBase-sizeSmall > .MuiInputBase-input
  • inputMultiline — use .MuiInputBase-multiline > .MuiInputBase-input
  • inputAdornedStart — use .MuiInputBase-adornedStart > .MuiInputBase-input
  • inputAdornedEnd — use .MuiInputBase-adornedEnd > .MuiInputBase-input
  • inputHiddenLabel — use .MuiInputBase-hiddenLabel > .MuiInputBase-input

Codemods available: input-base-props, input-base-classes, input-props, filled-input-props, outlined-input-props

Closes #47987 (partial — InputBase, Input, FilledInput, OutlinedInput)

@siriwatknp siriwatknp added breaking change Introduces changes that are not backward compatible. package: material-ui Specific to Material UI. labels Mar 23, 2026
@mui-bot

mui-bot commented Mar 23, 2026

Copy link
Copy Markdown

Netlify deploy preview

Bundle size report

Bundle Parsed size Gzip size
@mui/material ▼-614B(-0.12%) ▼-141B(-0.10%)
@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 7054561

@siriwatknp siriwatknp marked this pull request as draft March 23, 2026 14:19
@mj12albert

Copy link
Copy Markdown
Member

Already opened #48071 😓

@Sanjeeb555 Sanjeeb555 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@siriwatknp

Copy link
Copy Markdown
Member Author

Already

Thanks, I'm closing this one.

@siriwatknp siriwatknp closed this Mar 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. package: material-ui Specific to Material UI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[material-ui] Remove deprecated props from all components

4 participants