Gathering detailed insights and metrics for ngx-bootstrap-icons
Gathering detailed insights and metrics for ngx-bootstrap-icons
Gathering detailed insights and metrics for ngx-bootstrap-icons
Gathering detailed insights and metrics for ngx-bootstrap-icons
ngx-bootstrap-icons-picker
A Bootstrap Icons Picker for Angular (a simple icon selector)
dfx-bootstrap-icons
Straightforward, state-of-the-art Angular icon library. Build upon the excellence of Bootstrap Icons providing you with over 2,000 icons in a bundle-size friendly way.
ad-angle-layout
## Install - npm install jquery bootstrap animate.css simple-line-icons @fortawesome/fontawesome-free popper.js - ng add ngx-bootstrap - ajouter assets de la library dans angular.json - ajouter app.js qui se trouve dans assets de la library dans les impor
This Angular module allows you to use the Bootstrap Icons in your angular application without additional dependencies.
npm install ngx-bootstrap-icons
Typescript
Module System
Min. Node Version
Node Version
NPM Version
TypeScript (99.4%)
HTML (0.31%)
JavaScript (0.27%)
SCSS (0.02%)
Smarty (0.01%)
Total Downloads
411,351
Last Day
238
Last Week
6,082
Last Month
17,207
Last Year
157,021
MIT License
33 Stars
924 Commits
3 Forks
1 Watchers
8 Branches
3 Contributors
Updated on Dec 18, 2023
Minified
Minified + Gzipped
Latest Version
1.9.3
Package Id
ngx-bootstrap-icons@1.9.3
Unpacked Size
15.46 MB
Size
2.41 MB
File Count
3,938
NPM Version
10.2.4
Node Version
20.9.0
Published on
Nov 27, 2023
Cumulative downloads
Total Downloads
Last Day
28.6%
238
Compared to previous day
Last Week
73.3%
6,082
Compared to previous week
Last Month
29.2%
17,207
Compared to previous month
Last Year
52.3%
157,021
Compared to previous year
1
2
1npm i ngx-bootstrap-icons --save
1npm i ngx-bootstrap-icons --save
1import { NgxBootstrapIconsModule } from 'ngx-bootstrap-icons';
You can import all icons (not recomended) or each icon individually.
1import { allIcons } from 'ngx-bootstrap-icons';
1import { alarm, alarmFill, alignBottom } from 'ngx-bootstrap-icons'; 2// Select some icons (use an object, not an array) 3const icons = { 4 alarm, 5 alarmFill, 6 alignBottom 7};
1import { NgxBootstrapIconsModule, allIcons } from 'ngx-bootstrap-icons'; 2 3@NgModule({ 4 declarations: [ 5 AppComponent 6 ], 7 imports: [ 8 BrowserModule, 9 AppRoutingModule, 10 NgxBootstrapIconsModule.pick(allIcons) 11 ], 12 providers: [], 13 bootstrap: [AppComponent] 14}) 15export class AppModule { } 16
1import { NgxBootstrapIconsModule } from 'ngx-bootstrap-icons'; 2import { alarm, alarmFill, alignBottom } from 'ngx-bootstrap-icons'; 3 4// Select some icons (use an object, not an array) 5const icons = { 6 alarm, 7 alarmFill, 8 alignBottom 9}; 10 11@NgModule({ 12 declarations: [ 13 AppComponent 14 ], 15 imports: [ 16 BrowserModule, 17 AppRoutingModule, 18 NgxBootstrapIconsModule.pick(icons) 19 ], 20 providers: [], 21 bootstrap: [AppComponent] 22}) 23export class AppModule { } 24 25/** 26 27Another way. 28-------------- 29 30Import NgxBootstrapIconsModule.pick(icons) inside of the AppModule 31 32Import NgxBootstrapIconsModule (without the pick() method) inside of any FeatureModule where will be used. 33 34Now you can import icons in one place only (root module) and successfully use the component anywhere you want. 35 36**/ 37
1import { NgxBootstrapIconsModule, ColorTheme } from 'ngx-bootstrap-icons'; 2import { alarm, alarmFill, alignBottom } from 'ngx-bootstrap-icons'; 3 4// Select some icons (use an object, not an array) 5const icons = { 6 alarm, 7 alarmFill, 8 alignBottom 9}; 10 11@NgModule({ 12 declarations: [ 13 AppComponent 14 ], 15 imports: [ 16 BrowserModule, 17 AppRoutingModule, 18 NgxBootstrapIconsModule.pick(icons, { 19 width: '2em', 20 height: '2em', 21 theme: ColorTheme.Danger, 22 }) 23 ], 24 providers: [], 25 bootstrap: [AppComponent] 26}) 27export class AppModule { } 28
Name of input prarameter | Type | Required | Default Value | Description |
---|---|---|---|---|
width | string | false | null | icon default width |
height | string | false | null | icon default height |
theme | enum | false | null | default color theme |
1<i-bs name="alarm-fill"></i-bs>
or (with your preffered tag)
1<i i-bs name="alarm-fill"></i>
or optionally use our enums for autocomplete support
1import { iconNamesEnum } from 'ngx-bootstrap-icons'; 2 3public iconNames = iconNamesEnum; 4 5<i-bs [name]="iconNames.AlarmFill"></i-bs>
Also you can use width and height for icon (By default width and height are 1rem)
1<i-bs 2 name="alarm-fill" 3 width="2rem" 4 height="2rem"> 5</i-bs>
<i
i-bs
name="alarm-fill"
width="2rem"
height="2rem">
</i>
Name of input prarameter | Type | Required | Default Value | Description |
---|---|---|---|---|
name | string | true | null | name of the icon |
width | string | false | null | width of the icon. Default value used from svg |
height | string | false | null | height of the icon. Default value used from svg |
resetDefaultDimensions | boolean | false | false | if this parameter is set, default dimensions of the svg icon will be removed |
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
SAST tool detected but not run on all commits
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
Found 0/7 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
project is not fuzzed
Details
Reason
53 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More