github ColorlibHQ/AdminLTE v5.0.0-alpha.1

pre-releaseone hour ago

The first preview of AdminLTE 5, built on Bootstrap 6.0.0-alpha.2.

This is an alpha on top of an alpha. Class names, tokens and markup can change in any release before 5.0.0. Use it to try the new version and to plan a migration. For production, stay on AdminLTE 4: it stays on Bootstrap 5 and keeps getting fixes for as long as Bootstrap 5 does.

What is in it

  • Bootstrap 6, pinned exactly to 6.0.0-alpha.2. Every component and page is written for Bootstrap 6 markup: btn-solid / btn-outline with a theme class, .form-field forms, native <dialog> for dialogs and drawers, menus in place of dropdowns.
  • One stylesheet, one ES module. adminlte.css includes Bootstrap and serves left-to-right and right-to-left pages (dir="rtl" on <html>). adminlte.js is an ES module; there is no UMD build and no global.
  • Colour is a theme class. theme-primary, theme-success, theme-danger and the rest go on the component: .small-box.theme-success, .card.theme-primary, .callout.theme-info.
  • CSS custom properties throughout. Sizes and colours are --lte-* and --bs-* properties you can set in your own stylesheet with no build. The Sass source uses @use, with one token map per component.
  • adminlte-extras.css, an opt-in second stylesheet with five Bootstrap 6 components most dashboards never load: date picker, one-time-code input, password strength meter, stepper and carousel.
  • 60 pages: 37 demo pages and 23 documentation pages. Among them the dashboard, 12 layouts, widgets, form elements, advanced form elements (date ranges, searchable combobox, tags, one-time code), a form wizard, tables, and eight auth pages including two-step verification.
  • Accessibility checked on every page. All 60 pages pass axe with no violations in light and in dark mode. AdminLTE moves Bootstrap's default primary, success, danger, warning and info colours along their own ramps so that text on them reaches 4.5:1.
  • Documentation rewritten for version 5, with a step-by-step "Migration from v4" page.

Not in this alpha yet

  • 33 of the 4.x pages are not converted: the two alternative dashboards, the mailbox, the page examples (profile, invoice, calendar, kanban, chat and others), the charts, data tables, three form pages, the theme generator and seven documentation pages.
  • The optional colour sheets, data-lte-primary and the Select2 theme. They are planned to return in a later alpha.

Try it

Download admin-lte-v5.0.0-alpha.1.zip below: it is the built dist/ folder, with every demo and documentation page. Open index.html, and docs/migration.html for the migration guide.

From a CDN, straight from this tag:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/ColorlibHQ/AdminLTE@v5.0.0-alpha.1/dist/css/adminlte.min.css" />

<script type="module" src="https://cdn.jsdelivr.net/npm/bootstrap@6.0.0-alpha.2/dist/js/bootstrap.bundle.min.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/gh/ColorlibHQ/AdminLTE@v5.0.0-alpha.1/dist/js/adminlte.min.js"></script>

From source:

git clone https://github.com/ColorlibHQ/AdminLTE.git
cd AdminLTE
git switch v5-dev
npm ci
npm run build

Bootstrap 6 needs Chrome or Edge 138, Firefox 147, or Safari 26 and later.

Feedback is welcome in the issues: say that you are on 5.0.0-alpha.1.

See the changelog for the complete list.

Don't miss a new AdminLTE release

NewReleases is sending notifications on new releases.