Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
@transferwise/components
Advanced tools
Neptune is the Design System built by and used at TransferWise. Neptune Web is the Neptune framework for Web. Neptune Web provides a way to build high quality, consistent user experiences on the web with ease.
This is the Neptune Web React component library. It uses Neptune CSS.
Neptune Components are published to npm as @transferwise/components.
# pnpm
pnpm install @transferwise/components react react-dom prop-types @wise/art
# yarn
yarn add @transferwise/components react react-dom prop-types @wise/art
# npm
npm install @transferwise/components react react-dom prop-types @wise/art
// These CSS files should be imported once in your application
import '@transferwise/neptune-css/dist/css/neptune.css';
import '@transferwise/components/build/main.css';
import en from '@transferwise/components/build/i18n/en.json';
import { Provider, Button, Size } from '@transferwise/components';
export default function Hello() {
return (
<Provider i18n={{ locale: 'en-UK', messages: en }}>
<Button size={Size.SMALL} block={true}>
Hello Neptune
</Button>
</Provider>
);
}
We expose reusable mocks for Jest and Vitest under an isolated entry point. They can be applied by passing the testing framework as the parameter:
import { mockMatchMedia, mockResizeObserver } from '@transferwise/components/build/mocks';
import { jest } from '@jest/globals';
import { vi } from 'vitest';
mockMatchMedia(jest); // With Jest
mockResizeObserver(vi); // With Vitest
Visit the docs for information on getting started, usage information and examples for each component.
We love contribution! 🙏 Read the guide to get started.
FAQs
Neptune React components
The npm package @transferwise/components receives a total of 607 weekly downloads. As such, @transferwise/components popularity was classified as not popular.
We found that @transferwise/components demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers 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
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.