@bitcoin-design/bitcoin-icons-react

0.1.10 • Public • Published

Bitcoin Icons for React

npm version npm downloads

Bitcoin Icons is an open-source/open-design set of icons made for Bitcoin centric applications. Included are general icons most applications need like arrows and a home icon, and maybe more importantly Bitcoin-specific icons like a wallet, keys, miner and Bitcoin symbols.

https://bitcoinicons.com

Installation

First, install @bitcoin-design/bitcoin-icons-react from npm:

npm install @bitcoin-design/bitcoin-icons-react

Usage

Now each icon can be imported individually as a React component:

import { BitcoinIcon } from '@bitcoin-design/bitcoin-icons-react/filled'

function MyComponent() {
  return (
    <div>
      <BitcoinIcon style={{height: "5px", width: "5px", color: '#F7931A' }} />
      <p>...</p>
    </div>
  )
}

The outline icons can be imported from @bitcoin-design/bitcoin-icons-react/outline, and the filled icons can be imported from @bitcoin-design/bitcoin-icons-react/filled.

Icons use an upper camel case naming convention and are always suffixed with the word Icon.

/@bitcoin-design/bitcoin-icons-react/

    Package Sidebar

    Install

    npm i @bitcoin-design/bitcoin-icons-react

    Weekly Downloads

    1,077

    Version

    0.1.10

    License

    MIT

    Unpacked Size

    499 kB

    Total Files

    1012

    Last publish

    Collaborators

    • sbddesign
    • gbks