Discussion on Metronic | Tailwind, Bootstrap, React, Next.js, Vue, Angular, Laravel Admin Dashboard HTML Template

Discussion on Metronic | Tailwind, Bootstrap, React, Next.js, Vue, Angular, Laravel Admin Dashboard HTML Template

Cart 119,846 sales
Recently Updated
Well Documented

keenthemes supports this item

Supported

This author's response time can be up to 1 business day.

12208 comments found.

Dears, I’m using Demo 5 in version 7.. https://preview.keenthemes.com/metronic/demo5/index.html but in version 8 the Demo 5 not the same in previous https://preview.keenthemes.com/metronic8/demo5/index.html

why??

Hi :),

Thanks for your interest in Metronic. This demo will be released as demo 17 in Metronic 8 in the next week. Please stay tuned!

Regards, Sean

Hi, how to delete the width of aside bar in metronic 8 demo 10?

Hi,

Could you please clarify your question ? Do you need to reduce the aside menu bar width or completely remove it ?

Regards, Sean

Hi, Do you have any plan to upgrade react-router to v6?

Hi,

Yes, we are planning to update the react-router in upcoming releases.

Regards,
Lauris

Hi there. Is there anyway to make laravel route URLs as a path for the menu in config/global/lmenu ??

Hi,

Could you please clarify your issue in details?

Thanks

in the menu page config here : https://i.ibb.co/Fwc9kjn/SNAG-0003.png

I can only type in the static path for the menu item, for example : tax/create. As I try to put the route URL which is {{ route(tax.create) }}, the rendering of the URL doesn’t come right, the URL of the menu item become : 127.0.0.0.0/”à_(èroute(tax.create)à)à)à and leads to a 404.

Hi,

In the menu.php config, you have to specify the path. route function does not support.

Thanks

Hello,

I am having trouble downloading the metronic 7. It only downloads 8 version.

Hi :),

Thanks for your interest in Metronic.

Please provide us your github username and we will grant you access to our private repo to download Metronic’s previous versions.

Regards, Sean

github username : devgr24

thanks for your help :)

Sir, can you teach me how to implement like sweetalert, countUP and drawer on project vue using template demo1

Hi,

The sweetalert plugin is already implemented, you can check usage example in file demo1/src/components/modals/forms/AddCustomerModal.vue. Also, you can find more examples in the official doc: https://sweetalert2.github.io/

For the drawer, we are using our custom component which is located in the folder: vue/demo1/src/assets/ts/components/_DrawerComponent.ts.

To use this component you need configurate it using attributes shown below:

data-kt-drawer="true" 
data-kt-drawer-name="chat" 
data-kt-drawer-activate="true" 
data-kt-drawer-overlay="true" 
data-kt-drawer-width="{default:'300px', 'md': '500px'}" 
data-kt-drawer-direction="end" 
data-kt-drawer-toggle="#kt_drawer_chat_toggle" 
data-kt-drawer-close="#kt_drawer_chat_close" 

Since a countUp plugin requires jQuery we haven’t added it into Vue as an alternative you can use vue3-count-to plugin. https://www.npmjs.com/package/vue3-count-to

Regards,
Lauris

#metronic8. I used css, js in laravel version, and html of html version. It working, but I try with datatables, I have an error $(...).DataTable is not a function. <script type="text/javascript" src="{{ asset('assets/plugins/custom/datatables/datatables.bundle.js') }}"></script> <script type="text/javascript" defer src="{{ asset('assets/js/custom/user-management/users/list/table.js') }}"></script> <script type="text/javascript" defer src="{{ asset('assets/js/custom/user-management/users/list/export-users.js') }}"></script> <script type="text/javascript" defer src="{{ asset('assets/js/custom/user-management/users/list/add.js') }}"></script> custom javascript I copy from html version to extended/js/custom folder. What wrong in here? pls help me.

Hi, :)

Could you please try to remove “defer” from the js include?

