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

@byline/ui

v6.10.1

Published

Byline CMS UI package

Readme

@byline/ui

Framework-independent React primitives for Byline CMS, including buttons, inputs, overlays, icons, and drag-and-drop components. CMS field widgets and document-editor forms belong to @byline/admin.

This package is part of Byline CMS — a developer-friendly, open-source headless CMS with versioning, editorial workflow, and content translation as first-class concerns.

For documentation, the full architecture overview, and getting started instructions, see the main repository: https://github.com/Byline-CMS/bylinecms.dev.

Relationship to @infonomic/uikit

The foundational surface of this package — the components, icons, hooks, lib, loaders, styles, utils, and widgets directories, plus uikit.ts — is shared with @infonomic/uikit. The two kits are kept in step by porting changes manually, in whichever direction a change originates: a change made here is ported upstream, a change made upstream is ported here. Either copy may be edited directly; neither is the sole source of truth.

Byline's dnd/ components and react.ts entry point have no upstream counterpart.

Storybook

Storybook lets you inspect and interact with the UI primitives without starting the CMS or a database. The stories are ported from the sibling UI kit and live beside their components in src/**/*.stories.tsx.

After installing the workspace dependencies, run from the repository root:

pnpm storybook

Open http://localhost:6007. The preview includes the UI kit's reset, theme, typography, local fonts, drawer provider, and toast provider. Use the toolbar to switch between light and dark themes. The accessibility panel runs checks against the selected story; documentation pages and controls are also available.

Build a static site with:

pnpm build-storybook

The output is packages/ui/storybook-static/, which is ignored by Git. Both commands also work with pnpm --filter @byline/ui before the command name. Port 6007 matches the sibling kit; stop its server before starting this one, or run pnpm --filter @byline/ui storybook --port 6008 to use a different port.

Configuration lives in .storybook/main.ts and .storybook/preview.tsx. Static preview assets live in public/, with font licences beside the fonts. The preview applies .byline-ui to the iframe body so portalled overlays inherit the same scoped styles as the stories. Story layout uses inline styles and does not require the web application's Tailwind configuration.

When adding a story, import components from their local source modules and Storybook types from @storybook/react-vite. The package's typecheck command checks stories and configuration; the library build excludes story modules. Run the static build and inspect changed stories in the browser before merging.

License

MPL-2.0