next js material ui rtl direction code example Example: change direction in material ui const theme = createMuiTheme({ direction: 'rtl', });