Thanks

yeap. I add ‘defer’ when I try do it working. But it’s still not working. <script type="text/javascript" src="{{ asset('assets/plugins/custom/datatables/datatables.bundle.js') }}"></script> <script type="text/javascript" src="{{ asset('assets/js/custom/user-management/users/list/table.js') }}"></script> <script type="text/javascript" src="{{ asset('assets/js/custom/user-management/users/list/export-users.js') }}"></script> <script type="text/javascript" src="{{ asset('assets/js/custom/user-management/users/list/add.js') }}"></script> <script type="text/javascript" src="{{ asset('assets/js/custom/widgets.js') }}"></script> if I move code from table.js file to datatables.bundle.js file. It working (before wrong in table.js file). I think table.js loaded before datatables.bundle.js loading. I think may be something like that noscript??? <link rel="preload" href="{{ asset('assets/plugins/global/plugins.bundle.css') }}" as="style" onload="this.onload=null;this.rel='stylesheet'" type="text/css"> <noscript> <link rel="stylesheet" href="{{ asset('assets/plugins/global/plugins.bundle.css') }}"> </noscript> <link rel="preload" href="{{ asset('assets/plugins/global/plugins-custom.bundle.css') }}" as="style" onload="this.onload=null;this.rel='stylesheet'" type="text/css"> <noscript> <link rel="stylesheet" href="{{ asset('assets/plugins/global/plugins-custom.bundle.css') }}"> </noscript> <link href="{{ asset('assets/css/style.bundle.css') }}" rel="stylesheet" type="text/css"/> in laravel version have not user list page so I don’t know why. Pls help me.

Hi :)

As a workaround, could you please add this code at the top of the table.js where the datatable init. We will check it further.

window.$ = window.jQuery = require( 'jquery' );
require( 'datatables.net' );

Please run “npm run dev” to recompile the assets using mix.

Thanks

Hello, I have a question before purchasing. Wordpress aside the menu width takes up less space than metronic. Although the Metronic appearance is beautiful, the space left for the main content is decreasing. Is there a possibility to change the width of the aside while building the html theme? I don’t want to edit it with css. We may need to manually fix it with every update or page.

Hi :),

Thanks for your interest in Metronic. Yes, the aside width can be easily changed in the SASS variable in themes\metronic\html\demo1\src\sass\layout\_variables.scss:

