RTL Layout

Framework7 has full support for RTL (right to left) languages like Arabic and Hebrew. To enable RTL mode you simply need to include CSS file with RTL styles instead of usual one and add dir="rtl" attribute on html element:

  1. <!DOCTYPE html>
  2. <html dir="rtl">
  3. <head>
  4. ...
  5. <title>My App</title>
  6. <!-- Path to Framework7 RTL stylesheet -->
  7. <link rel="stylesheet" href="path/to/framework7.bundle.rtl.min.css">
  8. <!-- Path to your custom app styles-->
  9. <link rel="stylesheet" href="path/to/my-app.css">
  10. ...

Note that all RTL “mirrors” in RTL mode are made using CSS only, so you should not change order of HTML elements and keep it in LTR way.