Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fusoionic/ng-flaticon

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fusoionic/ng-flaticon

Angular directives for flat-icons

  • 3.3.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Angular Directives for FlatIcon

NPM Version Package License NPM Downloads Package Size

ng-flaticon

Installation

npm i @fusoionic/ng-flaticon

Usage


Styles:

Import the FlatIcon Stylesheet from the package assets or download the sources from Github.

@import "@fusoionic/ng-flaticon/assets/flat-icons";

Module:

Import FlatIconModule from @fusoionic/ng-flaticon

import { FlatIconModule } from '@fusoionic/ng-flaticon';

@NgModule({
  imports: [
    FlatIconModule.forRoot({ ... }), // inject services
    FlatIconModule, // inject directives
  ]
})

Directive:

<fi-icon
  [name]="'spinner'"
  [weight]="'bold'"
  [type]="'rounded'"
  [color]="'#000000'"
  [duration]="500"
  [delay]="0"
></fi-icon>

Attribution:


Make sure to attribute the owner of the icons according to the FlatIcon Attribution Guide. If you're a Premium user, you do not need to attribute the owner.

Keywords

FAQs

Package last updated on 18 Aug 2024

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc