Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

329
Views
How to find out style applied based on component props in material Ui v5 through browser dev tools?

In Material UI v4 I can find out which styles is applied by component props classname through browser dev tools. This makes easier for me to be able to override the spesific styles of the component. But in Material UI v5 I Didnt know which classname styles is applied browser dev tools. How can I know applied classname styles, like .MuiButton-contained in Material UI v5 ?

Button variant="contained" in Material UI v4

Button contained Material UI v4

Button variant="contained" in Material UI V5

enter image description here

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

All styles are applied to .MuiButtonBase-root-Mui-Button-root

@mui/styles is the legacy styling solution for MUI. It is deprecated in v5. It depends on JSS as a styling solution, which is not used in the @mui/material anymore.

Use the sx prop instead.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!