// Aside
$aside-config: (
    z-index: 101, // Aside's z-index property
    transition-speed: 0.3s, // transition speed
    padding-x: 25px,
    menu-indention: 0.75rem,
    bg-color: #1e1e2d,
    logo-bg-color: darken(#1e1e2d, 2%),
    scrollbar-color: if(isDarkMode(), $gray-200, #3b3b64),
    scrollbar-hover-color: if(isDarkMode(), $gray-300, lighten(#3b3b64, 3%)),
    width: 265px, // Aside width for desktop mode
    minimized-width: 75px,  // Aside minimized width for desktop mode
    box-shadow: if(isDarkMode(), none, 0 0 28px 0 rgba(82,63,105,.05)), // Aside box shadow
    minimized-hover-box-shadow: if(isDarkMode(), none, 5px 0px 10px rgba(70, 78, 95, 0.075)) // Monimized hover box shadow
) !default;

Then recompile the assets folder with gulp or webpack.

For more info about using Metronic please check the theme documentation https://preview.keenthemes.com/metronic8/demo1/documentation/getting-started.html and video tutorials https://preview.keenthemes.com/metronic8/demo1/documentation/getting-started/video-tutorials.html

Regards, Sean

Hi support. We are in the same situation as other Blazor developers that want to adapt and use your HTML version of Metronic for our webapp. And we are facing the same challenges with the javascript of the menus, etc.

In a previous comment, a user named m_josiah kindly offered sharing his Blazor solution that solves our javascript nightmares. Have you considered allowing him to share the code with us, so we can still use Metronic in our new Blazor project?

Thank’s a lot.

Hi,

Sorry for the late reply.

Unfortunately, we weren’t able to find any provided solution.

Have you followed our Blazor tutorial or it is your custom integration? https://preview.keenthemes.com/metronic8/demo1/documentation/getting-started/integration/blazor.html

If you faced any issues or errors, could you please describe them? So that we can fix them in an upcoming release.

Regards,
Lauris

I think there may be a bug with layouts. When I try to have a non-fixed header and a fixed toolbar, the toolbar covers up the header completely even when scrolled to the top of the page, what I want is for both to be visible, but then as the user scrolls down the page, the header disappears and the toolbar stays fixed to the top. Is there a quick css for this?

Hi,

Thanks for your feedback. The fixed toolbar works only with fixed layout. We will add a notice for this layout configuration.

We will consider the sticky toolbar layout in a future update. Which demo are you using ?

Regards, Sean

Demo 1

Nioted, thanks for the clarification.

Hello! I’m having problems with my menu when i am on mobile, https://imgur.com/XGEjHob <- the action buttons doesn’t open on mobile but it does work fine on desktop -> https://imgur.com/9l0nDLC, I already initialize KTMenu.createInstances():

$('table').on('draw.dt', function() { $('[data-bs-toggle="tooltip"]').tooltip(); }); KTMenu.createInstances(); });

and this are my actions:

@if ($role->id !== 1) <div class="card-toolbar"> <button type="button" class="btn btn-sm btn-icon btn-color-primary btn-active-light-primary menu-dropdown" data-kt-menu-trigger="click" data-kt-menu-placement="bottom-end" data-kt-menu-flip="top-end"> <span class="svg-icon svg-icon-2"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewBox="0 0 24 24" version="1.1"> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <rect x="0" y="0" width="24" height="24"/> <rect fill="#000000" opacity="0.3" x="4" y="4" width="4" height="4" rx="1"/> <path d="M5,10 L7,10 C7.55228475,10 8,10.4477153 8,11 L8,13 C8,13.5522847 7.55228475,14 7,14 L5,14 C4.44771525,14 4,13.5522847 4,13 L4,11 C4,10.4477153 4.44771525,10 5,10 Z M11,4 L13,4 C13.5522847,4 14,4.44771525 14,5 L14,7 C14,7.55228475 13.5522847,8 13,8 L11,8 C10.4477153,8 10,7.55228475 10,7 L10,5 C10,4.44771525 10.4477153,4 11,4 Z M11,10 L13,10 C13.5522847,10 14,10.4477153 14,11 L14,13 C14,13.5522847 13.5522847,14 13,14 L11,14 C10.4477153,14 10,13.5522847 10,13 L10,11 C10,10.4477153 10.4477153,10 11,10 Z M17,4 L19,4 C19.5522847,4 20,4.44771525 20,5 L20,7 C20,7.55228475 19.5522847,8 19,8 L17,8 C16.4477153,8 16,7.55228475 16,7 L16,5 C16,4.44771525 16.4477153,4 17,4 Z M17,10 L19,10 C19.5522847,10 20,10.4477153 20,11 L20,13 C20,13.5522847 19.5522847,14 19,14 L17,14 C16.4477153,14 16,13.5522847 16,13 L16,11 C16,10.4477153 16.4477153,10 17,10 Z M5,16 L7,16 C7.55228475,16 8,16.4477153 8,17 L8,19 C8,19.5522847 7.55228475,20 7,20 L5,20 C4.44771525,20 4,19.5522847 4,19 L4,17 C4,16.4477153 4.44771525,16 5,16 Z M11,16 L13,16 C13.5522847,16 14,16.4477153 14,17 L14,19 C14,19.5522847 13.5522847,20 13,20 L11,20 C10.4477153,20 10,19.5522847 10,19 L10,17 C10,16.4477153 10.4477153,16 11,16 Z M17,16 L19,16 C19.5522847,16 20,16.4477153 20,17 L20,19 C20,19.5522847 19.5522847,20 19,20 L17,20 C16.4477153,20 16,19.5522847 16,19 L16,17 C16,16.4477153 16.4477153,16 17,16 Z" fill="#000000"/> </g> </svg> </span> </button> <div class="menu menu-sub menu-sub-dropdown menu-column menu-rounded menu-gray-600 menu-state-bg-light-primary fw-bold w-200px" data-kt-menu="true" style="z-index: 105; position: fixed; inset: 0px auto auto 0px; margin: 0px; transform: translate3d(810px, 461px, 0px);" data-popper-placement="bottom-end"> <div class="menu-item px-3"> <div class="menu-content fs-6 text-dark fw-bolder px-3 py-4"> {{ __('Elija una acción:') }} </div> </div> <div class="separator mb-3 opacity-75" /> <div class="menu-item"> <x-utils.view-button :href="route('central.role.show', $role)" permission="roles.read"> </x-utils.view-button> </div> <div class="menu-item"> <x-utils.edit-button :href="route('central.role.edit', $role)" permission="roles.update"> </x-utils.edit-button> </div> <div class="menu-item"> <x-utils.link :href="route('central.role.clone', $role)" class="dropdown-item text-start p-3 fw-light" :text="__('Clonar')" permission="roles.create"> </x-utils.link> </div> <div class="menu-item"> <x-utils.delete-button :href="route('central.role.destroy', $role)" permission="roles.delete"> </x-utils.delete-button> </div> <div class="mt-3" /> </div> </div> @else <span class="badge badge-primary"> {{ __('No Disponible') }} </span> @endif

I’m using Metronic 8 Laravel v.8.0.30, is this a bug o i am missing something?

Thank you

Hi :)

When the column is in the hidden row, there is an event. You have to add the listener to trigger after the column is shown.

I am referring to this example. Probably it could help. https://datatables.net/examples/api/row_details.html

    // Add event listener for opening and closing details
    $('#example tbody').on('click', 'td.dt-control', function () {
        var tr = $(this).closest('tr');
        var row = table.row( tr );

        if ( row.child.isShown() ) {
            // This row is already open
        }
        else {
            // Open row
            // you can try to init dropdown here
        }
    } );

Thanks

not working :(

Hi, :)

We would suggest you to disable responsive option in the datatable, then for mobile view, you will have to use horizontal scroll. So the dropdown column will not be hidden.

responsive: false

Thanks

ReferenceError: KTUtil is not defined getting this error on Data Tables AJAX already send mail but no replay

Hi :),

