Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Only install certain components of React Material UI

Is there a way to only install certain components of React Material UI. Especially the AutComplete component?

like image 518
Stophface Avatar asked Dec 04 '25 01:12

Stophface


1 Answers

More than "Installing", what you are looking for seems to be only adding the components you use to your final bundle when your app is built, otherwise known as Treeshaking.

There's a guide in the documentation about this that might help you out.

https://mui.com/material-ui/guides/minimizing-bundle-size/

like image 93
Luis Avatar answered Dec 06 '25 15:12

Luis



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!