Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
vue-heroicons
Advanced tools
Readme
Free 104 premium heroicons-ui SVG icons for your Vue.js project
https://vue-heroicons.netlify.com/
// NPM
npm i vue-heroicons
// Yarn
yarn add vue-heroicons
main.js
import Vue from 'vue'
import HeroIcon from 'vue-heroicons'
import { archive, arrowDown } from 'vue-heroicons/src/icons'
HeroIcon.add([archive, arrowDown])
Vue.use(HeroIcon)
app.vue
<template>
<div id="app">
<heroicon name="archive"></heroicon>
<heroicon name="arrow-down" fill="green"></heroicon>
</div>
</template>
my-custom-icons.js
export const customIcon = { name: 'custom-icon', path: '<path d="M13 5.41V21a1 1 0 0 1-2 0V5.41l-5.3 5.3a1 1 0 1 1-1.4-1.42l7-7a1 1 0 0 1 1.4 0l7 7a1 1 0 1 1-1.4 1.42L13 5.4z"/>' }
main.js
import Vue from 'vue'
import HeroIcon from 'vue-heroicons'
import { archive, arrowDown } from 'vue-heroicons/src/icons'
import { customIcon } from './my-custom-icons'
HeroIcon.add([archive, arrowDown, customIcon])
Vue.use(HeroIcon)
app.vue
<template>
<div id="app">
<heroicon name="custom-icon"></heroicon>
</div>
</template>
Name | Description | Type | Accepted values |
---|---|---|---|
name | Icon name | String | - |
height | Height of icon | String | - |
width | Width of icon | String | - |
fill | Color of icon | String | HEX or color name |
FAQs
Free 104 premium SVG icons for your Vue.js project
The npm package vue-heroicons receives a total of 118 weekly downloads. As such, vue-heroicons popularity was classified as not popular.
We found that vue-heroicons 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.