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

336
Views
React+Material UI: How to make a Box occupy all the remaining vertical space?

I'm developing a web app using React + Material UI. I have three Box components (see the code that follows). Box 1 and Box 3 have fixed heights. How can I force Box 2 to occupy the remaining vertical space?

<Box id="1" sx={{height: "90vh"}}>
    <Box id="2">
        
    </Box>
    <Box id="3" sx={{height: "50px"}}>
        
    </Box>
</Box>
about 4 years ago · Juan Pablo Isaza
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!