
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@pmeig/ngb-progress
Advanced tools
A powerful Angular library that provides Bootstrap-styled progress components with HTTP request integration, animated load bars, and advanced color configuration options.
A powerful Angular library that provides Bootstrap-styled progress components with HTTP request integration, animated load bars, and advanced color configuration options.
npm install @pmeig/ngb-progress
import { ProgressMaterial } from '@pmeig/ngb-progress';
@Component({
imports: [ProgressMaterial],
// ...
})
export class MyComponent { }
<progressbar observer="75" color="primary">
</progressbar>
<progressbar [observer]="currentProgress" label-enabled="false" color="success">
</progressbar>
<progressbar [observer]="uploadProgress" color="info" striped>
</progressbar>
<progressbar [observer]="loadingProgress" color="warning" striped animated>
</progressbar>
<progressbar [observer]="httpRequest$" color="primary">
</progressbar>
<progressbar observer="75" color="primary">
</progressbar>
<progressbar [observer]="currentProgress" label-enabled="false" color="success">
</progressbar>
<progressbar [observer]="uploadProgress" color="info" striped>
</progressbar>
<progressbar [observer]="loadingProgress" color="warning" animated>
</progressbar>
<progressbar [observer]="httpRequest$" color="primary">
</progressbar>
export class MyComponent {
httpRequest$: Observable<HttpEvent<any>>;
constructor(private readonly http: HttpClient) {}
uploadFile(file: File) {
const formData = new FormData();
formData.append('file', file);
this.httpRequest$ = this.http.post('/api/upload', formData, {
reportProgress: true,
observe: 'events'
});
}
}
<progressbar
[observer]="currentProgress"
color="danger"
[various]="{
30: 'warning',
70: 'success'
}">
</progressbar>
<load-bar color="primary" speed="3" round>
</load-bar>
<load-bar color="info" [circle]="false" [speed]="5">
</load-bar>
| Property | Type | Default | Description |
|---|---|---|---|
observer | Observable<HttpEvent> | number | string | 0 | Progress source - HTTP observable, number (0-100), or string percentage |
color | ColorConfig | ColorAttribute | {style: ''} | Progress bar color configuration |
various | Record<string, ColorAttribute> | {} | Color changes based on progress percentage |
striped | boolean | false | Adds striped pattern to progress bar |
animated | boolean | false | Animates striped pattern (requires striped=true) |
label | boolean | true | Shows progress percentage text |
| Property | Type | Default | Description |
|---|---|---|---|
color | ColorAttribute | 'primary' | Load bar color |
speed | number | 5 | Animation speed (lower = faster) |
round | boolean | true | Rounded corners on progress bar |
circle | boolean | true | Circular animation pattern vs linear |
The progress component automatically:
The load bar provides:
This library generates and works with standard Bootstrap 5 progress classes:
progress - Main progress containerprogress-bar - Progress bar elementprogress-bar-striped - Striped patternprogress-bar-animated - Animated striped patternprogress-stacked - Stacked progress barsbg-primary, bg-success, etc. - Color variantsprimary, secondary, success, dangerwarning, info, light, darkProgress not updating
HTTP progress not working
reportProgress: true is set in HTTP optionsobserve: 'events' is included in HTTP request optionsColors not applying
Animations not working
striped and animated are set to true for animated stripesLoad bar not animating
This project is licensed under the MIT License.
For issues and questions, please open an issue on the GitHub repository.
FAQs
A powerful Angular library that provides Bootstrap-styled progress components with HTTP request integration, animated load bars, and advanced color configuration options.
We found that @pmeig/ngb-progress demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.