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

667
Views
How can I override the styling of an MUI checkbox which I have not written?

I am using Material-Table to display data. I am using the columnsButton property in table options to allow users to hide columns. I want to override the checkboxes that appear to align with my color scheme.

The columnsButton property adds this small icon next to the search bar. Clicking it opens the popover seen below. Unchecking the options here will hide columns from the table. I do not have to write any extra code for this popover. It is a native feature of Material-Table.

I want to change the border color and checked color of these checkboxes to match my color theme.

enter image description here

Here is my table:

            <MaterialTable
                title=""
                data={intakes.intakes}
                columns={columns}
                icons={tableIcons}
                options={{
                    columnsButton: true
                }}
            />

enter image description here

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

0

You can use ThemeProvider to override the default css.
Codesandbox link : https://codesandbox.io/s/material-table-review-forked-06y5zf

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!