Appreciate your patience . We have just replied.

Regards, Sean

Hi, Metronic 7 html theme code in React.

Trying to use this pricing table: https://preview.keenthemes.com/metronic/demo1/custom/pages/pricing/pricing-2.html in my react application. After Fixing a couple of problems. the code

Monthly Plans

does not show

nor do the UI of both monthly and yearly Buttons changes style I would like your help with this.

Hi,

Sorry for the late reply.

I think in React version you can add a variable to switch the state of the pricing page and update it when the top buttons are clicked.

let state = "monthly";

Then in the component switch prices and other content depending on this variable:

{ state === "monthly" ? 12 : 13 }

Regards,
Lauris

Hi,

I would like to buy this theme, but I’m still new about using bootstrap or dashboard theme. I usually develop website based on Wordpress theme.

Can I use this theme for create custom report with table and chart? Can I create multiple account login with this theme?

What CMS should I use to build dashboard web with this theme?

Thank you in advance.

Hi :),

Thanks for your interest in Metronic.

Metronic is a custom HTML theme based on Bootstrap 5 and it requires further server side development according to a project requirements. It also has fully functional Laravel version with fully authentication, i18n support and some system modules to get started with any PHP based project. If you need any further clarifications please contact our support via support@keenthemes.com

For more info about using Metronic please check the theme documentation https://preview.keenthemes.com/metronic8/demo1/documentation/getting-started.html and video tutorials https://preview.keenthemes.com/metronic8/demo1/documentation/getting-started/video-tutorials.html

