@ledgerhq/crypto-icons-ui

1.12.0 • Public • Published

@ledgerhq/crypto-icons-ui

npm

A collection of cryptocurrency icons

This package contains a collection of React and React Native cryptocurrency icon components.

Reference

🔗 Icons list

Installation

Note: Do not install this package directly if your project is using @ledgerhq/react-ui or @ledgerhq/native-ui. Both packages include icons-ui as a dependency and the icon components are re-exported and are accessible from there.

Package

npm i @ledgerhq/crypto-icons-ui

Usage

Props

declare type Props = {
  /**
   *  Icon size, defaults to 16.
   */
  size?: number | string;
  /**
   * Icon color, defaults to currentColor.
   */
  color?: string;
};

React

import { BTC, ETH } from "@ledgerhq/crypto-icons-ui/react"

/* … */

<BTC color="green" />
<ETH size={20} color="red" />

React Native

import { BTC, ETH } from "@ledgerhq/crypto-icons-ui/native"

/* … */

<BTC color="green" />
<ETH size={20} color="red" />

Readme

Keywords

none

Package Sidebar

Install

npm i @ledgerhq/crypto-icons-ui

Weekly Downloads

371

Version

1.12.0

License

MIT

Unpacked Size

7.2 MB

Total Files

4636

Last publish

Collaborators

  • phenry-ledger
  • sergii-shkolin
  • gbrahm-ledger
  • aboissiere
  • thomas.coudray
  • ldg-github-ci
  • vbouzon
  • ledger-releaser