<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/styles/monokai-sublime.min.css" integrity="sha512-ade8vHOXH67Cm9z/U2vBpckPD1Enhdxl3N05ChXyFx5xikfqggrK4RrEele+VWY/iaZyfk7Bhk6CyZvlh7+5JQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
🌾 ng-oatv0.6.0Angular UI library

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/progress';

@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" />