Metronic

The World’s #1 Bootstrap 4 HTML, Angular 8, React & VueJS

Admin Dashboard Theme Framework

Files Structure

Overview

Metronic comes with a flexible file structure that can be easily used for small to large scope projects. This section will explain Metronic's entire file structure and how to adapt it to your project.
Path Description
docThe theme documentation
themeMain theme folder
defaultDefault package folder.
[demo1]Demo's directory(e.g: demo1, demo2, demo3, ...)
distThis folder will be generated after run the gulp compile.
assetsContains generated assets (JS, CSS, images, fonts, etc.) from build tools. Refer to folder [metronic]/theme/default/[demo]/tools/gulp.config.json
index.htmlMain page template.
srcSource folder.
assetsSource folder contains the raw source code of javascript, scss, images and web font files that will be minified/concatenated by gulp tasks onto assets folder for production usage. Refer to Source File Structure below.
index.htmlMain page template.
toolsBuild tools for development and deployment
gulpThe build tools gulp tasks for bundle and minify the js and css files and compile sass files.
webpackThe build tools webpack for bundle and minify the js and css files and compile sass files.
node_modulesYarn/NPM package installation folder
build.config.jsonContains theme assets configuration in json file.
gulpfile.jsonGulp tasks main script. All the build tool tasks are grouped in this script
package.jsonYarn/NPM package manager config file
webpack.config.jsonWebpack main logic config file

Source File Structure

Below table explains Metronic's components file structure including Javascript, SCSS, etc. The table below start with the path: [metronic]/theme/default/[demo]/src/
Path Description
srcThis source folder contains the raw source code of javascript, scss, images and web font files that will be minified/concatenated upon running build tasks onto the assets folder for production usage
assetsAssets folder
jsJavascript files
componentsTheme components styles
integration3rd-party vendors that are included with the theme since they does not exist in NPM.
layoutThe theme base layout for current demo
mediaMedia files(images, videos, etc...)
plugins3rd-party vendors that are included with the theme since they does not exist in NPM.
sassSCSS files
customTheme custom style examples
globalGlobal scss files
componentsTheme components styles
integrationIntegration with 3rd party plugins or frameworks
layoutThe theme base layout for current demo
_functions.scssBase scss functions
_include.scssA file to link all other scss files structure
_init.scssBase style initialization file
_mixins.scssCommon mixins (functions) for the scss
_config.scssGlobal SASS config file
pagesCustom pages SASS files.
style.scssMain SCSS file of demo.
I run a team of 20 product managers, developers, QA and UX resources. Previously we designed everything ourselves. For our newest platform we tried out Metronic. I cannot overestimate the impact Metronic has had. It's accelerated development 3x and reduced QA issues by 50%. If you add up the reduced need for design time/resources, the increase in dev speed and the reduction in QA, it's probably saved us $100,000 on this project alone, and I plan to use it for all platforms moving forward.
The flexibility of the design has also allowed us to put out a better looking & working platform and reduced my headaches by 90%. Thank you KeenThemes! Jonathan Bartlett, Metronic Customer

Powerful Framework

Everything within Metronic is customizable globally to provide limitless unique styled projects

Multi Demo

Choose a perfect design for your next project among hundreds of demos

Limitless Components

A huge collection of components to power your application with the latest UI/UX trands

Angular 8 & React Support

Enterprise ready Angular and React integration with built-in authentication module and many more

Bootstrap 4

Metronic deeply customizes Bootstrap with native look and feel

Exclusive Datatable Plugin

Our super sleek and intuitive Datatable comes packed with all advanced CRUD features

75,000+ Strong

Metronic is the only theme trusted by over 70,000 developers world wide

Continuous Updates

Lifetime updates with new demos and features is guaranteed

Quality Code

Metronic is written with a code structure that all developers will be able to pick up easily and fall in love

The Ultimate Bootstrap Admin Theme Trusted By Over 70,000 Developers World Wide