3.0.0 • Published 3 years ago

@terminus/ui-icon v3.0.0

Weekly downloads
21
License
MIT
Repository
github
Last release
3 years ago

CI/CD Status Codecov MIT License
NPM version Library size

Table of Contents

Installation

Packages that need to be installed

  • @angular/material
  • @terminus/design-tokens
  • @terminus/fe-utilities
  • @terminus/ui-icon
  • @terminus/ui-utilities
  • @fortawesome/pro-solid-svg-icons

Use the ng add command to quickly install all the needed dependencies:

ng add @terminus/ui-icon

Modules that need to be in NgModule

  • TsIconModule

CSS imports

In your top level stylesheet, add these imports:

@import '~@terminus/design-tokens/css/library-design-tokens.css';
@import '~@terminus/ui-styles/terminus-ui.css';

Usage

Import any FontAwesome icon and pass it in:

import { faHome } from '@fortawesome/pro-solid-svg-icons/faHome';
...
public home = faHome;
<ts-icon [icon]="home"></ts-icon>

See all valid icon possibilities: https://fontawesome.com/icons
See the underlaying API: https://github.com/FortAwesome/angular-fontawesome/blob/master/docs/usage/features.md

3.0.0

3 years ago

2.1.7

3 years ago

2.1.6

3 years ago

2.1.5

4 years ago

2.1.4

4 years ago

2.1.3

4 years ago

2.1.2

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.12

4 years ago

2.0.11

4 years ago

2.0.10

4 years ago

2.0.9

4 years ago

2.0.8

4 years ago

2.0.7

4 years ago

2.0.6

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.0.1

4 years ago