AI Components / Batch Progress
Batch Progress
Batch job progress with success/fail segments and action buttons.
ai-productionv0.5.0
Playground
Examples
Running
<ai-batch-progress title="Process 500 invoices" total="500" completed="342" failed="8" status="running" style="max-width:400px;"></ai-batch-progress>Import
import { AiBatchProgress } from '@cognivo/components';// Or tree-shake: import '@cognivo/components/ai-batch-progress';Per-component imports ship only that component (~8 kB gzip).
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
total | number | — | Total items |
completed | number | — | Completed |
failed | number | — | Failed |
status | "running"|"complete"|"failed"|"paused" | — | Job status |
Events
| Event | Detail | Description |
|---|---|---|
ai-batch-pause | {} | Pause clicked |