An open API service indexing awesome lists of open source software.

https://github.com/avmaisak/ngx-simple-icons

Angular module for SimpleIcons.org - Over 2000 Free SVG icons for popular brands.
https://github.com/avmaisak/ngx-simple-icons

angular angular-icons brand-assets brand-colors brand-icons branding branding-assets brands company-brands design design-assets icon-pack icon-packs iconset logo logos svg svg-files svg-icons

Last synced: 5 months ago
JSON representation

Angular module for SimpleIcons.org - Over 2000 Free SVG icons for popular brands.

Awesome Lists containing this project

README

          



Simple Icons

Angular Module for SimpleIcons



Over 2100 Free SVG icons for popular brands. See them all on one page at SimpleIcons.org. Contributions, corrections & requests can be made on GitHub.

## Installation

```
npm i ngx-simple-icons --save
```

## Usage

### Import module

```typescript
import { NgxSimpleIconsModule } from 'ngx-simple-icons';
```

### Import needed icons

```typescript
import { activision, adobexd } from 'ngx-simple-icons';
```

### Use method pick for using selected icons

```typescript
import {
NgxSimpleIconsModule,
activision,
adobexd,
} from 'ngx-simple-icons';

@NgModule ({
imports: [
NgxSimpleIconsModule.pick({ activision, adobexd })
],
})
MyModule
```

### Usage in component

```html

```

In component, you can use Enum or Type

```typescript
import { IconNameEnum } from 'ngx-simple-icons';

public iconNames = IconNameEnum;
```

```html

```