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

healthcare-admin-ui-qingtian

v0.1.1

Published

Reusable React + TypeScript UI component library for healthcare admin dashboards.

Readme

@healthcare-admin/ui

Reusable React + TypeScript component library for healthcare admin dashboards, inspired by an Authorization History / Utilization Management UI.

What is included

Components:

  • AppHeader
  • PageTitleBar
  • FilterSidebar
  • FilterSection
  • FormField
  • TextInput
  • SelectField
  • ShowMoreToggle
  • ActiveFiltersBar
  • FilterChip
  • DataTable
  • TableHeader
  • TableRow
  • TableCell

Demo:

  • AuthorizationHistoryPage

Design tokens:

  • colors
  • typography
  • spacing
  • sizing
  • borders
  • radius
  • table density

Installation

npm install @healthcare-admin/ui

Because this library uses React as a peer dependency, your app should already have React and React DOM installed.

npm install react react-dom

Usage

import { AuthorizationHistoryPage } from '@healthcare-admin/ui';
import '@healthcare-admin/ui/dist/tokens.css';
import '@healthcare-admin/ui/dist/components.css';

export default function App() {
  return <AuthorizationHistoryPage username="JACOB" />;
}

Build locally

npm install
npm run build

The build output is generated in dist/.

Publish to npm

npm login
npm publish --access public

For scoped packages like @healthcare-admin/ui, use --access public if the package is public.

Use components separately

import {
  AppHeader,
  PageTitleBar,
  FilterSidebar,
  FilterSection,
  FormField,
  TextInput,
  SelectField,
  ActiveFiltersBar,
  DataTable,
  type TableColumn
} from '@healthcare-admin/ui';

const columns: TableColumn[] = [
  { key: 'id', label: 'Processed Auth ID', width: 220 },
  { key: 'member', label: 'Member', width: 160 },
  { key: 'dob', label: 'DOB', width: 110 }
];

const data = [
  { id: '260422009110002026101', member: 'Sample Member', dob: '01/01/1929' }
];

export function MyPage() {
  return (
    <div className="ha-root">
      <AppHeader
        title="Utilization Management"
        username="JACOB"
        navItems={[{ label: 'Dashboard' }, { label: 'Authorizations' }]}
      />
      <PageTitleBar title="Authorization History" />

      <div className="ha-dashboard-layout">
        <FilterSidebar>
          <FilterSection title="Member Level Filters">
            <FormField label="Member Name" htmlFor="member-name">
              <TextInput id="member-name" />
            </FormField>
            <FormField label="Member Language" htmlFor="member-language">
              <SelectField
                id="member-language"
                options={[{ label: 'All items checked', value: 'all' }]}
              />
            </FormField>
          </FilterSection>
        </FilterSidebar>

        <main className="ha-main-content">
          <ActiveFiltersBar
            filters={[{ id: 'from', label: 'Requested From', value: '04/07/2026' }]}
          />
          <DataTable columns={columns} data={data} />
        </main>
      </div>
    </div>
  );
}

Override design tokens

You can customize the UI by overriding CSS variables in your app.

:root {
  --ha-color-primary: #007f8c;
  --ha-color-header-bg: #dbeaf6;
  --ha-size-sidebar-width: 26rem;
  --ha-table-row-min-height: 9rem;
  --ha-table-cell-padding-x: 0.875rem;
}

Folder structure

@healthcare-admin/ui
├─ package.json
├─ tsconfig.json
├─ vite.config.ts
├─ README.md
└─ src
   ├─ index.ts
   ├─ styles
   │  ├─ tokens.css
   │  └─ components.css
   ├─ components
   │  ├─ AppHeader.tsx
   │  ├─ PageTitleBar.tsx
   │  ├─ FilterSidebar.tsx
   │  ├─ FilterSection.tsx
   │  ├─ FormField.tsx
   │  ├─ TextInput.tsx
   │  ├─ SelectField.tsx
   │  ├─ ShowMoreToggle.tsx
   │  ├─ ActiveFiltersBar.tsx
   │  ├─ FilterChip.tsx
   │  ├─ DataTable.tsx
   │  ├─ TableHeader.tsx
   │  ├─ TableRow.tsx
   │  └─ TableCell.tsx
   └─ demo
      └─ AuthorizationHistoryPage.tsx