# Progress Bar (Andromeda Legacy)

Progress Bar is a component of the free, MIT-licensed Andromeda Legacy design system from AI Canvas (https://aicanvas.me). Index of every system, component and install setup: https://aicanvas.me/llms.txt

3 status variants. 30 skewed segments fill left to right with a scroll-gated staggered cascade.

- Design system: [Andromeda Legacy](https://aicanvas.me/design-systems/andromeda.md)
- License: MIT
- Install slug: `andromeda-progress-bar`
- Page: https://aicanvas.me/design-systems/andromeda/progress-bar

## Install

```bash
npx shadcn@latest add @aicanvas/andromeda-progress-bar
```

Needs a free AI Canvas account; signed out, the command writes a placeholder (an `AccountRequired` notice) instead.

Every Andromeda Legacy component at once: `npx shadcn@latest add @aicanvas/andromeda`.

Token setup: the Install section of https://aicanvas.me/llms.txt.

## Use it

It installs to `components/aicanvas/andromeda/components/ProgressBar.tsx` (under `src/` if your project has one). With the usual `@/` alias:

```tsx
import { ProgressBar } from '@/components/aicanvas/andromeda/components/ProgressBar'
```

## Example

```tsx
import { ProgressBar } from '@/components/aicanvas/andromeda/components/ProgressBar'

<ProgressBar label="Files uploaded" value={68} variant="default" />
```

## Variants

- `variant`: default, warning or fault (default 'default')

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `label?` | `string` |  | Caption shown above the bar and used as the accessible label. |
| `value` | `number` |  | 0–100; clamped internally. |
| `variant?` | `'default'\|'warning'\|'fault'` | `'default'` | Color of the filled segments. |
| `className?` | `string` |  | Extra classes merged onto the root element. |
| `style?` | `React.CSSProperties` |  | Inline styles merged onto the root element. |

## More Andromeda Legacy components

- [Radar Chart](https://aicanvas.me/design-systems/andromeda/radar-chart.md)
- [Radio](https://aicanvas.me/design-systems/andromeda/radio.md)
- [Search Field](https://aicanvas.me/design-systems/andromeda/search-field.md)
- [Segmented Control](https://aicanvas.me/design-systems/andromeda/segmented-control.md)
- [Slider](https://aicanvas.me/design-systems/andromeda/slider.md)
