Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mycrypto/ui

Package Overview
Dependencies
Maintainers
2
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mycrypto/ui

The shared UI component library used across all MyCrypto products.

  • 1.12.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

MyCrypto UI

Build Status Codecov

The shared UI component library used across all MyCrypto products.

Implemented with React components following Atomic Design.

Installation

Requires a bundler with ES module support.

yarn add @mycrypto/ui styled-components

Wrap your app in a ThemeProvider to use the included theme.

import { Body, theme } from '@mycrypto/ui';
import { ThemeProvider } from 'styled-components';

<ThemeProvider theme={theme}>
  <Body>Hello, world!</Body>
</ThemeProvider>;

Typeface

Our designs use the Lato and Roboto Mono typefaces, which you will probably need to install in your app or site. There are several options depending on your requirements and build tooling:

Development

You can launch the storybook simply by running yarn start. To test changes inside other projects directly, you can use yarn link:

# Inside the UI folder
yarn link
yarn build

# Inside your own project
yarn link @mycrypto/ui

Deployment

The npm package is automatically updated by GitHub CI whenever the version is changed inside package.json.

Keywords

FAQs

Package last updated on 10 Feb 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc