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

@sito/dashboard-app

v0.0.85

Published

UI Library with prefab components

Readme

@sito/dashboard-app

@sito/dashboard-app is a React 18 component and utilities library for building Sito-style admin dashboards, CRUD screens, and internal tools. It packages UI components, hooks, providers, typed API helpers, and styles in a single npm package.

Documentation scope and source of truth

| Document | Primary audience | Source of truth for | | ------------------------------------ | ----------------------------- | --------------------------------------------------------- | | README.md (this file) | Consumer apps and maintainers | Install, requirements, scripts, doc index | | AGENTS.md | AI agents and maintainers | Implementation rules and reference tables | | docs/CONSUMER_GUIDE.md | Consumer apps | Providers, components, props, hooks, API clients | | docs/RECIPES.md (+ split files) | Consumer apps | Index of themed recipe files (layout/data/forms) | | docs/RECIPES_LAYOUT.md | Consumer apps | Providers, app/auth shells, fallback views, PWA, drawer | | docs/RECIPES_DATA.md | Consumer apps | CRUD, entity clients, exports | | docs/RECIPES_FORMS.md | Consumer apps | Forms, dialogs, tabs/onboarding, feedback, auth, errors | | docs/THEME_AND_CSS.md | Consumer apps | CSS tokens, theme variables, safe overrides | | docs/TROUBLESHOOTING.md | Consumer apps | Common provider/typing/styling/auth/routing issues | | docs/ARCHITECTURE_RULES.md | Maintainers | Internal layering and folder rules | | docs/TRANSLATIONS_DASHBOARD_APP.md | Consumer apps | i18n keys required by the library | | .sito/*.md | Internal team and agents | Upstream @sito/dashboard reference (not canonical here) |

Important:

  • @sito/dashboard-app is not SSR-compatible. Browser-only.
  • For auth-enabled apps, use ConfigProvider -> ManagerProvider -> AuthProvider -> NotificationProvider -> DrawerMenuProvider (NavbarProvider when needed; BottomNavActionProvider optional for dynamic mobile center actions).
  • Drawer and Onboarding run without AuthProvider; guest entry is owned by Onboarding.
  • IconButton differs by package:
    • @sito/dashboard: icon accepts a React node.
    • @sito/dashboard-app: icon?: IconDefinition (FontAwesome wrapper export).

Installation

npm install @sito/dashboard-app
# or
yarn add @sito/dashboard-app
# or
pnpm add @sito/dashboard-app

Peer dependencies:

npm install \
  [email protected] [email protected] \
  @sito/dashboard@^0.0.84 \
  @tanstack/[email protected] \
  [email protected] \
  @fortawesome/[email protected] \
  @fortawesome/[email protected] \
  @fortawesome/[email protected] \
  @fortawesome/[email protected] \
  @fortawesome/[email protected]

Supabase backend (optional):

npm install @supabase/[email protected]

Requirements

  • Node.js 20.x (see .nvmrc)
  • Browser runtime only (no SSR)
  • React 18.3.1
  • React DOM 18.3.1
  • @tanstack/react-query 5.83.0
  • @supabase/supabase-js 2.100.0 (optional)
  • react-hook-form 7.61.1
  • @sito/dashboard ^0.0.84
  • Font Awesome peers per package.json

Quick start

  1. Wrap your app with providers in canonical order (or use AppProviders / createAppProviders).
  2. Extend BaseClient (or SupabaseDataClient) per API resource.
  3. Compose pages with AppShell + DashboardHeader + DashboardFooter + Page + dialog/form hooks.

Detailed setup, examples, and prop tables live in:

Core exports

  • Layout and navigation: Page, Navbar, Drawer, BottomNavigation, TabsLayout, PrettyGrid, ToTop
  • Layout shells: AppShell, AuthShell, DashboardHeader, DashboardFooter
  • Reusable views: NotFoundView, FeatureUnavailableView
  • Actions and menus: Actions, Action, Dropdown, button components
  • Dialogs and forms: Dialog, FormDialog, ImportDialog, ExportDialog, PwaUpdateDialog, form inputs
  • Feedback: Notification, Loading, Empty, Error, Onboarding, OfflineBanner, TopBanner
  • Hooks: useFormDialog, usePostDialog, usePutDialog, useImportDialog, useExportDialog, useDeleteDialog, useMutationForm, useDeleteAction, useNavbar, useOnlineStatus, useOnlineStatusSnapshot, and more — action hooks ship with default sticky, multiple, id, icon, tooltip; only onClick is required.
  • Providers and utilities: ConfigProvider, ManagerProvider, AppProviders, createAppProviders, SupabaseManagerProvider, AuthProvider, SupabaseAuthProvider, NotificationProvider, DrawerMenuProvider, NavbarProvider, BottomNavActionProvider, useBottomNavAction, useOptionalBottomNavAction, useRegisterBottomNavAction, DTOs, API clients (BaseClient, SupabaseDataClient), useSupabase, filterMenuByFeatureFlags, normalizeMenuDividers.

Local development

git clone https://github.com/sito8943/-sito-dashboard-app.git
cd ./-sito-dashboard-app
nvm use
npm install
npm run dev
# optional: npm run storybook

Scripts

  • npm run dev — Vite dev server
  • npm run build — TypeScript + library build
  • npm run preview — preview built bundle locally
  • npm run lint — ESLint + Prettier check + depcheck (no writes)
  • npm run lint:fix — ESLint autofix + Prettier write
  • npm run docs:check — docs policy markers, relative links, version alignment
  • npm run test — Vitest single run
  • npm run test:watch — Vitest watch mode
  • npm run format — Prettier write
  • npm run storybook — run Storybook locally
  • npm run build-storybook — static Storybook build

Validation stack

  • npm run lint
  • npm run docs:check
  • npm run test
  • npm run build
  • Storybook / manual visual checks (optional)

Deployment / release

CI:

  • .github/workflows/ci.ymltest + build on push / PR
  • .github/workflows/lint.ymllint + docs:check on PR

Manual release:

npm version patch        # or minor / major
npm run lint
npm run test
npm run build
npm publish --access public
git push --follow-tags

Contributing

  1. Fork the repo.
  2. Branch per feature/fix.
  3. Open a PR with change summary + validation notes.

License

MIT (see LICENSE).