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

@pixpilot/shadcn-dashboard

v0.1.3

Published

Responsive dashboard shell (sidebar, mobile sheet, header, main) and page building blocks built with shadcn/ui.

Readme

@pixpilot/shadcn-dashboard

Responsive dashboard shell built with shadcn/ui: a sidebar on desktop, a sheet on mobile, a header and a main area, plus the page building blocks that sit inside it.

The package never imports host code. Routes, router, brand logo, user and sign-out are passed in.

Install

pnpm add @pixpilot/shadcn-dashboard

Peers: react and react-dom 18 or 19. Styling needs Tailwind CSS v4 with your shadcn theme tokens; the header uses @container queries.

Exports

| Export | Purpose | | ------------------------------------------------------------------- | ------------------------------------------------------------------------ | | Dashboard | Root. Holds sidebar state; takes an optional logo. | | DashboardSidebar, DashboardSidebarTop, DashboardSidebarBottom | Sidebar on desktop, sheet on mobile. Closes the sheet after a nav click. | | DashboardContent, DashboardHeader, DashboardMain | Right-hand column. | | DashboardNavigationButtons, DashboardItem | Nav list with nested items. Mark root items exact. | | DashboardLogo | Round icon button for the logo. Route from onClick. | | DashboardSidebarUser | Avatar, name, subtitle and an actions row. | | DashboardPageContent, DashboardPageHeader, DashboardCard | Page width, page header, section card. | | DashboardProvider, useDashboard | Sidebar state, for custom pieces. | | getInitials | Avatar initials helper. |

Usage

import {
  Dashboard,
  DashboardCard,
  DashboardContent,
  DashboardLogo,
  DashboardMain,
  DashboardNavigationButtons,
  DashboardPageContent,
  DashboardPageHeader,
  DashboardSidebar,
  DashboardSidebarBottom,
  DashboardSidebarTop,
  DashboardSidebarUser,
} from '@pixpilot/shadcn-dashboard';

<Dashboard
  logo={
    <DashboardLogo onClick={() => router.push('/dashboard')}>
      <Logo />
    </DashboardLogo>
  }
>
  <DashboardSidebar>
    <DashboardSidebarTop>
      <DashboardNavigationButtons
        items={items}
        pathname={pathname}
        onItemClick={(item) => router.push(item.href)}
      />
    </DashboardSidebarTop>
    <DashboardSidebarBottom>
      <DashboardSidebarUser name={user.name} subtitle="Admin">
        <LogoutButton />
      </DashboardSidebarUser>
    </DashboardSidebarBottom>
  </DashboardSidebar>

  <DashboardContent>
    <DashboardMain>
      <DashboardPageContent>
        <DashboardPageHeader title="Jobs" />
        <DashboardCard title="Recent">…</DashboardCard>
      </DashboardPageContent>
    </DashboardMain>
  </DashboardContent>
</Dashboard>;

Navigation items

const items: DashboardItem[] = [
  { href: '/dashboard', label: 'Home', icon: <Home />, exact: true },
  { href: '/dashboard/jobs', label: 'Jobs', icon: <Briefcase />, location: 'top' },
  { href: '/dashboard/settings', label: 'Settings', icon: <Cog />, location: 'bottom' },
];
  • An item is active on its own route and every route beneath it. Set exact on a root item so it is not active everywhere.
  • location lets you render the same list twice, once per sidebar section, with <DashboardNavigationButtons location="top" />.
  • children nests items that show only while the parent is active.