The ULTIMATE guide to styling/customizing Material UI (MUI)

Поделиться
HTML-код
  • Опубликовано: 7 фев 2025
  • Have you ever struggled with customizing/styling Material UI (MUI) components? When you start out (and even later on) it can be a very common issue. So in this video I'm explaining all different methods for styling and customizing, when to use each technique and more advices. You'll learn everything you need to never struggle anymore!
    If you found this video helpful,
    please give it a like 👍 and subscribe 📨 for more.
    ⏰ Timestamps
    0:00 Intro
    1:13 Method 1: Component props (API)
    2:32 Method 2: Sx prop
    3:20 Method 3: Styled function
    3:40 Method 4: Css function
    3:52 Method 5: CSS stylesheet
    3:59 Method 6: CSS Modules
    4:07 Method 7: Theming
    5:07 Theme Palettes
    7:45 Styling best practices and tips
    8:38 Styling complex components
    10:00 Outro
    🐦 Follow me on Twitter
    / 0xandriy
    🎵 Where I get my music from
    Epidemic Sound: www.epidemicso....
    🤝 Services I use
    NordVPN - go.nordvpn.net...
    🎥 My gear
    Monitor - Dell S3423DWC 34
    amzn.to/3XcAXuR
    Headphones - AKG K240 Studio
    amzn.to/3J7vAZJ
    Earbuds - Jabra Elite 4 Active
    amzn.to/3Hm4k8M
    Mic - HyperX SoloCast
    amzn.to/3QLS6tg
    Keyboard - Apple Magic Keyboard
    amzn.to/3GDz9UO
    Trackpad - Apple Magic Trackpad
    amzn.to/3CQAq9P
    Camera - Sony a6400
    amzn.to/3w4d7Wf
    Lens 1 - Sony 16-50mm f/3.5-5.6
    amzn.to/3iDSk99
    Lens 2 - Sony - FE 50mm F1.8 Standard Lens
    amzn.to/3GHFheU
    Lens 3 - Samyang SY12M-E-BK 12mm F2.0
    amzn.to/3WclDgM
    📬 Inquiries (Collabs, Sponsorships etc.)
    frontstartdev@gmail.com

