Progress

Progress bars using the native <progress> element.

InputTypeDefaultDescription
valuenumberrequiredCurrent progress value
maxnumber100Maximum value

Import & Usage

typescript
import { Component } from '@angular/core';
import { NgOatProgress } from '@letsprogram/ng-oat';

@Component({
  selector: 'app-example',
  imports: [NgOatProgress],
  template: `
    <ng-oat-progress [value]="60" />
    <ng-oat-progress [value]="3" [max]="5" />
  `,
})
export class ExampleComponent {}

Basic Progress Bars

html
<ng-oat-progress [value]="30" />
<ng-oat-progress [value]="60" />
<ng-oat-progress [value]="90" />

Custom Max

3 of 5 tasks completed

html
<ng-oat-progress [value]="3" [max]="5" />