
Security News
152 Chrome Live Wallpaper Extensions Hid Ad Tracking and Faked Google Search Traffic
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.
@1money/component-ui
Advanced tools
React Components based on primereact for 1money front-end projects
This repository contains the source for @1money/component-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.
Browse the published component documentation and interactive examples at:
https://1money-co.github.io/1money-components-ui/
The site is built from the main branch (pnpm build:demo) and deployed to GitHub Pages on every push. For unreleased work on other branches, run Storybook locally with pnpm dev.
src/styles/6205lib/ and es/Install the package and the required React dependencies:
pnpm add @1money/component-ui react react-dom primereact primeicons
Then import the library stylesheet once in your app entrypoint:
import '@1money/component-ui/index.css';
Named imports are available from the root package entry:
import {
Button,
Checkbox,
CheckboxGroup,
Grid,
Icons,
notification,
Tag,
Tooltip,
} from '@1money/component-ui';
import '@1money/component-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 is a static API. Call it from event handlers,
effects, or other client-side actions.
*/}
<Button
onClick={() =>
notification.success({
title: 'Saved',
body: 'Settings were updated.',
})
}
>
Show notification
</Button>
</>
);
}
Tree-shakeable subpath imports are also supported:
import { Button } from '@1money/component-ui/Button';
import { Spinner } from '@1money/component-ui/Spinner';
The current source tree includes these component modules:
AccordionAlertButtonCalendarCarouselCellCheckbox (+ CheckboxGroup)CoachMarkCopy (+ Clipboard)DialogDividerDrawerDropdownEmptyFlexGrid (+ Row, Col)Icons (+ IconWrapper, IconHover)InputLinkNavigation (+ Nav, NavigationStepper)notification (static Notification API)PaginationPopconfirmPortalProFormProgressRadio (+ RadioGroup)ResizeObserverSegmentSelectSkeletonSliderSpaceSpinnerStepSwitchTable (+ VirtualTable)TabsTagTooltipTourTriggerTypographyUpload (+ UploadFileBar)VirtualListThe package manifest defines subpath exports for top-level component modules. Grouped exports such as Row, Col, Nav, and VirtualTable are imported from their parent module subpaths.
Consumers should import @1money/component-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 APIsystem/ = sx enginerecipes/ = library recipe helperspublic/ = consumer-facing facade exported by src/styles/_api.scssComponent 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.
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 CommonJSes/ for ES modulessrc/
├── components/ # Component source
├── styles/ # SCSS public/theme/system/recipes/internal layers
└── index.ts # Root library exports
@1money/component-uihttps://github.com/1Money-Co/1money-components-uiMITFAQs
React Components based on primereact for 1money front-end projects
We found that @1money/component-ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.