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

@arcevo/facet-docs

v1.4.7

Published

Installable, config-driven documentation site engine for the Arcevo ecosystem: component gallery with variant pages, per-variant usage tabs, install tabs, and an optional ecosystem links section. Mount <DocsApp config={...} /> with your own brand, pages,

Downloads

1,215

Readme

@arcevo/facet-docs

Installable, config-driven documentation site engine for the Arcevo ecosystem. Mount <DocsApp config={...} pages={...} /> with your own brand, nav, content pages, and ecosystem links, with no forking or copied source.

The package ships the engine only: the shell, the component gallery, and the content block types. It does not ship facet's own authored guide pages; those live in the demo consumer (apps/docs). You write your own pages array for your product.

Ships: a searchable sidebar shell (VS Code-style collapsible rail), a paginated component gallery with per-component variant pages, per-variant usage tabs, install tabs for every package manager, and an optional ecosystem links section. The gallery separates the base UI components from the "Ready to Use" extras (Dropzone, ColorPicker, QRCode, Marquee, Roadmap, Form), which get their own sidebar section with live previews and copyable usage snippets.

Install

pnpm add @arcevo/facet-docs react react-dom react-router-dom

Usage

import { DocsApp } from "@arcevo/facet-docs";
import type { DocsPage, DocsSiteConfig } from "@arcevo/facet-docs";

const config: DocsSiteConfig = {
  brand: { name: "my-app", tagline: "My product docs" },
  navigation: [], // optional extra sections
  ecosystem: [{ label: "arc-id", href: "/arc-id" }], // optional
};

const pages: DocsPage[] = [
  {
    path: "/",
    title: "Overview",
    section: "guides", // "guides" | "foundations" | "ecosystem"
    description: "Welcome.",
    blocks: [
      { type: "p", text: "Hello." },
      { type: "h2", text: "Quick start" },
      { type: "code", lang: "tsx", text: "import { Button } from \"@arcevo/facet-components\";" },
      { type: "install", pkg: "@arcevo/facet-components" },
      { type: "ul", items: ["One", "Two"] },
    ],
  },
];

export function App() {
  return <DocsApp config={config} pages={pages} />;
}

Content blocks

| Block | Shape | Renders | |-------|-------|---------| | p | { text } | paragraph | | h2 | { text } | section heading | | code | { text, lang? } | code block with copy button | | install | { pkg, extras? } | pnpm / npm / yarn / bun tabs | | ul | { items } | bullet list | | link | { label, href } | internal link | | authDemo | {} | live <SignIn>: config checkboxes drive a method switcher, a live preview, and the synced config code | | authPreviews | {} | live previews of SignUp, MfaDialog, Guard, and forms | | layoutPreviews | {} | live previews of ConsoleLayout, AuthLayout, Sidebar/Topbar, LandingLayout | | demo | { slug, title?, description?, labels? } | reusable interactive demo for any manifest slug: variant switcher + live preview + copyable code | | keyboardShortcuts | {} | Kbd-chip keyboard shortcuts table |

Sidebar

The sidebar's Guides / Foundations / Ecosystem sections derive from the pages you pass (by their section field), so pages and navigation stay in lockstep: add a page to your registry and it appears in the sidebar and in the search palette automatically.

Component gallery

Pass showComponents (default true) to mount the /components gallery. It renders from the extended manifest, which covers the UI components in @arcevo/facet-components plus the auth (@arcevo/facet-auth) and layout (@arcevo/facet-layout) surfaces, so SignIn, SignUp, MfaDialog, Guard, ConsoleLayout, AuthLayout, LandingLayout, Sidebar, and Topbar all get a gallery page with a live preview, a full variant gallery, and per-variant usage tabs with copy buttons. Each variant tab shows the live preview and its matching code side-by-side on desktop.

The "Ready to Use" extras (Dropzone, ColorPicker, QRCode, Marquee, Roadmap, Form) live in a dedicated /ready-to-use sidebar section with live previews and copyable usage snippets, separate from the base gallery.

Foundational entries (Icon, Theme) are excluded from the Components sidebar; they have their own guide pages under the Foundations section.

Icons

The engine renders through @arcevo/facet-components' semantic icon registry, so consumers can override icons per domain via IconProvider without forking the docs engine.

Ecosystem links

Set config.ecosystem to add a final "Ecosystem" sidebar section linking to your other products' docs (e.g. arc-id, arcbase, arc-wallet).

Development

pnpm build      # tsup -> dist
pnpm typecheck

The demo consumer lives at apps/docs (@arcevo/facet-docs-site); it installs this package via workspace:* exactly like an external consumer would, proving the API surface end to end. Its src/pages.ts holds facet's own authored guide pages: the package itself ships only the engine and block types, not that content.