@nuskin/ns-icon

2.12.1 • Public • Published

NsIcon

This repo contains a single reusable Vue icon component


To use icon component

Add NsIcon to your project

yarn add @nuskin/ns-icon

Import NsIcon into your Vue Component

import { NsIcon } from '@nuskin/ns-icon';

export default() {
  name: 'YourComponentName',
  components: { NsIcon }
}

In your HTML you can use it like this:

<ns-icon icon-name="icon-cart-trans-plus" />

For full list of NsIcon options see the documentation on Nu Skin's Vue Storybook.

Readme

Keywords

none

Package Sidebar

Install

npm i @nuskin/ns-icon

Weekly Downloads

375

Version

2.12.1

License

ISC

Unpacked Size

491 kB

Total Files

15

Last publish

Collaborators

  • nkranendonk
  • emoore
  • nuskin-cws
  • klau
  • rellenberger