Relative Content

Tag Archive for reactjsmaterial-ui

How do i remove the ActionBar at the bottom of a static date picker in MUI?

<StaticDatePicker orientation=”landscape” openTo=”day” value={selectedDate} onChange={handleDateChange} renderInput={(params) => <TextField {…params} />} /> this is my current StaticDatePicker component from MUI, and i want to get rid of the cancel/ok button at the bottom of it, which i assume belongs to the PickersActionBar component. I have tried to alter the components by adding components={{ PickersActionBar: null }} […]

MUI DateTimePicker component styling

I’m working on a project using Material UI (MUI) and specifically the DateTimePicker component from the @mui/x-date-pickers package. I’d like to change the colors of the AM/PM buttons.

Skicky Footer Incorrect Placement in React

Would appreciate if someone could help me understand the problem. I have a simple webpage with MUI components, and I would like to add a sticky footer at the very bottom.

Is it possible to add vertical scroll to TextField select options?

I’m using MUI in my project and I have this form in a modal with a select TextField component in it. Since there is 20 options for this select, depending on the screen size, the options list sometimes (vertically) overflows the modal. I would like the options list to be scrollable if it overflows the modal. Is it doable with a MUI TextField ?

How to target .Mui-selected state class using CSS modules

I would like to customize the selected tab of the MUI Tabs component. My styling choice is CSS modules. But I have difficulties applying the correct selector. I have also applied their CSS injection order so that I can customize the styles according to the docs.

React MUI v5 Grid spacing not applied evenly

I have a grid with spacing=2 that contains 2 text fields per row but I noticed that the spacing was only applied to the left of each text field and not at the end to the right of the second text field of each row.