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

171
Views
Change Icon color inside the tab MUI

I am trying to change the tab icon colour of the Tab which is highlighted and keep unchanged for the rest but I am unable to figure it out. I am passing MUI component inside the icon button.

 <Tab
                icon={
                  <Icon
                    color={cinchdark}
                    name={item.icon}
                    size='small'
                  />
                }
                key={item.name}
                label = {
                  <Typography variant='button'>{item.name}          </Typography>
                }
                {...a11yProps(index)}
              />))}
          </Tabs>

WHAT I AM TRYING TO ACHIEVE

enter image description here

HOW IT IS LOOKING RIGHT NOW

enter image description here

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

0

For Icon, you can add color in classname in component

className={classes.icon}
icon: {
    color: '#F48273',
},

To change the indicator color either you can use props

TabIndicatorProps={{className: classes.tabIndicator}}

and add background color in the class or if this is from your theme you can simply add

indicatorColor="primary"
textColor="primary"

In your Tabs component.

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!