Skip to content

bitcoiner-dev/Bitcoin-Icons

 
 

Repository files navigation

banner image

Bitcoin Icons (WIP)

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.

Icons are available as a public Figma community file for design work. This repository contains icon exports as SVGs for implementation.

For requests, please leave a comment on the Figma file or post an issue to this repo. This could be new icons, improvements to existing icons, more style or export formats, or anything else. Just reach out.

Bitcoin Icons is a sister project of the Bitcoin Wallet UI Kit created by GBKS.

Contributing

For info on how to contribute please see the contribution guidelines.

Node Module

The node module is still in development. For now, you can install it and then pull the SVGs into a build system such as Gulp. In the future, there may be more options for importing the icons, such as font files, javascript imports, etc.

To install the node module pre-release version, run:

npm install @bitcoin-design/bitcoin-icons

React

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

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

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.

Vue

Note that this library currently only supports Vue 3.

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

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

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

<template>
  <div>
    <BitcoinIcon style="height:5px;width:5px;color:#F7931A" />
    <p>...</p>
  </div>
</template>

<script>
import { BitcoinIcon } from '@bitcoin-design/bitcoin-icons-vue/filled'

export default {
  components: { BitcoinIcon }
}
</script>

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

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

About

Icons made for Bitcoin applications, free to use.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 68.4%
  • TypeScript 31.6%