Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@heroicons/vue

Package Overview
Dependencies
Maintainers
4
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@heroicons/vue

  • 2.1.1
  • Source
  • npm
  • Socket score

Version published
Maintainers
4
Created

What is @heroicons/vue?

@heroicons/vue is a Vue.js library that provides a collection of free, high-quality SVG icons. These icons are designed to be simple and easy to use in Vue.js applications. The package includes both outline and solid icons, making it versatile for different design needs.

What are @heroicons/vue's main functionalities?

Outline Icons

This feature allows you to use outline icons in your Vue.js application. The example demonstrates how to import and use an outline icon named 'academic-cap'.

<template>
  <div>
    <HeroIcon name="academic-cap" outline />
  </div>
</template>

<script>
import { HeroIcon } from '@heroicons/vue/outline';

export default {
  components: {
    HeroIcon
  }
};
</script>

Solid Icons

This feature allows you to use solid icons in your Vue.js application. The example demonstrates how to import and use a solid icon named 'academic-cap'.

<template>
  <div>
    <HeroIcon name="academic-cap" solid />
  </div>
</template>

<script>
import { HeroIcon } from '@heroicons/vue/solid';

export default {
  components: {
    HeroIcon
  }
};
</script>

Customizable Icons

This feature allows you to customize the size and color of the icons. The example demonstrates how to apply custom classes to an outline icon to change its size and color.

<template>
  <div>
    <HeroIcon name="academic-cap" outline class="w-6 h-6 text-blue-500" />
  </div>
</template>

<script>
import { HeroIcon } from '@heroicons/vue/outline';

export default {
  components: {
    HeroIcon
  }
};
</script>

Other packages similar to @heroicons/vue

FAQs

Package last updated on 18 Dec 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc