npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@adminlte/vue

v0.2.0

Published

AdminLTE 4 Vue 3 component library

Readme

adminlte-vue

AdminLTE 4 as a framework-agnostic Vue 3 component library. Works in any Vue 3 app (Vite, Nuxt, Vue CLI). For Nuxt, prefer @adminlte/nuxt which auto-imports everything and handles SSR-safe theming.

Install

npm i adminlte-vue bootstrap
# optional plugin libs, only if you use the matching components:
# apexcharts tabulator-tables quill flatpickr tom-select sortablejs jsvectormap overlayscrollbars @fullcalendar/core @fullcalendar/daygrid @fullcalendar/interaction

Usage

// main.ts
import { createApp } from 'vue'
import AdminLteVue from 'adminlte-vue'
import 'adminlte-vue/css'          // prebuilt AdminLTE + Bootstrap CSS
import 'bootstrap-icons/font/bootstrap-icons.css'
import App from './App.vue'

createApp(App).use(AdminLteVue).mount('#app')
<script setup lang="ts">
import type { MenuNode } from 'adminlte-vue'
const menu: MenuNode[] = [
  { type: 'item', text: 'Dashboard', href: '/', icon: 'bi-speedometer' },
  { type: 'group', text: 'Pages', icon: 'bi-files', children: [
    { type: 'item', text: 'Profile', href: '/profile' },
  ] },
]
</script>

<template>
  <LteDashboardLayout :menu-items="menu" :current-path="$route.path">
    <LteAppContent title="Dashboard">
      <LteCard title="Hello" collapsible>It works!</LteCard>
    </LteAppContent>
  </LteDashboardLayout>
</template>

You can also import components individually (tree-shakeable):

import { LteCard, useSidebar } from 'adminlte-vue'
import { LteApexChart } from 'adminlte-vue/plugins'

Exports

| Entry | Contents | | --- | --- | | adminlte-vue | ~45 core components + composables + the install plugin (default export) | | adminlte-vue/plugins | Plugin wrappers (charts, datatable, editor, datepicker, select, calendar, vector map, sortable, kanban). Heavy libs are lazy-loaded and listed as optional peer deps. | | adminlte-vue/css | Prebuilt AdminLTE + Bootstrap CSS | | adminlte-vue/css/rtl | RTL CSS variant |

Composables

useSidebar, useColorMode, useCardWidget, useTreeviewRegistry/treeviewTransition, useFullscreen, useDirectChat, useSortable, useCommandPalette. Sidebar and color-mode state are provided by <LteDashboardLayout> and consumed via inject — the Vue equivalent of the React port's Context + hooks.

Notes

  • Styling comes entirely from the prebuilt admin-lte package (no SCSS shipped).
  • Dark mode uses Bootstrap's native data-bs-theme on <html>; state persists under the lte-theme localStorage key. Sidebar collapse persists under lte.sidebar.state (opt-in).
  • Behaviors (push-menu, treeview, card collapse/maximize, fullscreen, direct-chat) are reimplemented as composables — no jQuery, no vanilla adminlte.js.
  • All browser-API access is guarded for SSR.

MIT licensed.