Комментарии • 109

  • @frontstartdev
    @frontstartdev  Год назад +11

    Found this helpful? You can support me with a coffee ☕ bmc.link/frontstart
    What other MUI/Material UI topic do you want me to cover?

  • @samiroutka
    @samiroutka Год назад +21

    Before I have seen the views of the video, I thought that the video has at least 300k views. The quality is so good

  • @ehsanmz5725
    @ehsanmz5725 Год назад +21

    As a react developer who is new in MUI, this video is a reference by it's own.

  • @realdiegor
    @realdiegor Год назад +5

    The docs are overwhelming at first without a guide through. Your video was just perfect. Thanks.

  • @TomCodeur
    @TomCodeur 11 месяцев назад +8

    Thanks, that's more helpful than the official doc 😁

  • @shubhamrathore2675
    @shubhamrathore2675 9 дней назад

    Please make a separate video for theming and man you really nailed it for me thank yoi very much for creating this video

  • @foveromw
    @foveromw Год назад +1

    Recently, I searched for some videos to learn MUI customization. Suddenly, RUclips suggested your channel to me. I learned so much from your videos, and it was worth spending my time.

  • @shaungould8793
    @shaungould8793 Год назад +7

    Sooooo helpful, thank you! I would def watch a more in-depth video on the theme abstraction.

  • @code-websites
    @code-websites Год назад +2

    People are trying to explain this whole stuff in hours but bro nailed it in 10 Minutes🔥😍

  • @JoelRdz
    @JoelRdz Год назад +3

    I saw your Learn MUI video and got amazed as how well you explain and this is no different, very useful not just for styling MUI, but for styling in React in general , I hope you make that theming video

    • @frontstartdev
      @frontstartdev  Год назад +1

      Thanks for the kind words! I sure will 👍

  • @saileeladharsaranam1992
    @saileeladharsaranam1992 4 месяца назад

    Thanks alot for making this video short and Informative. Now I am confident enough to make decitions while applying styles to mui components

  • @Prashant-Dedha
    @Prashant-Dedha 9 месяцев назад

    Thanks for the short overview of customizing MUI components. The 2-hour and 4-hour tutorials seamed very overwhelming to start with but now I after watching this I'm more confident to deep dive into docs and actual projects. Thanks a lot.

  • @bulwinkel
    @bulwinkel Год назад +6

    Great video, thank you! Between this and your Learn MUI in under 10 mins video I have worked out that I have been doing it all wrong 😂

    • @frontstartdev
      @frontstartdev  Год назад +3

      Haha there is always something to learn 😁 glad you found it helpful!

  • @shaungould8793
    @shaungould8793 Год назад

    I also want to mention that the ten minute video format your using is perfect imo

  • @dule88rs
    @dule88rs 11 месяцев назад

    Great video!
    I think you should do more videos on these topics.
    Maybe something around themes, or how to organize styling in a project, etc.

  • @neovickson
    @neovickson Год назад

    I didn't understand mui until I saw two of your videos, epic 🔥
    I'll be looking out for your videos 💯

  • @joshDotJS
    @joshDotJS 9 месяцев назад +1

    Very useful and consice video! Since there are so many ways to do responsiveness in MUI, can you please create a video covering the pros and cons of each way of applying responsive styles?

  • @Sam-km9jl
    @Sam-km9jl Год назад

    You made it so easy, gotta learn some MUI tips from you, subscribed! And thanks for the great content!

  • @GurpreetHanjra
    @GurpreetHanjra Год назад

    Answered most of the questions. Great video.
    Would love to know more about theming in depth. Thanks

  • @fabiojonathanarifin1
    @fabiojonathanarifin1 Год назад

    very straightforward, fun, and valuable informations here! amazing tutorial, I wish all tutorial could be like this.

  • @janardanpethani5755
    @janardanpethani5755 Год назад +1

    Sure, would like to have a dedicated video on createTheme.

  • @habibbel2048
    @habibbel2048 10 месяцев назад

    Useful video. We look forward to other special videos like themes and treeview and datagird

  • @Igor-km5qp
    @Igor-km5qp 10 месяцев назад

    Nice concise tutotiral, thanks a lot for dividing different methods.

  • @_Squiggle_
    @_Squiggle_ 4 месяца назад

    Really good overview! Thank you!

  • @kekoHere0610
    @kekoHere0610 9 месяцев назад

    Hey, I can't find the video on Theming. I hope it's uploaded soon. This video was very helpful. Thanks for helping out beginners like us. Subscribed !!

  • @AttiqaZaki1
    @AttiqaZaki1 2 месяца назад

    Kindly add some more Videos about MUI. It really helps me.

  • @haroldriera5625
    @haroldriera5625 9 месяцев назад

    A video on theme customization in detail 💯🔥

  • @MohamedMahmoud-pe6qm
    @MohamedMahmoud-pe6qm Год назад +1

    Really Amazing Video , you earned yourself a new subscriber.

  • @sujeetkumaryadav9600
    @sujeetkumaryadav9600 7 месяцев назад

    great content that I was looking for!! Thank you so much....

  • @willysyafiq4863
    @willysyafiq4863 Год назад

    Thanks man, it's concise and easy to understand

  • @jssecrets
    @jssecrets 11 месяцев назад

    You are a good explanator man!

  • @dinesh.p8642
    @dinesh.p8642 Год назад

    I love you FrontStart. Thank you!!

  • @matheus-il
    @matheus-il Год назад

    Thank you so much! Please make a video just about theming

  • @fernandonogueira2291
    @fernandonogueira2291 Год назад

    Amazing video, man! Thanks for that!

  • @francisboudreau7524
    @francisboudreau7524 Год назад

    It would be really great if you make a complete video on theming 👏🏻👏🏻👏🏻

  • @amancharlamanas3812
    @amancharlamanas3812 Год назад +1

    Keep making more useful videos, Thanks a lot!

  • @marcosantoniovitaldelima3774
    @marcosantoniovitaldelima3774 6 месяцев назад

    Great video, man! Thanks!

  • @Ashish_singh_dev
    @Ashish_singh_dev Год назад

    You got a sub 😅, would love to see detailed MUI theming

  • @Ouail-Ocf
    @Ouail-Ocf Год назад +1

    This was so beneficial , thanks a lot !

  • @jacobstrength3945
    @jacobstrength3945 Год назад

    Crazy useful video. Thank you so much for the content.

  • @Lokacodes
    @Lokacodes 10 месяцев назад

    super helpful for a beginner like me. Thanks!

  • @ezequielvallejo9352
    @ezequielvallejo9352 8 месяцев назад

    Nice for a first approch, thanks!

  • @soldadopreciso
    @soldadopreciso Год назад

    Thanks pal. Very useful video.

  • @FaramarzF.R
    @FaramarzF.R 11 месяцев назад

    Thanks ❤.
    Please make more videos of your experiences.

  • @ramiov3862
    @ramiov3862 Год назад

    Thanks so much man ... that was super helpful.

  • @yehudamakarov
    @yehudamakarov Год назад

    That was perfect but I wanted more explanation of the last part and how the & works and how the : stuff works!

  • @juanmacias5922
    @juanmacias5922 Год назад

    Such a detailed video! Thank you!

  • @lazycode7
    @lazycode7 Год назад

    Really helpful bro, Thanks a lot ❤❤

  • @mohsenazimi-k9h
    @mohsenazimi-k9h 10 месяцев назад

    that was very useful, Thanks a lot.

  • @rhymeskiduniya521
    @rhymeskiduniya521 9 месяцев назад

    need more detailed video on theme and styled components

  • @kirilkirchev285
    @kirilkirchev285 Год назад

    Great video - straight to the points & perfect example. Covers from zero to hero in less than 10min

  • @daniel.dushev
    @daniel.dushev Год назад

    great video, keep the good work

  • @kekoHere0610
    @kekoHere0610 9 месяцев назад

    Thanks a lot. It helped a lot.

  • @mario_luigie4593
    @mario_luigie4593 11 месяцев назад

    Super, thank you !

  • @slava3234
    @slava3234 Год назад

    Thank you, mate 💪🏼

  • @masoudharooni2989
    @masoudharooni2989 Год назад

    that was awsome, please make it about Ant design.

  • @mateustoledo2835
    @mateustoledo2835 Год назад

    Great video!

  • @kiransp3294
    @kiransp3294 Год назад

    love from India brother ❤

  • @jorgejorge8878
    @jorgejorge8878 8 месяцев назад

    Great content. Subscribed.

  • @vivekbhatt3932
    @vivekbhatt3932 Год назад

    Helpful Video 👍🏻

  • @kaanakyuz5801
    @kaanakyuz5801 Год назад +1

    Would it make more sense to use all the css of my project in a single css file, or would it make more sense to use sx in each page? Apart from all this, would it make sense to create piecemeal css codes in themes.js and call them in sx on my pages?

  • @abhinavkumar8683
    @abhinavkumar8683 Год назад

    It's too helpful Thanks

  • @abdalrahman_shebani
    @abdalrahman_shebani Год назад

    Thanks for your video, how do we know when to use sx vs styled ?

  • @azharsiddiqui3055
    @azharsiddiqui3055 Год назад

    Hey bro please make some tutorials on material ui with projects using typescript with customisation as well

  • @LucasGuimarãesdaCruzMarques
    @LucasGuimarãesdaCruzMarques 5 месяцев назад

    Hey, I really liked your video-it was super helpful! But I still feel like there’s a lack of content about customizing Material UI themes, especially since so many people use it.
    I have to use it daily, and I find the documentation really bad. It doesn't explain anything! I always get stuck somewhere and end up having to 'invent' a solution.

  • @_tanzil_
    @_tanzil_ 3 месяца назад

    How do you add some custom colors with custom names

  • @y0na24
    @y0na24 Год назад

    its great video, thanks!

  • @MaxI-fw1vv
    @MaxI-fw1vv Год назад

    Could you tell please how to customize IconButton. It doesn’t work for me for some reason

  • @DhruvaAgarwal-l8l
    @DhruvaAgarwal-l8l Год назад

    Great video

  • @HariNair108
    @HariNair108 2 месяца назад

    How can I use Figma code connect wthi MUI components?

  • @MrProgrammer101
    @MrProgrammer101 Год назад

    Why does styling set in sx getting overridden by the theme?

  • @amey4521
    @amey4521 Год назад

    Hey, how I merge two themes? I have a chakrui theme and a material ui theme. How I exactly use deepmerge ? Can anyone help

  • @mr.random8447
    @mr.random8447 Год назад

    Can you make video on CSSVarsProvider?

  • @map3056
    @map3056 Год назад

    awesome video

  • @skan90
    @skan90 8 месяцев назад

    Amazing! Thank you very much for that, got a subscriber! Cheers from BRazil!

  • @510218sk
    @510218sk 9 месяцев назад

    Im having a portfolio project on an e- commerce web in a code boot camp. Really struggle on building or even simply cloning from one .Im using React and MUI, just trying to make landing page, item-list page, cart page, checkout page, and login page , but almost get depressed to smash my lap...do you have any advice for me? Just cant hold much of my negative, sorry...

  • @jayakrishnav420
    @jayakrishnav420 Год назад

    I am getting Invalid hooks call error , please help me to solve this problem

  • @rayforever
    @rayforever 6 месяцев назад

    Mui better put your video link in their docs 😂, and bhoom all the dev will began using MUI,
    Man if I haven't found your video I would've switched to nextUI or bootstrap.

  • @ДаринаМеркулова-г3и

    Please help us 🙏, we want to know more information. Maybe you can understand how to do a select with search, for example. I really need this because I will go crazy while doing it. How we can change label, delete animation, etc

    • @frontstartdev
      @frontstartdev  Год назад

      Привіт! Sure. Are you looking for something like this?
      mui.com/material-ui/react-autocomplete/

  • @lukasspfc18
    @lukasspfc18 Год назад

  • @makaim680
    @makaim680 Год назад

    What site is that where you are looking up your colors with the shades.

    • @frontstartdev
      @frontstartdev  Год назад

      on the mui website go to customization/color/

  • @tomasburian6550
    @tomasburian6550 6 месяцев назад

    Still a lot of ground to cover. I think the hardest is to know how to restyle the components based on client's needs. Sometimes they have a specific schema or company colors they want to implement and then the hard work of targeting classes and subclasses begins.

  • @sankalpsaxena4300
    @sankalpsaxena4300 Год назад

    It good bro

  • @ภูมินทร์ชาญนรา-ง7ฬ

    เข้าใจง่ายมาเลยครับ

  • @emanojbisht
    @emanojbisht Год назад

    While using modules on Button some of the styles dont apply like padding margin color does not. Change

    • @frontstartdev
      @frontstartdev  Год назад

      What do you mean by that? Can you give some details and context?

    • @emanojbisht
      @emanojbisht Год назад

      @@frontstartdev I am new to MUI previously I used to work with css modules for styling. So when I change the style of mui button through css modules by prop name className only thing I am able to change is width. Color, margin ,padding does not change with css module

  • @pavelgilmutdinov6988
    @pavelgilmutdinov6988 Год назад

    hi what about MakeStyles hook ? Thx

  • @MubashirullahD
    @MubashirullahD 10 месяцев назад

    Great

  • @YstmioGaona0505
    @YstmioGaona0505 6 месяцев назад

    ¿Derecha?, anti dictadura diría yo.

  • @DYTVLOGGING
    @DYTVLOGGING Год назад

    make a cheatsheet of these .

  • @Mw-od6sd
    @Mw-od6sd 15 дней назад

    MUI IS A HORROR SHOW

  • @Mw-od6sd
    @Mw-od6sd 15 дней назад

    LOTS OF GOOD STUFF YOU MENTION BUT ALSO LOTS OF BAD THE DOM BLOAT IS OUTTA CONTROL AND TARGETING SPECIFIC CLASSES AND NESTED CLASSES IS SUPER ANNOYING.
    Maybe show the Textfield WHICH IS HELL

  • @Mw-od6sd
    @Mw-od6sd 15 дней назад

    YES BUT THEN YOUR JSX IS EXCEEDINGLY UGLY!!!! With a ton of PROPS INSIDE IT. THEREFOR I PREFER SIMPLE BOX SHADOW: NONE IN CSS !!! Or you need to globally disable it in theme .
    THIS VIDOE IS MISLEADING

  • @Mw-od6sd
    @Mw-od6sd 15 дней назад

    There focus on TOUCH FORCES EVERYTHING TO START OFF t 48 PIXELS VERRY ANNOYING . MAJOR DOM BLOAT NESTED CLASSES HELL. Rippple should be default to disabled and only when added in
    I AM AN WXPERT TRUST ME IT SUCKS SWITCH TO MANTINE

  • @kacperkepinski4990
    @kacperkepinski4990 10 месяцев назад

    shit

  • @cdavidmore
    @cdavidmore 6 месяцев назад +1

    I saw your Learn MUI video and got amazed as how well you explain and this is no different, very useful not just for styling MUI, but for styling in React in general , I hope you make that theming video

  • @cristianohenriqueamorim8179
    @cristianohenriqueamorim8179 9 месяцев назад

    Great! Thanks!