Anex UI logoAnex UI
npm install anexui
Documentation

Documentation

Progress

A progress bar with role="progressbar" and full ARIA value wiring.

Preview

Upload progress
Complete
Storage quota
CPU usage

Usage

import { Progress } from "anexui";

<Progress value={60} />
Copy code

With label and value display

<Progress value={75} label="Upload progress" showValue />
Copy code

Variants

<Progress value={80} variant="default" />
<Progress value={80} variant="success" />
<Progress value={40} variant="warning" />
<Progress value={25} variant="error" />
Copy code

Custom max

<Progress value={3} max={5} label="Step 3 of 5" showValue />
Copy code

Indeterminate (animated)

<Progress value={0} label="Loading…" />
Copy code

Props

| Prop | Type | Default | Description | |---|---|---|---| | value | number | — | Required. Current progress value | | max | number | 100 | Maximum value | | label | string | — | Accessible label for screen readers | | showValue | boolean | false | Renders value/max text next to the bar | | variant | "default" \| "success" \| "warning" \| "error" | "default" | Colour scheme |

All standard HTML <div> attributes are accepted (except children).

Accessibility