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

@finbb/ui-components

v1.0.0

Published

The Fingenious design system — a React component library built with [Next.js](https://nextjs.org/), [styled-components](https://styled-components.com/), and documented with [Storybook](https://storybook.js.org/).

Readme

@finbb/ui-components

The Fingenious design system — a React component library built with Next.js, styled-components, and documented with Storybook.

Requirements

  • Node.js 20.20.2 (see .nvmrc)
  • npm >=9

It is recommended to use nvm to manage Node versions:

nvm install
nvm use

Getting started

Install dependencies:

npm install

Development

Storybook

Storybook is the primary development environment. It lets you build, browse, and interact with every component in isolation without needing a host application.

Start the Storybook dev server on http://localhost:6006:

npm start

Or explicitly:

npm run start:storybook

Library watch mode

To rebuild the library output continuously while you develop (useful when linking the package into a host app via npm link):

npm run dev

Linting and formatting

Run all linters (JS/TS + CSS-in-JS styles):

npm run lint

Auto-fix JS/TS lint errors where possible:

npm run lint:fix

Formatting is handled by Prettier and runs automatically on staged files via a pre-commit hook (husky + lint-staged). To format manually:

npx prettier --write .

Building

Build both the component library and the Storybook static site:

npm run build

Or build each separately:

# Component library only (outputs to dist/)
npm run build:lib

# Storybook static site only (outputs to storybook-static/)
npm run build:storybook

Publishing to npm

  1. Update the version in package.json following Semantic Versioning.
  2. Build the library:
    npm run build:lib
  3. Log in to npm if you have not already:
    npm adduser
  4. Publish:
    npm publish

prepublishOnly runs build:lib automatically, so step 2 is optional if you publish directly.

Using the library in a Next.js application

Install the package and its peer dependencies:

npm install @finbb/ui-components next react react-dom uuid

Wrap your application with DesignSystemProvider to apply the theme:

import { DesignSystemProvider } from '@finbb/ui-components';

export default function RootLayout({ children }: { children: React.ReactNode }) {
  return (
    <html>
      <body>
        <DesignSystemProvider>{children}</DesignSystemProvider>
      </body>
    </html>
  );
}

Then import components as needed:

import { Button, NavigationBar, Header } from '@finbb/ui-components';

Project structure

src/
  components/     # All UI components, each in its own folder
  themes/         # Theme definitions, design tokens, and mixins
  types/          # Shared TypeScript types
  index.ts        # Public API — everything exported from here
.storybook/       # Storybook configuration

Contributing

See CONTRIBUTING.md for branching, review, and deployment instructions.