Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
@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.
First you need to install Iconify for Svelte.
If you are using NPM:
npm install --save-dev @iconify/svelte
If you are using Yarn:
yarn add --dev @iconify/svelte
<script>
// npm install --save-dev @iconify/svelte @iconify/icons-cryptocurrency
import IconifyIcon from '@iconify/svelte';
import btcIcon from '@iconify/icons-cryptocurrency/btc';
</script>
<IconifyIcon icon={btcIcon} />
<script>
// npm install --save-dev @iconify/svelte @iconify/icons-cryptocurrency
import IconifyIcon from '@iconify/svelte';
import ltcIcon from '@iconify/icons-cryptocurrency/ltc';
</script>
<IconifyIcon icon={ltcIcon} />
<script>
// npm install --save-dev @iconify/svelte @iconify/icons-cryptocurrency
import IconifyIcon from '@iconify/svelte';
import ethIcon from '@iconify/icons-cryptocurrency/eth';
</script>
<IconifyIcon icon={ethIcon} />
See https://github.com/iconify/iconify/packages/svelte 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
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
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.