Regards, Sean

Hi,

Thank you for your fast response. And thank you for giving me the link of the getting started documentation. It helped me a lot!

I will read and watch the video tutorial soon and can’t wait to order your beautiful theme!

Regards, Erlando

Great to hear your good start! All the best with your projects :)

hi, im buying your metronic8 and using vue version, how i can prevent to scroll top for each route changes?

Hi,

You need to remove code below in file vue/demo1/src/router/index.ts.

setTimeout(() => {
    window.scrollTo(0, 0);
}, 100);

Regards,
Lauris

Hi, i wanted to purchase these html admin theme, but i need ecommerce features in it, like shop page, product details, cart, checkout etc. is it possible that we’ll get this pages? plz reply urgently. Thank You.

Hi ),

Thanks for your interest in Metronic.

Sure, we will release complete ecommerce frontend and admin pages soon and you will get all future updates for free.

Regards, Sean

Any possible date? Thank You.

Sorry, we can’t confirm the date but we will do our best to release it asap. Stay tuned!

Dear team,

Please provide nestable in update ASAP

This plugin is discounted so we can not include in the Metronic package. If you still like to use it you can integrate it within gulp and use for your own needs. Please check the “Manage Metronic With Gulp” https://preview.keenthemes.com/metronic8/demo1/documentation/getting-started/video-tutorials.html

please provide any alternate because wordpress and other companies also using

Noted, We will check this further if there is any alternative solution.

Hi,

Is there a way to safely use bootstrap floating labels with the current setup? I have tried to but unfortunately your theme configuration goes against it.

Hi :),

Thanks for your feedback. We will double check it. Would be great if you can email our support via support@keenthemes.com and provide screenshot/code to use in our investigate of this matter.

Regards, Sean

Hello! I am using metronic_v8.0.29 Demo 9 – Fancy Dashboard.

I have trouble to get select2 to show in-valid state with formvalidation.io

I am using <select name=”a” class=”form-select form-select-solid” data-control=”select2” data-placeholder=”aa” data-hide-search=”true”>

it does validation and puts .is-invalid <select name=”a” class=”form-select form-select-solid select2-hidden-accessible is-invalid” data-control=”select2” data-placeholder=”aa” data-hide-search=”true” data-select2-id=”select2-data-1-aqeq” tabindex=”-1” aria-hidden=”true”>

however it do not triggers any change in container for in .select2-selection.

formvalidation plugin: .... plugins: { trigger: new FormValidation.plugins.Trigger({ }), bootstrap: new FormValidation.plugins.Bootstrap5({ rowSelector: ”.fv-row”, eleInvalidClass: “is-invalid”, eleValidClass: ””, }), ....

in my case, desired in-valid stat should be border-color: #F1416C;

This https://formvalidation.io/guide/examples/integrating-with-select2/ dose not help.

Thanks!

Hi,

We have added this into our todo list and we will implement it soon and you can get all future updates for free. Thanks for your feedback on this.

Regards, Sean

Hi, thanks for adding it in ToDo. Really apricate and desperately waiting :)

Meantime, maybe you can fix sele2 search field focus issue too. Here is solution, which works for me :) https://github.com/select2/select2/issues/5993

$(document).on(‘select2:open’, () => { let allFound = document.querySelectorAll(’.select2-container—open .select2-search__field’); $(this).one(‘mouseup’,()=>{ setTimeout(()=>{ allFound[allFound.length – 1].focus(); },0); }); });

Hi :),

Thanks for sharing this. We will check it further and consider adding it in a future update.

Regards, Sean

Good design in every admin theme

Thanks a lot )

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve ThemeForest.

Sure, take me to the survey