
AdminLTE 4 + Bootstrap 5.3 admin dashboard components for React & Next.js (App Router / RSC) — 30+ typed components, dark mode, and a ⌘K command palette.
Repo ColorlibHQ/adminlte-react, read from GitHub 12 min ago. ColorlibHQ has not joined Take My Repo.
Core and toolchain refresh, plus a dark-mode fix.
colorModeInitScript - new export that applies the saved colour mode before first paint, so dark-mode visitors get no light flash and no hydration warnings. Add it to <head> and put suppressHydrationWarning on <html> (see the README).ColorModeProvider applied and persisted the default mode before reading the saved one, briefly overwriting a stored dark./favicon.ico 404.npm install @adminlte/react@0.7.1
Full details in CHANGELOG.md.
ApexChart is removed; use the new Chart component. It takes a Chart.js type, data and options (plus optional plugins, height — default 300 px —, ariaLabel, fallback, className, style). data/options are plain values, so a Server Component can pass them (callbacks such as tooltip formatters need a client component, as before).SparklineChart keeps its props (id, data) and gains optional color (default #DCE6EC), type ('line' | 'bar'), height (default 50) and ariaLabel.apexcharts → chart.js (>=4.5.0, optional). Install chart.js if you use Chart/SparklineChart; drop apexcharts and its apexcharts.css link — Chart.js needs no stylesheet.^0.6.x range will not pick up 0.7.0), and nothing else in the public API changed.applyChartTheme(Chart), with readChartThemeColors() and withAlpha() helpers, exported from the package and applied automatically by Chart. It writes Chart.defaults from Bootstrap's CSS variables (--bs-body-font-family, --bs-body-color, --bs-secondary-color, --bs-border-color-translucent, --bs-body-bg, --bs-emphasis-color): horizontal gridlines only, no axis borders, rounded bars, smooth lines, circular point-style legends and Bootstrap-style tooltips. A filled line dataset without its own backgroundColor gets a vertical gradient of its line colour. Call it yourself if you create Chart.js charts outside the component.<html data-bs-theme> or <html dir> changes (one shared MutationObserver), so the colour-mode toggle restyles axes, legends and tooltips immediately; with dir="rtl" legends and tooltips render right-to-left.jsvectormap/dist/css/jsvectormap.min.css, a path that does not exist in jsvectormap 1.7; it is jsvectormap/dist/jsvectormap.min.css.// 0.6.x <ApexChart id="sales" series={[{ name: 'Sales', data: [30, 40, 35, 50] }]} config={{ chart: { type: 'area', height: 300 }, colors: ['#0d6efd'], xaxis: { categories: ['Jan', 'Feb', 'Mar', 'Apr'] } }} /> // 0.7.0 <Chart id="sales" type="line" height={300} data={{ labels: ['Jan', 'Feb', 'Mar', 'Apr'], datasets: [{ label: 'Sales', data: [30, 40, 35, 50], borderColor: '#0d6efd', fill: 'origin' }], }} />
| ApexCharts | Chart.js |
|---|---|
chart.type: 'area' |
type="line" + dataset fill: 'origin' |
chart.type: 'bar' (plotOptions.bar.horizontal) |
type="bar" (options.indexAxis: 'y') |
chart.type: 'donut' / 'pie' / 'radar' / 'polarArea' |
type="doughnut" / "pie" / "radar" / "polarArea" |
series[i].name / .data |
data.datasets[i].label / .data |
xaxis.categories / labels |
data.labels |
colors |
per-dataset borderColor / backgroundColor |
chart.height |
height prop |
legend.show: false |
options.plugins.legend.display: false |
tooltip.y.formatter |
options.plugins.tooltip.callbacks.label |
src/ and dist/); demo type-check, production build and the EXPORT=true subpath export; all 67 Playwright route-smoke + a11y tests; and a Playwright crawl of all 64 exported routes at /themes/next-react/ in light and dark mode, plus the chart pages in RTL — no console or page errors, every chart canvas painted.Full changelog: v0.6.1...v0.7.0
A dependency and toolchain refresh. No API changes, and src/ is untouched.
next is an optional peer (>=14.0.0) and was the only optional peer never pinned in devDependencies — every other one (react, apexcharts, quill, tom-select…) already was. With pnpm's autoInstallPeers, the lockfile had resolved next@14.2.35 since the project started, so pnpm type-check validated sidebar-nav.tsx's usePathname import against two-major-old types while the demo and every consumer ran Next 16. It also produced the last remaining unmet-peer warning (Next 14 wants react@^18.2.0 against React 19).
Now pinned at ^16.3.1. The published peer range stays >=14.0.0 — nothing is narrowed for consumers.
ApexCharts 6.8.0 → 6.10.0 (library, demo and the demo's CDN pins), Vitest 4.1.10 → 4.1.11, demo Next 16.3.0 → 16.3.1. All 11 demo CDN pins were audited against latest; only ApexCharts had drifted.
TypeScript 6 → 7. typescript-eslint@8.67.0 — and its canary — peer typescript: ">=4.8.4 <6.1.0", and lint fails hard rather than warning (typescript-eslint does not support TS 7.0). Worth noting the codebase is ready: tsc --noEmit passes cleanly on 7.0.2 for both the library and the demo, so lifting this should need no source changes.
Verified: install, type-check, lint, 19/19 unit tests, library build, RSC boundary check (35/35), demo type-check and build (66 static pages), the subpath export, and 67/67 Playwright checks (routes + axe accessibility).
npm install @adminlte/react@0.6.0
Tracks AdminLTE core 4.8.1, up from 4.3.1.
data-lte-primary (4.6.0), data-lte-contrast="aa" (4.8.0) and data-lte-print="plain" (4.7.0). The first two need one of core's opt-in palette stylesheets — admin-lte/dist/css/adminlte-colors.css or …-v3.css — which this package does not bundle; the print switch works from @adminlte/react/css alone. Documented on the demo's Theming page.d-print-none on the sidebar and app wrapper, the skip-link hover fix and the pagination focus ring.npm install @adminlte/react@0.5.0
Upgrades the bundled AdminLTE core CSS to 4.3.1 and brings every dependency to its latest release.
@adminlte/react/css picks up everything CSS-side from core 4.2.0, 4.3.0 and 4.3.1: the rebuilt v3 ribbons (with 4.3.1's corner-geometry fix), the v3 social/post widgets (.user-block, .post, .widget-user, .widget-user-2, .description-block), and core's new contrast fixes. The demo's RTL stylesheet was refreshed to match.apexcharts 5.13 → 6.8 (the ApexChart wrapper needed no changes — its peer range was already >=4.0.0) and @testing-library/jest-dom 6 → 7, plus jsdom 30 and @types/node 26. Minors: Next.js 16.3.0, React 19.2.8, ESLint 10.8.1, typescript-eslint 8.67, Vitest 4.1.10, Playwright 1.62.1, Tabulator 6.5.2, Tom Select 2.6.2.all/global.min.js, CSS now loaded separately — skeleton + the classic theme — Draggable under FullCalendar.Interaction, event backgroundColor/borderColor/textColor renamed to color/contrastColor).typescript-eslint (peer >=4.8.4 <6.1.0) refuses to run under it, which would break the lint gate — core made the same call in its 4.2.0 release. tsc --noEmit passes on 7.0.2, so the hold lifts as soon as typescript-eslint supports TS 7.Full changelog: https://github.com/ColorlibHQ/adminlte-react/blob/main/CHANGELOG.md
Upgrades the bundled AdminLTE core CSS to 4.1.0.
@adminlte/react/css is ~6 KB gzip smaller — core's duplicate docs styles are gone and the docs/FAQ styling moved to a separate core stylesheet applications never needed.adminlte.js is never loaded. Don't load both — each implements the data-lte-toggle data API.lte-theme storage key.Verified: 19 unit tests, 67 Playwright smoke + axe checks across all demo routes.
npm install @adminlte/react@0.3.0