@vue-hero-icons/outline

A set of free MIT-licensed high-quality SVG icons as Vue functional components.
246,298 101
Install
npm install @vue-hero-icons/outline
Latest Version:1.7.2
License:MIT
Last Updated:Jul 31, 2021
Links: GitHub  ·  npm
Maintainer: matschik

vue-hero-icons

A set of free MIT-licensed high-quality SVG icons, sourced from @tailwindlabs/heroicons, as Vue functional components.

Install

# Only outline icons
npm install @vue-hero-icons/outline

# Only solid icons
npm install @vue-hero-icons/solid

Usage

// Only import what you need!
import { AnnotationIcon, ArrowCircleUpIcon, ... } from '@vue-hero-icons/outline'

See all icons and usage here: https://vue-hero-icons.netlify.com

Sizing

By default, icons will be sized based on the font size of the parent element.

You can set a custom size using the size attribute. For multiple based sizing, pass the desired multiple followed by an x.

<AnnotationIcon size="1.5x" class="custom-class" />

You can also set a px size directly by just passing an integer

<AnnotationIcon size="25" class="custom-class" />

Tree shaking

By using ES imports like import { AnnotationIcon } from "@vue-hero-icons/outline" with webpack + minifier or Rollup, unused exports in this module will be automatically eliminated.

Inspiration

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Credits

heroicons © Refactoring UI, Released under the MIT License.

Author

vue-hero-icons © matschik, Released under the MIT License.

GitHub @matschik · Twitter @matschik_

Related Packages

@nuxt-hero-icons/outline

A set of free MIT-licensed high-quality SVG icons as Vue functional components.

5,626 4
@4kda/vuetify-cifrum-icons

The Cifrum icons for Vuetify

1,759
mdue

Material Design Icons for Vue 3

33,661 29
@univerjs/icons-vue

Vue icons for Univer.

6,996 18
ant-design-icons

Ant Design Icons 是一套提取自 Ant Design 的高质量图标,你可以自由地在 React、Vue...

5,284 53

Version History

Version Released License
1.7.2 MIT
1.7.1 MIT
1.7.0 MIT
1.6.3 MIT
1.6.2 MIT