logo
The World’s #1 Bootstrap 5 HTML,
VueJS, React, Angular, Laravel, Asp.Net Core, Blazor, Django & Flask

Admin Dashboard Ecosystem

This is Metronic 7 documentation!

Upon purchase you can get Metronic 7 version from our Github Repository.
Request Github access
The new Metronic 8 is now available with the most advanced Bootstrap 5, VueJS, React and Laravel foundation with a solid light and dark mode design system, extensive utility classes and custom made in-house components.
View Metronic 8 documentation

To use most of the Metronic build tools, Node.js LTS version is required. Version 14.x LTS is recommended. Some of the plugins and framework in Metronic v7 does not support the latest Node.js version. https://nodejs.org/en/

Angular Right-to-Left (RTL)

Overview

The RTL does not enabled by default and also the RTL CSS files does not included. You can use the prepared webpack bundler to convert the existing SCSS files into RTL CSS files. You can find the webpack.config.js in each of the Angular demo folder.

Generate RTL CSS

  1. Go to [metronic]/theme/angular/[demo]/ folder.

    cd theme/angular/demo1
  2. Run command to install Angular dependencies and extra webpack plugins for RTL generate.

    npm install
  3. Run npm script command to execute webpack with RTL.

    npm run rtl
  4. You will be able to get the bundle CSS with RTL by path: [metronic]/theme/angular/[demo]/src/assets/sass/style.angular.rtl.css. For Angular RTL to be enabled, this RTL CSS need to be included in the Angular.

  5. Open the Angular main style file from [metronic]/theme/angular/[demo]/src/styles.scss. Change the file path to RTL CSS path:

    • From: @import "./assets/sass/style.angular.scss";
    • To RTL CSS @import "./assets/sass/style.angular.rtl.css";

  6. Open the Angular index.html file from [metronic]/theme/angular/[demo]/src/index.html. Add the RTL attributes to the HTML tag.

    <html lang="en" direction="rtl" dir="rtl" style="direction: rtl">
  7. Run the Angular as usual using ng serve command.
Think About The Future, Stay Connected With Us
The More We Learn, The More We Are Able To Innovate & To Develop