An icons set for Advanced REST client and API components

Usage no npm install needed!

<script type="module">
  import advancedRestClientArcIcons from 'https://cdn.skypack.dev/@advanced-rest-client/arc-icons';



Published on NPM

Tests and publishing

A set of icons for Advanced REST Client.



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

In an html file

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

In a LitElement

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-->
    <!-- using own container-->
    <span class="icon">${Icons.add}</span>
    <!-- using custom icon -->
customElements.define('sample-element', SampleElement);


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

Running the demo locally

npm start

Running the tests

npm test