Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/advanced-rest-client/icons
An icons repository for ARC
https://github.com/advanced-rest-client/icons
Last synced: about 1 month ago
JSON representation
An icons repository for ARC
- Host: GitHub
- URL: https://github.com/advanced-rest-client/icons
- Owner: advanced-rest-client
- License: apache-2.0
- Created: 2016-08-23T21:41:37.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T09:35:47.000Z (almost 2 years ago)
- Last Synced: 2024-11-06T16:53:22.604Z (about 2 months ago)
- Language: JavaScript
- Size: 1.18 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ARC icons
[![Published on NPM](https://img.shields.io/npm/v/@advanced-rest-client/icons.svg)](https://www.npmjs.com/package/@advanced-rest-client/icons)
[![Tests and publishing](https://github.com/advanced-rest-client/icons/actions/workflows/deployment.yml/badge.svg)](https://github.com/advanced-rest-client/icons/actions/workflows/deployment.yml)
A set of icons for Advanced REST Client.
## Usage
### Installation
```sh
npm install @advanced-rest-client/icons --save
```### In an html file
```html
import '@advanced-rest-client/icons/arc-icon.js';
```
### In a LitElement
```js
import { LitElement, html, svg } from 'lit-element';
import '@advanced-rest-client/icons/arc-icon.js';
import * as Icons from '@advanced-rest-client/icons';class SampleElement extends LitElement {
render() {
return html`
${Icons.add}
${Icons.add}
${Icons.iconWrapper(svg`...`)}
`;
}
}
customElements.define('sample-element', SampleElement);
```## Development
```sh
git clone https://github.com/advanced-rest-client/icons
cd icons
npm install
```### Running the demo locally
```sh
npm start
```### Running the tests
```sh
npm test
```