![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
@iconify/icons-cryptocurrency
Advanced tools
This package includes individual files for each icon, ready to be imported into a project.
Each icon is in its own file, so you can bundle several icons from different icon sets without bundling entire icon sets.
If you are using NPM:
npm install @iconify/icons-cryptocurrency --save-dev
If you are using Yarn:
yarn add --dev @iconify/icons-cryptocurrency
First you need to install Iconify for React.
If you are using NPM:
npm install --save-dev @iconify/react
If you are using Yarn:
yarn add --dev @iconify/react
import { Icon, InlineIcon } from '@iconify/react';
import btcIcon from '@iconify/icons-cryptocurrency/btc';
<Icon icon={btcIcon} />
<p>This is some text with icon adjusted for baseline: <InlineIcon icon={btcIcon} /></p>
This example is using string syntax that is available since Iconify for React 2.0
This example will not work with Iconify for React 1.x
import React from 'react';
import { Icon, addIcon } from '@iconify/react';
import ltcIcon from '@iconify/icons-cryptocurrency/ltc';
addIcon('ltc', ltcIcon);
export function MyComponent() {
return (
<div>
<Icon icon="ltc" />
</div>
);
}
import React from 'react';
import { InlineIcon } from '@iconify/react';
import ethIcon from '@iconify/icons-cryptocurrency/eth';
export function MyComponent() {
return (
<p>
<InlineIcon icon={ethIcon} /> Sample text with an icon.
</p>
);
}
See https://github.com/iconify/iconify/packages/react for details.
First you need to install Iconify for Vue.
If you are using NPM:
npm install --save-dev @iconify/vue
If you are using Yarn:
yarn add --dev @iconify/vue
This example is using object syntax with TypeScript.
<template>
<p>
<iconify-icon :icon="icons.btc" />
</p>
</template>
<script lang="ts">
import { Component, Prop, Vue } from 'vue-property-decorator';
import IconifyIcon from '@iconify/vue';
import btcIcon from '@iconify/icons-cryptocurrency/btc';
export default Vue.extend({
components: {
IconifyIcon,
},
data() {
return {
icons: {
btc: btcIcon,
},
};
},
});
</script>
This example is using string syntax.
<template>
<p>
Example of 'ltc' icon:
<iconify-icon icon="ltc" :inline="true" />!
</p>
</template>
<script>
import IconifyIcon from '@iconify/vue';
import ltcIcon from '@iconify/icons-cryptocurrency/ltc';
IconifyIcon.addIcon('ltc', ltcIcon);
export default {
components: {
IconifyIcon,
},
};
</script>
This example is using object syntax.
<template>
<iconify-icon :icon="icons.ethIcon" />
</template>
<script>
import IconifyIcon from '@iconify/vue';
import ethIcon from '@iconify/icons-cryptocurrency/eth';
export default {
components: {
IconifyIcon,
},
data() {
return {
icons: {
ethIcon,
},
};
},
};
</script>
See https://github.com/iconify/iconify/packages/vue for details.
Icons author: Christopher Downer
Website: https://github.com/atomiclabs/cryptocurrency-icons
License: CC0 1.0
License URL: https://creativecommons.org/publicdomain/zero/1.0/
FAQs
Iconify icon components for Cryptocurrency Icons
The npm package @iconify/icons-cryptocurrency receives a total of 1,002 weekly downloads. As such, @iconify/icons-cryptocurrency popularity was classified as popular.
We found that @iconify/icons-cryptocurrency demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.