Socket
Book a DemoInstallSign in
Socket

angular-gillicons

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-gillicons

An Angular library that permits to use all the icons from the **[gillicons](https://github.com/GillianPerard/gillicons)** package thanks to a uniq component.

0.32.0
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

angular-gillicons

An Angular library that permits to use all the icons from the gillicons package thanks to a uniq component.

Icons

See gillicons.gillianperard.com.

Installation

npm install gillicons angular-gillicons --save
# or
yarn add gillicons angular-gillicons

How to use it

To use the gillicon component, you need to add the gillicon module to your own module.

import { GilliconModule } from 'angular-gillicons';

@NgModule({
    declarations: [
        ...
    ],
    imports: [
        ...,
        GilliconModule // import the gillicon module
    ],
    bootstrap: [
        ...
    ]
})
export class YourModule { }

Then you need to import the icons you want (from the gillicons package) into the desired component.

Directly:

import { giPlus } from 'gillicons/giPlus';

Or using destructuring:

import { giPlus } from 'gillicons';

Assign the imported icon to a property which could be used in you html file.

public giPlus = giPlus;

Finally use it within the gillicon component:

<gillicon [icon]="giPlus"></gillicon>

License

This library is released under the terms of the MIT License.

Keywords

angular

FAQs

Package last updated on 05 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.