RTL Support
Mantine is built with emotion which supports RTL languages with stylis-plugin-rtl.
You can preview how components work with RTL direction by clicking direction control at the top right corner or pressing Ctrl + Shift + L.
Install stylis-plugin-rtl:
Add dir="rtl" to html element:
Add stylis-plugin-rtl and theme.dir to your MantineProvider:
Dynamic direction changes
To make direction dynamic, change cache key when cache changes:
RTL with Next.js
See RTL server side rendering setup in custom emotion cache guide.