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

@1money/component-ui

v0.0.5

Published

React Components based on primereact for 1money front-end projects

Readme

1Money React UI

This repository contains the source for @1money/components-ui, a React component library used across 1Money front-end projects.

It combines reusable UI components with a 1Money SCSS design system, Storybook for local development, and dual CommonJS/ES module builds for distribution.

Features

  • React and TypeScript component library
  • Reusable UI building blocks styled for 1Money products
  • SCSS design system in src/styles/
  • Storybook development server on port 6205
  • Dual build output to lib/ and es/

Installation

Install the package and the required React dependencies:

pnpm add @1money/components-ui react react-dom primereact primeicons

Then import the library stylesheet once in your app entrypoint:

import '@1money/components-ui/index.css';

Quick Start

Named imports are available from the root package entry:

import {
  Button,
  Checkbox,
  CheckboxGroup,
  Grid,
  Notification,
  Icons,
  Tag,
  Tooltip,
} from '@1money/components-ui';
import '@1money/components-ui/index.css';

export function Example() {
  return (
    <>
      <Grid gutter={[16, 16]}>
        <Grid.Col span={12} md={6}>
          <Button color="primary">Continue</Button>
        </Grid.Col>
        <Grid.Col span={12} md={6}>
          <Checkbox label="Accept terms" />
        </Grid.Col>
        <Grid.Col span={12} md={6}>
          <CheckboxGroup
            options={['Email', 'SMS']}
            defaultValue={['Email']}
          />
        </Grid.Col>
      </Grid>

      <Tag label="Active" color="success" />

      <button id="help-trigger" type="button">
        <Icons name="info" />
      </button>
      <Tooltip anchorSelect="#help-trigger" body="More details" />

      <Notification
        status="success"
        title="Saved"
        body="Settings were updated."
      />
    </>
  );
}

Tree-shakeable subpath imports are also supported:

import { Button } from '@1money/components-ui/Button';
import { Spinner } from '@1money/components-ui/Spinner';

Components In This Repository

The current source tree includes these component modules:

  • Button
  • Checkbox
  • CheckboxGroup
  • Flex
  • Grid
  • Icons
  • Notification
  • Space
  • Spinner
  • Tag
  • Tooltip

The package manifest also defines additional subpath exports for published builds.

Styling

Consumers should import @1money/components-ui/index.css.

When building or updating components inside this repository, SCSS files should import the internal style API:

@use '@/styles/api' as theme;

The style system follows a layered boundary model:

  • theme/ = design-domain API
  • system/ = sx engine
  • recipes/ = library recipe helpers
  • public/ = consumer-facing facade exported by src/styles/_api.scss

Component SCSS should not import system/* or tokens/* directly. theme/functions is reserved for rare library-only reader access such as om-line-height(...) or om-line-height-px(...). The design token and utility system is documented in src/styles/README.md.

Development

Install dependencies:

pnpm install

Start Storybook locally:

pnpm dev

Storybook runs at http://localhost:6205.

Useful commands:

pnpm test
pnpm lint
pnpm build
pnpm new
pnpm new Button -f

Build output is generated in:

  • lib/ for CommonJS
  • es/ for ES modules

Project Structure

src/
├── components/   # Component source
├── styles/       # SCSS public/theme/system/recipes/internal layers
└── index.ts      # Root library exports

Release Notes

  • Package name: @1money/components-ui
  • Repository: https://github.com/1Money-Co/1money-react-ui
  • License: MIT