1. vue-health-icons

vue-health-icons

vue-health-icons

NPM version NPM downloads

Install

 yarn add vue-health-icons

Usage

 // Only import what you need!
import { DevicesMaskOutlineIcon, PeopleElderlyFilledIcon, ... } from 'vue-health-icons';

A full list of icons is available at https://healthicons.org.

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.

 <devices-mask-outline-icon size="1.5x" class="custom-class"></activity-icon>

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

 <devices-mask-outline-icon size="25" class="custom-class"></activity-icon>

Tree shaking

By using ES imports like import { DevicesMaskOutlineIcon } from 'vue-health-icons'; with webpack + minifier or Rollup, unused exports in this module will be automatically eliminated.

To make webpack tree shaking work without using any minifier, you can use the per-file icons from this icons directory, e.g. import DevicesMaskOutlineIcon from 'vue-health-icons/icons/DevicesMaskOutlineIcon';.

This package is an adaptation of vue-feather-icons.