# ProgressValueContext (@salmonui/notifications/progress)

> The ProgressValueContext interface of @salmonui/notifications/progress: What label and valueLabel functions receive.

Canonical: https://salmonui.dev/docs/reference/notifications/progress/ProgressValueContext

```ts
import type { ProgressValueContext } from '@salmonui/notifications/progress';
```

Entry index: https://salmonui.dev/docs/reference/notifications/progress (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/notifications/progress.md).

## Reference

Kind: interface

```ts
interface ProgressValueContext {
    readonly value: number | null;
    readonly percent: number | null;
    readonly valueText: string;
}
```

What `label` and `valueLabel` functions receive.

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `value` | `readonly value: number \| null;` |  | The clamped value, `null` when indeterminate. |
| `percent` | `readonly percent: number \| null;` |  | The value as a percentage of `min`..`max` (0–100), `null` when indeterminate. |
| `valueText` | `readonly valueText: string;` |  | The default text: the locale percent (`"42%"`), empty when indeterminate. |
