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

207
Views
how to use react material ui component in plain vanilla javascript

Problem statement

  1. so I have a plain javascript project and I have been assigned to that project to do some modifications in that application,

  2. they want to use react component in their plain javascript application.

  3. so I have to replace all buttons in the plain javascript application with react component (I can used material UI button ) and all card and header components also have to be replaced.

  4. condition is no need to create new react application, use existing javascript application and do some modifications

document.getElementById('container').innerHTML= `<div>
<div id = 'button'><div>
</div>`

document.getElementById('button').innerHTML= `<button>click me</button>`;
<button>hello</button>
<div id = 'container'></div>

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

0

You can't. Material UI is a react framework.

If you just want to add material looking buttons to your vanilla application, try something like materialize.

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!