# @advanced-rest-client/arc-icons

> An icons set for Advanced REST client and API components

Latest version **3.3.4** (published 2021-09-21) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @advanced-rest-client/arc-icons
pnpm add @advanced-rest-client/arc-icons
yarn add @advanced-rest-client/arc-icons
bun add @advanced-rest-client/arc-icons
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.3.4 |
| Published | 2021-09-21 |
| First published | 2018-05-17 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 65.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | jarrodek, twoplustwoone, lbauret, carowright |
| Keywords | advanced-rest-client, icons |

## Links

- npm: https://www.npmjs.com/package/@advanced-rest-client/arc-icons
- Repository: https://github.com/advanced-rest-client/arc-icons
- Homepage: https://github.com/advanced-rest-client/arc-icons#readme
- Issues: https://github.com/advanced-rest-client/arc-icons/issues
- npm.io page: https://npm.io/package/@advanced-rest-client/arc-icons

## Dependencies (2)

- [lit-html](https://npm.io/package/lit-html.md) ^1.4.1
- [lit-element](https://npm.io/package/lit-element.md) ^2.5.1

## Alternatives

- [@fortawesome/react-fontawesome](https://npm.io/package/@fortawesome/react-fontawesome.md) — 2.2M weekly downloads
- [roboto-fontface](https://npm.io/package/roboto-fontface.md) — 196.0K weekly downloads
- [@react-native-vector-icons/common](https://npm.io/package/@react-native-vector-icons/common.md) — 150.4K weekly downloads
- [@procore/core-icons](https://npm.io/package/@procore/core-icons.md) — 4.6K weekly downloads
- [@react-md/material-icons](https://npm.io/package/@react-md/material-icons.md) — 1.6K weekly downloads

## Recent versions

- 3.3.4 (latest) — 2021-09-21
- 3.3.3 — 2021-04-07
- 3.3.2 — 2021-03-18
- 3.3.1 — 2021-02-24
- 3.3.0 — 2021-02-05
- 3.2.2 — 2020-12-20
- 3.2.1 — 2020-12-08
- 3.2.0 — 2020-12-08
- 3.1.2 — 2020-09-24
- 3.1.0 — 2020-05-09
- 3.0.5 — 2019-12-21
- 3.0.4 — 2019-11-18
- 3.0.3 — 2019-10-16
- 3.0.2 — 2019-09-11
- 3.0.1 — 2019-09-11
- … 4 more at https://npm.io/package/@advanced-rest-client/arc-icons/versions

## README

# arc-icons

[![Published on NPM](https://img.shields.io/npm/v/@advanced-rest-client/arc-icons.svg)](https://www.npmjs.com/package/@advanced-rest-client/arc-icons)

[![Tests and publishing](https://github.com/advanced-rest-client/arc-icons/actions/workflows/deployment.yml/badge.svg)](https://github.com/advanced-rest-client/arc-icons/actions/workflows/deployment.yml)

A set of icons for Advanced REST Client.

## Usage

### Installation

```sh
npm install @advanced-rest-client/arc-icons --save
```

### In an html file

```html
<html>
  <head>
    <script type="module">
      import '@advanced-rest-client/arc-icons/arc-icon.js';
    </script>
  </head>
  <body>
    <arc-icon icon="add"></arc-icon>
  </body>
</html>
```

### In a LitElement

```js
import { LitElement, html, svg } from 'lit-element';
import '@advanced-rest-client/arc-icons/arc-icon.js';
import * as Icons from '@advanced-rest-client/arc-icons';

class SampleElement extends LitElement {
  render() {
    return html`
    <!-- using an icon property -->
    <arc-icon icon="add"></arc-icon>
    <!-- passing an icon template as a child-->
    <arc-icon>${Icons.add}</arc-icon>
    <!-- using own container-->
    <span class="icon">${Icons.add}</span>
    <!-- using custom icon -->
    <arc-icon>${Icons.iconWrapper(svg`...`)}</arc-icon>
    `;
  }
}
customElements.define('sample-element', SampleElement);
```

## Development

```sh
git clone https://github.com/advanced-rest-client/arc-icons
cd arc-icons
npm install
```

### Running the demo locally

```sh
npm start
```

### Running the tests

```sh
npm test
```

---
_Source: https://npm.io/package/@advanced-rest-client/arc-icons · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
