DOCS
v0.4

AI Components / Batch Progress

Batch Progress

Batch job progress with success/fail segments and action buttons.

ai-production v0.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

PropTypeDefaultDescription
total number Total items
completed number Completed
failed number Failed
status "running"|"complete"|"failed"|"paused" Job status

Events

EventDetailDescription
ai-batch-pause {} Pause clicked