0.1.0 • Published 1 year ago

chain-icons v0.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

chain-icons

A collection of web3 chains/networks SVG icons

Works for any JS framework or vanilla JS as long as you have configured your build system to support importing SVG files - which most of them do out of the box.

install

npm install chain-icons

Example: React

import polygonSVG from "chain-icons/svg/polygon.svg";

export default function App() {
  return (
    <div>
      <img src={polygonSVG} alt="Polygon BlockChain" width={200} height={200} />
    </div>
  );
}

Checkout the live demo in CodeSandbox

List of SVGs

Check out the /svg to see the list of available SVGs.

Source of SVG files

Collection of SVGs are taken from @thirdweb-dev/chain-icons

0.1.0

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago