# @nuskin/ns-icon

> A reusable Vue icon component

Latest version **2.12.1** (published 2024-02-21) · ISC license · 0 weekly downloads

## Install

```sh
npm install @nuskin/ns-icon
pnpm add @nuskin/ns-icon
yarn add @nuskin/ns-icon
bun add @nuskin/ns-icon
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.12.1 |
| Published | 2024-02-21 |
| First published | 2020-02-05 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 479.5 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Paul Roberts |
| Maintainers | nkranendonk, emoore, nuskin-cws, klau, rellenberger |

## Links

- npm: https://www.npmjs.com/package/@nuskin/ns-icon
- Repository: git@code.tls.nuskin.io:ns-am/ux/ns-icon
- Homepage: https://code.tls.nuskin.io/ns-am/ux/ns-icon/blob/master/README.md
- npm.io page: https://npm.io/package/@nuskin/ns-icon

## Dependencies (4)

- [vue](https://npm.io/package/vue.md) 2.6.11
- [sass](https://npm.io/package/sass.md) 1.19.0
- [sass-loader](https://npm.io/package/sass-loader.md) 8.0.2
- [conventional-changelog-eslint](https://npm.io/package/conventional-changelog-eslint.md) 3.0.4

## Recent versions

- 2.12.1 (latest) — 2024-02-21
- 2.9.0-core-3675.2 (prerelease) — 2021-01-04
- 2.12.0 — 2022-12-06
- 2.11.0 — 2022-09-07
- 2.10.0 — 2021-05-13
- 2.9.0 — 2021-01-05
- 2.9.0-core-3675.1 — 2021-01-04
- 2.8.1 — 2020-10-08
- 2.8.0 — 2020-10-08
- 2.7.0 — 2020-07-09
- 2.6.0 — 2020-06-26
- 2.5.1 — 2020-06-02
- 2.5.0 — 2020-06-02
- 2.4.0 — 2020-05-19
- 2.3.0 — 2020-05-18
- … 10 more at https://npm.io/package/@nuskin/ns-icon/versions

## README

# NsIcon

### This repo contains a single reusable Vue icon component

----
### To use icon component

Add NsIcon to your project
```bash
yarn add @nuskin/ns-icon
```
#### Import NsIcon into your Vue Component
```javascript
import { NsIcon } from '@nuskin/ns-icon';

export default() {
  name: 'YourComponentName',
  components: { NsIcon }
}
```
In your HTML you can use it like this:
```html
<ns-icon icon-name="icon-cart-trans-plus" />
```
For full list of NsIcon options see the documentation on Nu Skin's [Vue Storybook](https://www.nuskin.com/static/design-components/?path=/story/style-docs-core-styles--icon-set).

---
_Source: https://npm.io/package/@nuskin/ns-icon · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
