0.0.7 • Published 2 years ago

@swert/feather-icons v0.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Feather Icons

NPM version NPM downloads

Install

$ npm install @swert/feather-icons
$ pnpm install @swert/feather-icons
$ yarn add @swert/feather-icons

Usage

<script setup>
// Only import what you need!
import { FeatherIcon, CoffeeIcon, ... } from '@swert/feather-icons'
</script>

<template>
    <FeatherIcon size="1.5x" class="custom-class" />
</template>

See all icons and usage here: https://feathericons.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.

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

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

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

Tree shaking

By using ES imports like import { FeatherIcon } from '@swert/feather-icons' with webpack + minifier or Rollup, unused exports in this module will be automatically eliminated.

0.0.5

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago