# Progress

Displays an indicator showing the completion progress of a task, typically displayed as a progress bar.

Section: Components / Feedback
Page: https://ui.heyramzi.com/components/progress
Import path: `@heyramzi/ui/shadcn/progress`

## Import

```ts
import { Progress } from "@heyramzi/ui/shadcn/progress";
```

## Demo

```svelte
<script lang="ts">
	import { onMount } from "svelte";
	import { Progress } from "@heyramzi/ui/shadcn/progress";

	let value = $state(13);

	onMount(() => {
		const timer = setTimeout(() => (value = 66), 500);
		return () => clearTimeout(timer);
	});
</script>

<Progress {value} max={100} aria-label="Upload" class="w-[60%]" />
```

## API

| Prop | Type | Default | Notes |
| --- | --- | --- | --- |
| `tone` | `"neutral"` \| `"accent"` \| `"info"` \| `"success"` \| `"warning"` \| `"destructive"` |  | The fill's colour on the severity scale. Left out, the primary colour. |
| `ref` | `HTMLElement \| null` | `null` | bindable |
| `class` | `string` |  |  |
| `max` | `number` | `100` |  |
| `value` |  |  |  |

Every prop of `Progress.Root` from `bits-ui`, except `child, children`.
