@futureforms/ngx-butter-icons
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

ngx-butter-icons

ngx-butter-icons is a set of icons for easy scalable vector graphics on websites and in web application created with the Angular framework, created and maintained by Future Forms.

Demo

Visit our demo page and get an overview of over 250+ icons in two different sizes icons.futureforms.studio

Installation

You can install it through npm:

npm install @futureforms/ngx-butter-icons

In angular.json you have to add the following asset config to include the icons in your build:

{
  "glob": "**/*",
  "input": "./node_modules/@futureforms/ngx-butter-icons/icons/",
  "output": "./ngx-butter-icons/"
}

The angular.json structure would then look like this:

"projects": {
  "<YOUR_PROJECT>": {
    "architect": {
      "build": {
        "options": {
          "assets": [
            {
              "glob": "**/*",
              "input": "./node_modules/@futureforms/ngx-butter-icons/icons/",
              "output": "./ngx-butter-icons/"
            }
          ]
        }
      }
    }
  }
}

As final step you will also need to import NgxButterIconsModule in your module:

import { NgxButterIconsModule } from '@futureforms/<TITLE>';

@NgModule({
  imports: [NgxButterIconsModule]
})
class AppModule {}

Basic Usage

Use the NgxButterIconComponent in your templates like this:

<ngx-butter-icon [icon]="briefcase--outlined-a" [size]="24"></ngx-butter-icon>

Readme

Keywords

none

Package Sidebar

Install

npm i @futureforms/ngx-butter-icons

Weekly Downloads

1

Version

1.1.2

License

MIT

Unpacked Size

683 kB

Total Files

635

Last publish

Collaborators

  • futureforms