| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954 |
- <!doctype html>
- <html lang="en">
- <!--begin::Head-->
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>FAQ | AdminLTE 4</title>
- <!--begin::Accessibility Meta Tags-->
- <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
- <meta name="color-scheme" content="light dark" />
- <meta name="theme-color" content="#007bff" media="(prefers-color-scheme: light)" />
- <meta name="theme-color" content="#1a1a1a" media="(prefers-color-scheme: dark)" />
- <!--end::Accessibility Meta Tags-->
- <!--begin::Primary Meta Tags-->
- <meta name="title" content="FAQ | AdminLTE 4" />
- <meta name="author" content="ColorlibHQ" />
- <meta
- name="description"
- content="AdminLTE is a Free Bootstrap 5 Admin Dashboard, 30 example pages using Vanilla JS. Fully accessible with WCAG 2.1 AA compliance."
- />
- <meta
- name="keywords"
- content="bootstrap 5, bootstrap, bootstrap 5 admin dashboard, bootstrap 5 dashboard, bootstrap 5 charts, bootstrap 5 calendar, bootstrap 5 datepicker, bootstrap 5 tables, bootstrap 5 datatable, vanilla js datatable, colorlibhq, colorlibhq dashboard, colorlibhq admin dashboard, accessible admin panel, WCAG compliant"
- />
- <!--end::Primary Meta Tags-->
- <!--begin::Accessibility Features-->
- <!-- Skip links will be dynamically added by accessibility.js -->
- <meta name="supported-color-schemes" content="light dark" />
- <link rel="preload" href="../css/adminlte.css" as="style" />
- <!--end::Accessibility Features-->
- <!--begin::Fonts-->
- <link
- rel="stylesheet"
- href="https://cdn.jsdelivr.net/npm/@fontsource/source-sans-3@5.0.12/index.css"
- integrity="sha256-tXJfXfp6Ewt1ilPzLDtQnJV4hclT9XuaZUKyUvmyr+Q="
- crossorigin="anonymous"
- media="print"
- onload="this.media = 'all'"
- />
- <!--end::Fonts-->
- <!--begin::Third Party Plugin(OverlayScrollbars)-->
- <link
- rel="stylesheet"
- href="https://cdn.jsdelivr.net/npm/overlayscrollbars@2.11.0/styles/overlayscrollbars.min.css"
- crossorigin="anonymous"
- />
- <!--end::Third Party Plugin(OverlayScrollbars)-->
- <!--begin::Third Party Plugin(Bootstrap Icons)-->
- <link
- rel="stylesheet"
- href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css"
- crossorigin="anonymous"
- />
- <!--end::Third Party Plugin(Bootstrap Icons)-->
- <!--begin::Required Plugin(AdminLTE)-->
- <link rel="stylesheet" href="../css/adminlte.css" />
- <!--end::Required Plugin(AdminLTE)-->
- </head>
- <!--end::Head-->
- <!--begin::Body-->
- <body class="layout-fixed sidebar-expand-lg bg-body-tertiary docs-page">
- <!--begin::App Wrapper-->
- <div class="app-wrapper">
- <!--begin::Header-->
- <nav class="app-header navbar navbar-expand bg-body">
- <!--begin::Container-->
- <div class="container-fluid">
- <!--begin::Start Navbar Links-->
- <ul class="navbar-nav">
- <li class="nav-item">
- <a class="nav-link" data-lte-toggle="sidebar" href="#" role="button">
- <i class="bi bi-list"></i>
- </a>
- </li>
- <li class="nav-item d-none d-md-block">
- <a href="../docs/introduction.html" class="nav-link">
- <i class="bi bi-book me-1" aria-hidden="true"></i>
- Documentation
- </a>
- </li>
- <li class="nav-item d-none d-md-block">
- <a href="../index.html" class="nav-link">
- <i class="bi bi-arrow-left me-1" aria-hidden="true"></i>
- Back to live preview
- </a>
- </li>
- </ul>
- <!--end::Start Navbar Links-->
- <!--begin::End Navbar Links-->
- <ul class="navbar-nav ms-auto">
- <!--begin::Navbar Search-->
- <li class="nav-item">
- <a class="nav-link" data-widget="navbar-search" href="#" role="button">
- <i class="bi bi-search"></i>
- </a>
- </li>
- <!--end::Navbar Search-->
- <!--begin::Messages Dropdown Menu-->
- <li class="nav-item dropdown">
- <a class="nav-link" data-bs-toggle="dropdown" href="#">
- <i class="bi bi-chat-text"></i>
- <span class="navbar-badge badge text-bg-danger">3</span>
- </a>
- <div class="dropdown-menu dropdown-menu-lg dropdown-menu-end">
- <a href="#" class="dropdown-item">
- <!--begin::Message-->
- <div class="d-flex">
- <div class="flex-shrink-0">
- <img
- src="../assets/img/user1-128x128.jpg"
- alt="User Avatar"
- class="img-size-50 rounded-circle me-3"
- />
- </div>
- <div class="flex-grow-1">
- <h3 class="dropdown-item-title">
- Brad Diesel
- <span class="float-end fs-7 text-danger"
- ><i class="bi bi-star-fill"></i
- ></span>
- </h3>
- <p class="fs-7">Call me whenever you can...</p>
- <p class="fs-7 text-secondary">
- <i class="bi bi-clock-fill me-1"></i> 4 Hours Ago
- </p>
- </div>
- </div>
- <!--end::Message-->
- </a>
- <div class="dropdown-divider"></div>
- <a href="#" class="dropdown-item">
- <!--begin::Message-->
- <div class="d-flex">
- <div class="flex-shrink-0">
- <img
- src="../assets/img/user8-128x128.jpg"
- alt="User Avatar"
- class="img-size-50 rounded-circle me-3"
- />
- </div>
- <div class="flex-grow-1">
- <h3 class="dropdown-item-title">
- John Pierce
- <span class="float-end fs-7 text-secondary">
- <i class="bi bi-star-fill"></i>
- </span>
- </h3>
- <p class="fs-7">I got your message bro</p>
- <p class="fs-7 text-secondary">
- <i class="bi bi-clock-fill me-1"></i> 4 Hours Ago
- </p>
- </div>
- </div>
- <!--end::Message-->
- </a>
- <div class="dropdown-divider"></div>
- <a href="#" class="dropdown-item">
- <!--begin::Message-->
- <div class="d-flex">
- <div class="flex-shrink-0">
- <img
- src="../assets/img/user3-128x128.jpg"
- alt="User Avatar"
- class="img-size-50 rounded-circle me-3"
- />
- </div>
- <div class="flex-grow-1">
- <h3 class="dropdown-item-title">
- Nora Silvester
- <span class="float-end fs-7 text-warning">
- <i class="bi bi-star-fill"></i>
- </span>
- </h3>
- <p class="fs-7">The subject goes here</p>
- <p class="fs-7 text-secondary">
- <i class="bi bi-clock-fill me-1"></i> 4 Hours Ago
- </p>
- </div>
- </div>
- <!--end::Message-->
- </a>
- <div class="dropdown-divider"></div>
- <a href="#" class="dropdown-item dropdown-footer">See All Messages</a>
- </div>
- </li>
- <!--end::Messages Dropdown Menu-->
- <!--begin::Notifications Dropdown Menu-->
- <li class="nav-item dropdown">
- <a class="nav-link" data-bs-toggle="dropdown" href="#">
- <i class="bi bi-bell-fill"></i>
- <span class="navbar-badge badge text-bg-warning">15</span>
- </a>
- <div class="dropdown-menu dropdown-menu-lg dropdown-menu-end">
- <span class="dropdown-item dropdown-header">15 Notifications</span>
- <div class="dropdown-divider"></div>
- <a href="#" class="dropdown-item">
- <i class="bi bi-envelope me-2"></i> 4 new messages
- <span class="float-end text-secondary fs-7">3 mins</span>
- </a>
- <div class="dropdown-divider"></div>
- <a href="#" class="dropdown-item">
- <i class="bi bi-people-fill me-2"></i> 8 friend requests
- <span class="float-end text-secondary fs-7">12 hours</span>
- </a>
- <div class="dropdown-divider"></div>
- <a href="#" class="dropdown-item">
- <i class="bi bi-file-earmark-fill me-2"></i> 3 new reports
- <span class="float-end text-secondary fs-7">2 days</span>
- </a>
- <div class="dropdown-divider"></div>
- <a href="#" class="dropdown-item dropdown-footer"> See All Notifications </a>
- </div>
- </li>
- <!--end::Notifications Dropdown Menu-->
- <!--begin::Fullscreen Toggle-->
- <li class="nav-item">
- <a class="nav-link" href="#" data-lte-toggle="fullscreen">
- <i data-lte-icon="maximize" class="bi bi-arrows-fullscreen"></i>
- <i data-lte-icon="minimize" class="bi bi-fullscreen-exit d-none"></i>
- </a>
- </li>
- <!--end::Fullscreen Toggle-->
- <!--begin::Color Mode Toggle (#6010)-->
- <li class="nav-item dropdown">
- <a
- class="nav-link"
- href="#"
- id="bd-theme"
- aria-label="Toggle color scheme"
- data-bs-toggle="dropdown"
- aria-expanded="false"
- >
- <i class="bi bi-sun-fill" data-lte-theme-icon="light"></i>
- <i class="bi bi-moon-fill d-none" data-lte-theme-icon="dark"></i>
- <i class="bi bi-circle-half d-none" data-lte-theme-icon="auto"></i>
- </a>
- <ul
- class="dropdown-menu dropdown-menu-end"
- aria-labelledby="bd-theme"
- style="--bs-dropdown-min-width: 8rem"
- >
- <li>
- <button
- type="button"
- class="dropdown-item d-flex align-items-center"
- data-bs-theme-value="light"
- aria-pressed="false"
- >
- <i class="bi bi-sun-fill me-2"></i>
- Light
- <i class="bi bi-check-lg ms-auto d-none"></i>
- </button>
- </li>
- <li>
- <button
- type="button"
- class="dropdown-item d-flex align-items-center"
- data-bs-theme-value="dark"
- aria-pressed="false"
- >
- <i class="bi bi-moon-fill me-2"></i>
- Dark
- <i class="bi bi-check-lg ms-auto d-none"></i>
- </button>
- </li>
- <li>
- <button
- type="button"
- class="dropdown-item d-flex align-items-center active"
- data-bs-theme-value="auto"
- aria-pressed="true"
- >
- <i class="bi bi-circle-half me-2"></i>
- Auto
- <i class="bi bi-check-lg ms-auto d-none"></i>
- </button>
- </li>
- </ul>
- </li>
- <!--end::Color Mode Toggle-->
- <!--begin::User Menu Dropdown-->
- <li class="nav-item dropdown user-menu">
- <a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown">
- <img
- src="../assets/img/user2-160x160.jpg"
- class="user-image rounded-circle shadow"
- alt="User Image"
- />
- <span class="d-none d-md-inline">Alexander Pierce</span>
- </a>
- <ul class="dropdown-menu dropdown-menu-lg dropdown-menu-end">
- <!--begin::User Image-->
- <li class="user-header text-bg-primary">
- <img
- src="../assets/img/user2-160x160.jpg"
- class="rounded-circle shadow"
- alt="User Image"
- />
- <p>
- Alexander Pierce - Web Developer
- <small>Member since Nov. 2023</small>
- </p>
- </li>
- <!--end::User Image-->
- <!--begin::Menu Body-->
- <li class="user-body">
- <!--begin::Row-->
- <div class="row">
- <div class="col-4 text-center">
- <a href="#">Followers</a>
- </div>
- <div class="col-4 text-center">
- <a href="#">Sales</a>
- </div>
- <div class="col-4 text-center">
- <a href="#">Friends</a>
- </div>
- </div>
- <!--end::Row-->
- </li>
- <!--end::Menu Body-->
- <!--begin::Menu Footer-->
- <li class="user-footer">
- <a href="#" class="btn btn-outline-secondary">Profile</a>
- <a href="#" class="btn btn-outline-danger float-end">Sign out</a>
- </li>
- <!--end::Menu Footer-->
- </ul>
- </li>
- <!--end::User Menu Dropdown-->
- </ul>
- <!--end::End Navbar Links-->
- </div>
- <!--end::Container-->
- </nav>
- <!--end::Header-->
- <!--begin::Sidebar (docs mode)-->
- <aside class="app-sidebar bg-body-secondary shadow" data-bs-theme="dark">
- <!--begin::Sidebar Brand-->
- <div class="sidebar-brand">
- <a href="../docs/introduction.html" class="brand-link">
- <img
- src="../assets/img/AdminLTELogo.png"
- alt="AdminLTE Logo"
- class="brand-image opacity-75 shadow"
- />
- <span class="brand-text fw-light">
- AdminLTE 4 <span class="opacity-75">· Docs</span>
- </span>
- </a>
- </div>
- <!--end::Sidebar Brand-->
- <!--begin::Sidebar Wrapper-->
- <div class="sidebar-wrapper">
- <nav class="mt-2">
- <!-- Back to preview CTA -->
- <div class="px-3 pb-2">
- <a
- href="../index.html"
- class="btn btn-sm btn-outline-light w-100 d-flex align-items-center justify-content-center gap-2"
- >
- <i class="bi bi-arrow-left" aria-hidden="true"></i>
- Back to live preview
- </a>
- </div>
- <!--begin::Sidebar Menu-->
- <ul
- class="nav sidebar-menu flex-column"
- data-lte-toggle="treeview"
- role="navigation"
- aria-label="Documentation navigation"
- data-accordion="false"
- id="docs-navigation"
- >
- <li class="nav-header">START HERE</li>
- <li class="nav-item">
- <a href="../docs/introduction.html" class="nav-link">
- <i class="nav-icon bi bi-download"></i>
- <p>Installation</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/getting-started.html" class="nav-link">
- <i class="nav-icon bi bi-rocket-takeoff"></i>
- <p>Getting Started</p>
- </a>
- </li>
- <li class="nav-header">FOUNDATIONS</li>
- <li class="nav-item">
- <a href="../docs/layout.html" class="nav-link">
- <i class="nav-icon bi bi-grip-horizontal"></i>
- <p>Layout Classes</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/layout-blueprint.html" class="nav-link">
- <i class="nav-icon bi bi-diagram-3"></i>
- <p>Layout Blueprint</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/customization.html" class="nav-link">
- <i class="nav-icon bi bi-palette"></i>
- <p>Customization</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/color-mode.html" class="nav-link">
- <i class="nav-icon bi bi-star-half"></i>
- <p>Color Mode</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/rtl.html" class="nav-link">
- <i class="nav-icon bi bi-text-paragraph"></i>
- <p>RTL Support</p>
- </a>
- </li>
- <li class="nav-header">BUILDING</li>
- <li class="nav-item">
- <a href="../docs/recipes.html" class="nav-link">
- <i class="nav-icon bi bi-clipboard-check"></i>
- <p>Recipes</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="#" class="nav-link">
- <i class="nav-icon bi bi-ui-checks-grid"></i>
- <p>
- Components
- <i class="nav-arrow bi bi-chevron-right"></i>
- </p>
- </a>
- <ul class="nav nav-treeview">
- <li class="nav-item">
- <a href="../docs/components/main-header.html" class="nav-link">
- <i class="nav-icon bi bi-circle"></i>
- <p>Main Header</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/components/main-sidebar.html" class="nav-link">
- <i class="nav-icon bi bi-circle"></i>
- <p>Main Sidebar</p>
- </a>
- </li>
- </ul>
- </li>
- <li class="nav-item">
- <a href="#" class="nav-link">
- <i class="nav-icon bi bi-filetype-js"></i>
- <p>
- JavaScript Plugins
- <i class="nav-arrow bi bi-chevron-right"></i>
- </p>
- </a>
- <ul class="nav nav-treeview">
- <li class="nav-item">
- <a href="../docs/javascript/plugins-overview.html" class="nav-link">
- <i class="nav-icon bi bi-circle"></i>
- <p>Overview</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/javascript/layout.html" class="nav-link">
- <i class="nav-icon bi bi-circle"></i>
- <p>Layout</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/javascript/pushmenu.html" class="nav-link">
- <i class="nav-icon bi bi-circle"></i>
- <p>PushMenu</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/javascript/treeview.html" class="nav-link">
- <i class="nav-icon bi bi-circle"></i>
- <p>Treeview</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/javascript/card-widget.html" class="nav-link">
- <i class="nav-icon bi bi-circle"></i>
- <p>Card Widget</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/javascript/direct-chat.html" class="nav-link">
- <i class="nav-icon bi bi-circle"></i>
- <p>Direct Chat</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/javascript/fullscreen.html" class="nav-link">
- <i class="nav-icon bi bi-circle"></i>
- <p>Fullscreen</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/javascript/accessibility.html" class="nav-link">
- <i class="nav-icon bi bi-circle"></i>
- <p>Accessibility</p>
- </a>
- </li>
- </ul>
- </li>
- <li class="nav-item">
- <a href="../docs/integrations.html" class="nav-link">
- <i class="nav-icon bi bi-puzzle"></i>
- <p>Integrations</p>
- </a>
- </li>
- <li class="nav-header">SHIPPING</li>
- <li class="nav-item">
- <a href="../docs/migration.html" class="nav-link">
- <i class="nav-icon bi bi-arrow-up-right-square"></i>
- <p>Migration from v3</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/deployment.html" class="nav-link">
- <i class="nav-icon bi bi-cloud-upload"></i>
- <p>Deployment</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/browser-support.html" class="nav-link">
- <i class="nav-icon bi bi-browser-chrome"></i>
- <p>Browser Support</p>
- </a>
- </li>
- <li class="nav-header">RESOURCES</li>
- <li class="nav-item">
- <a href="../docs/faq.html" class="nav-link active">
- <i class="nav-icon bi bi-question-circle"></i>
- <p>FAQ</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/how-to-contribute.html" class="nav-link">
- <i class="nav-icon bi bi-people"></i>
- <p>Contributing</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/license.html" class="nav-link">
- <i class="nav-icon bi bi-patch-check"></i>
- <p>License</p>
- </a>
- </li>
- <li class="nav-item">
- <a
- href="https://github.com/ColorlibHQ/AdminLTE"
- target="_blank"
- rel="noopener"
- class="nav-link"
- >
- <i class="nav-icon bi bi-github"></i>
- <p>
- GitHub
- <i class="bi bi-box-arrow-up-right ms-1" aria-hidden="true"></i>
- </p>
- </a>
- </li>
- </ul>
- <!--end::Sidebar Menu-->
- </nav>
- </div>
- <!--end::Sidebar Wrapper-->
- </aside>
- <!--end::Sidebar (docs mode)-->
- <!--begin::App Main-->
- <main class="app-main">
- <!--begin::App Content Header-->
- <div class="app-content-header">
- <!--begin::Container-->
- <div class="container-fluid">
- <!--begin::Row-->
- <div class="row">
- <div class="col-sm-6">
- <h3 class="mb-0">FAQ</h3>
- </div>
- <div class="col-sm-6">
- <ol class="breadcrumb float-sm-end">
- <li class="breadcrumb-item"><a href="#">Docs</a></li>
- <li class="breadcrumb-item active" aria-current="page">FAQ</li>
- </ol>
- </div>
- </div>
- <!--end::Row-->
- </div>
- <!--end::Container-->
- </div>
- <!--end::App Content Header-->
- <!--begin::App Content-->
- <div class="app-content">
- <!--begin::Container-->
- <div class="container-fluid">
- <p>
- A grab bag of questions we get asked most often. If yours isn’t here,
- <a href="https://github.com/ColorlibHQ/AdminLTE/discussions">open a Discussion</a> on
- GitHub.
- </p>
- <h5 id="getting-started">Getting started</h5>
- <h6 id="what-is-adminlte-exactly">What is AdminLTE, exactly?</h6>
- <p>
- A free, MIT-licensed admin dashboard <em>template</em>. It’s a set of HTML, CSS, and
- JavaScript files built on top of Bootstrap 5.3 — not a framework, not an npm component
- library. You drop it into your project, modify the markup to suit your app, and ship.
- </p>
- <h6 id="do-i-need-a-build-step-to-use-it">Do I need a build step to use it?</h6>
- <p>
- No. The <a href="getting-started.html">Getting Started</a> guide shows the CDN-only
- approach — copy four <code><link></code> tags and four
- <code><script></code> tags into your HTML and you’re done. The npm-based
- workflow is there if you want to customise SCSS variables or tree-shake the
- JavaScript.
- </p>
- <h6 id="which-bootstrap-version-does-v4-require">
- Which Bootstrap version does v4 require?
- </h6>
- <p>
- Bootstrap 5.3.x. The current <code>package.json</code> pins 5.3.8 — older 5.3 minors
- should work but aren’t tested. Bootstrap 5.0/5.1/5.2 will not work (the colour-mode
- and <code>data-bs-theme</code> system landed in 5.3).
- </p>
- <h6 id="can-i-use-adminlte-4-with-jquery">Can I use AdminLTE 4 with jQuery?</h6>
- <p>
- You don’t <em>need</em> jQuery — AdminLTE 4’s JavaScript is vanilla. If your existing
- app already uses jQuery, it’ll coexist fine. But none of AdminLTE 4’s own plugins call
- into jQuery, and there are no <code>$.fn.xxx()</code> plugin shims.
- </p>
- <h5 id="framework-integrations">Framework integrations</h5>
- <h6 id="can-adminlte-be-used-with-wordpress">Can AdminLTE be used with WordPress?</h6>
- <p>
- Yes — it’s just HTML/CSS/JS. The typical path is to build a custom WordPress theme
- that wraps AdminLTE’s markup around <code>wp_head()</code>, <code>wp_footer()</code>,
- and WordPress’s loops. AdminLTE doesn’t ship a WordPress-specific build; the work of
- porting nav-walker classes and authentication forms is yours.
- </p>
- <h6 id="laravel-symfony-yii-django-rails">Laravel? Symfony? Yii? Django? Rails?</h6>
- <p>
- All workable. AdminLTE is a server-rendered template — copy the demo pages into your
- views/templates, replace static content with your framework’s template variables, and
- wire up routes/auth as usual. Community Composer/Packagist packages exist for Laravel
- and Symfony, though they typically lag the upstream version — verify they ship v4
- before you depend on them.
- </p>
- <h6 id="react-vue-svelte-angular">React, Vue, Svelte, Angular?</h6>
- <p>
- Workable but less natural. AdminLTE’s JavaScript plugins use DOM lifecycle hooks
- (<code>DOMContentLoaded</code>, MutationObserver patterns) which fight with framework
- reconciliation. If you’re using a SPA framework, consider:
- </p>
- <ul>
- <li>
- Using AdminLTE <em>only</em> for CSS — keep the visual style, but write your own
- React/Vue components for the interactive parts.
- </li>
- <li>
- Or pick a component library built for your framework (PrimeReact, Vuetify, etc.).
- </li>
- </ul>
- <p>
- We don’t recommend wrapping AdminLTE’s jQuery-era plugins in SPA framework components
- — it’s a maintenance burden that outweighs the visual win.
- </p>
- <h5 id="customization">Customization</h5>
- <h6 id="how-do-i-change-the-primary-colour">How do I change the primary colour?</h6>
- <p>
- Override <code>--bs-primary</code> (and its RGB counterpart) on <code>:root</code>:
- </p>
- <pre
- class="astro-code dark-plus"
- style="background-color: #1e1e1e; color: #d4d4d4; overflow-x: auto"
- tabindex="0"
- data-language="css"
- ><code><span class="line"><span style="color:#D7BA7D">:root</span><span style="color:#D4D4D4"> {</span></span>
- <span class="line"><span style="color:#9CDCFE"> --bs-primary</span><span style="color:#D4D4D4">: </span><span style="color:#CE9178">#6610f2</span><span style="color:#D4D4D4">;</span></span>
- <span class="line"><span style="color:#9CDCFE"> --bs-primary-rgb</span><span style="color:#D4D4D4">: </span><span style="color:#B5CEA8">102</span><span style="color:#D4D4D4">, </span><span style="color:#B5CEA8">16</span><span style="color:#D4D4D4">, </span><span style="color:#B5CEA8">242</span><span style="color:#D4D4D4">;</span></span>
- <span class="line"><span style="color:#D4D4D4">}</span></span></code></pre>
- <p>
- For deeper control (sidebar width, breakpoints, spacing scale), see
- <a href="customization.html">Customization & Theming</a>.
- </p>
- <h6 id="how-do-i-add-a-date-picker--multi-select--rich-text-editor">
- How do I add a date picker / multi-select / rich text editor?
- </h6>
- <p>
- AdminLTE deliberately doesn’t bundle these — they’d bloat the framework. The
- <a href="integrations.html">Recommended Integrations</a> page lists best-in-class
- third-party libraries (Flatpickr, Tom Select, Quill, etc.) with copy-paste install
- snippets.
- </p>
- <h6 id="can-i-use-fontawesome-instead-of-bootstrap-icons">
- Can I use FontAwesome instead of Bootstrap Icons?
- </h6>
- <p>
- Yes. Bootstrap Icons is the default in the demos because it’s MIT, ships with
- Bootstrap, and is SVG-based — but nothing in AdminLTE’s CSS or JS requires it. Drop in
- FontAwesome’s stylesheet and replace
- <code><i class="bi bi-x"></code> with
- <code><i class="fas fa-x"></code> throughout.
- </p>
- <h5 id="versions-and-updates">Versions and updates</h5>
- <h6 id="how-do-i-get-notified-of-new-versions">
- How do I get notified of new versions?
- </h6>
- <p>
- <a href="https://github.com/ColorlibHQ/AdminLTE">Watch the GitHub repo</a>
- (Releases-only mode) or subscribe to the RSS feed at
- <code>https://github.com/ColorlibHQ/AdminLTE/releases.atom</code>.
- </p>
- <h6 id="wheres-the-adminlte-3-documentation">Where’s the AdminLTE 3 documentation?</h6>
- <p>
- Still online at <a href="https://adminlte.io/docs/3.2/">adminlte.io/docs/3.2</a> and
- earlier versions are linked there. The v3 branch on GitHub continues to receive
- critical bug fixes; new features land in v4 only.
- </p>
- <h6 id="how-do-i-upgrade-from-v3-to-v4">How do I upgrade from v3 to v4?</h6>
- <p>
- See the dedicated <a href="migration.html">Migration from v3</a> guide. The short
- version: class names changed (<code>.wrapper</code> → <code>.app-wrapper</code>),
- <code>data-toggle</code> → <code>data-bs-toggle</code>, dark mode uses
- <code>data-bs-theme</code> instead of <code>.dark-mode</code>, and jQuery isn’t
- required anymore.
- </p>
- <h5 id="licensing">Licensing</h5>
- <h6 id="is-adminlte-free-for-commercial-use">Is AdminLTE free for commercial use?</h6>
- <p>
- Yes — MIT licensed. You can use it in commercial products, SaaS apps, client work,
- anything. The only requirement is preserving the copyright notice in the source files
- (<code>adminlte.css</code> / <code>adminlte.js</code>). You don’t need to display
- attribution in the UI.
- </p>
- <h6 id="do-i-need-to-credit-adminlte-in-my-app">
- Do I need to credit AdminLTE in my app?
- </h6>
- <p>
- No. The MIT license requires you to keep the licence notice in the source files you
- distribute — that’s it. You don’t have to mention AdminLTE in the rendered UI, your
- About page, or your README.
- </p>
- <h6 id="can-i-sell-a-product-made-with-adminlte">
- Can I sell a product made with AdminLTE?
- </h6>
- <p>
- Yes. The MIT license explicitly permits this. You can also resell modified versions of
- AdminLTE itself (theme marketplaces frequently do this) — just preserve the original
- copyright notice.
- </p>
- <h5 id="troubleshooting">Troubleshooting</h5>
- <h6 id="the-sidebar-doesnt-collapse-when-i-click-the-hamburger-menu">
- The sidebar doesn’t collapse when I click the hamburger menu.
- </h6>
- <p>
- Check that the PushMenu plugin is loaded. It’s bundled into <code>adminlte.js</code> —
- make sure the script tag is on the page and <em>after</em> the markup it operates on.
- Also verify your hamburger button has
- <code>data-lte-toggle="sidebar"</code> (not
- <code>data-widget="pushmenu"</code>, which is the v3 attribute).
- </p>
- <h6 id="dark-mode-doesnt-persist-after-refresh">
- Dark mode doesn’t persist after refresh.
- </h6>
- <p>
- The included <a href="color-mode.html">Color Mode</a> toggle writes to
- <code>localStorage</code> under the key <code>lte-theme</code>. If you’re using a
- different toggle implementation, make sure it both sets
- <code>document.documentElement.setAttribute('data-bs-theme', ...)</code> and
- writes to localStorage on change.
- </p>
- <h6 id="bootstrap-modal-closes-when-i-press-escape-but-the-adminlte-sidebar-closes-too">
- Bootstrap modal closes when I press Escape, but the AdminLTE sidebar closes too.
- </h6>
- <p>
- Fixed in v4.0.0 (#5993). If you’re still seeing this, you’re on an older RC — update
- to the latest.
- </p>
- <h6 id="my-custom-scss-doesnt-override-adminltes-defaults">
- My custom SCSS doesn’t override AdminLTE’s defaults.
- </h6>
- <p>
- Put your overrides <em>before</em> the <code>@import</code> of AdminLTE’s SCSS.
- AdminLTE uses <code>!default</code> on its variables, which means the first
- declaration wins. See
- <a href="customization.html#scss-variables">Customization & Theming</a> for the
- import order.
- </p>
- <h6 id="npm-install-fails-with-peer-dependency-errors">
- <code>npm install</code> fails with peer dependency errors.
- </h6>
- <p>
- We use an npm <code>overrides</code> block in <code>package.json</code> to keep peers
- happy — make sure you’re on npm 8.3+ which respects them. If you’re on an older npm,
- install with <code>--legacy-peer-deps</code>.
- </p>
- </div>
- <!--end::Container-->
- </div>
- <!--end::App Content-->
- </main>
- <!--end::App Main-->
- <!--begin::Footer-->
- <footer class="app-footer">
- <!--begin::To the end-->
- <div class="float-end d-none d-sm-inline">Anything you want</div>
- <!--end::To the end-->
- <!--begin::Copyright-->
- <strong>
- Copyright © 2014-2026
- <a href="https://adminlte.io" class="text-decoration-none">AdminLTE.io</a>.
- </strong>
- All rights reserved.
- <!--end::Copyright-->
- </footer>
- <!--end::Footer-->
- </div>
- <!--end::App Wrapper-->
- <!--begin::Script-->
- <!--begin::Third Party Plugin(OverlayScrollbars)-->
- <script
- src="https://cdn.jsdelivr.net/npm/overlayscrollbars@2.11.0/browser/overlayscrollbars.browser.es6.min.js"
- crossorigin="anonymous"
- ></script>
- <!--end::Third Party Plugin(OverlayScrollbars)--><!--begin::Required Plugin(popperjs for Bootstrap 5)-->
- <script
- src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js"
- crossorigin="anonymous"
- ></script>
- <!--end::Required Plugin(popperjs for Bootstrap 5)--><!--begin::Required Plugin(Bootstrap 5)-->
- <script
- src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.7/dist/js/bootstrap.min.js"
- crossorigin="anonymous"
- ></script>
- <!--end::Required Plugin(Bootstrap 5)--><!--begin::Required Plugin(AdminLTE)-->
- <script src="../js/adminlte.js"></script>
- <!--end::Required Plugin(AdminLTE)--><!--begin::OverlayScrollbars Configure-->
- <script>
- const SELECTOR_SIDEBAR_WRAPPER = '.sidebar-wrapper';
- const Default = {
- scrollbarTheme: 'os-theme-light',
- scrollbarAutoHide: 'leave',
- scrollbarClickScroll: true,
- };
- document.addEventListener('DOMContentLoaded', function () {
- const sidebarWrapper = document.querySelector(SELECTOR_SIDEBAR_WRAPPER);
- // Disable OverlayScrollbars on mobile devices to prevent touch interference
- const isMobile = window.innerWidth <= 992;
- if (
- sidebarWrapper &&
- OverlayScrollbarsGlobal?.OverlayScrollbars !== undefined &&
- !isMobile
- ) {
- OverlayScrollbarsGlobal.OverlayScrollbars(sidebarWrapper, {
- scrollbars: {
- theme: Default.scrollbarTheme,
- autoHide: Default.scrollbarAutoHide,
- clickScroll: Default.scrollbarClickScroll,
- },
- });
- }
- });
- </script>
- <!--end::OverlayScrollbars Configure--><!--begin::Color Mode Toggle (#6010)-->
- <script>
- (() => {
- 'use strict';
- const STORAGE_KEY = 'lte-theme';
- const getStoredTheme = () => localStorage.getItem(STORAGE_KEY);
- const setStoredTheme = (theme) => localStorage.setItem(STORAGE_KEY, theme);
- const prefersDark = () => globalThis.matchMedia('(prefers-color-scheme: dark)').matches;
- const getPreferredTheme = () => {
- const stored = getStoredTheme();
- if (stored) return stored;
- return prefersDark() ? 'dark' : 'light';
- };
- const setTheme = (theme) => {
- const resolved = theme === 'auto' ? (prefersDark() ? 'dark' : 'light') : theme;
- document.documentElement.setAttribute('data-bs-theme', resolved);
- };
- setTheme(getPreferredTheme());
- const showActiveTheme = (theme) => {
- // Highlight the active dropdown option
- document.querySelectorAll('[data-bs-theme-value]').forEach((el) => {
- el.classList.remove('active');
- el.setAttribute('aria-pressed', 'false');
- const check = el.querySelector('.bi-check-lg');
- if (check) check.classList.add('d-none');
- });
- const active = document.querySelector(`[data-bs-theme-value="${theme}"]`);
- if (active) {
- active.classList.add('active');
- active.setAttribute('aria-pressed', 'true');
- const check = active.querySelector('.bi-check-lg');
- if (check) check.classList.remove('d-none');
- }
- // Sync the topbar trigger icon
- document.querySelectorAll('[data-lte-theme-icon]').forEach((icon) => {
- icon.classList.toggle('d-none', icon.dataset.lteThemeIcon !== theme);
- });
- };
- globalThis.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', () => {
- const stored = getStoredTheme();
- if (!stored || stored === 'auto') setTheme(getPreferredTheme());
- });
- document.addEventListener('DOMContentLoaded', () => {
- showActiveTheme(getPreferredTheme());
- document.querySelectorAll('[data-bs-theme-value]').forEach((toggle) => {
- toggle.addEventListener('click', () => {
- const theme = toggle.getAttribute('data-bs-theme-value');
- setStoredTheme(theme);
- setTheme(theme);
- showActiveTheme(theme);
- });
- });
- });
- })();
- </script>
- <!--end::Color Mode Toggle-->
- <!--end::Script-->
- </body>
- <!--end::Body-->
- </html>
|