# @salmonui/notifications/progress API reference

> 9 exported symbols of @salmonui/notifications/progress: 2 components, 1 interface and 6 types.

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

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

## Components

### Meter

Kind: component

Page: https://salmonui.dev/docs/reference/notifications/progress/Meter

```ts
function Meter(props: MeterProps): import("react").JSX.Element;
```

A measured value within a known range (`role="meter"`): disk usage, a
score, a strength. Same shapes and CSS as `Progress`, never
indeterminate; `tone` as a function colors ranges.

### Progress

Kind: component

Page: https://salmonui.dev/docs/reference/notifications/progress/Progress

```ts
function Progress(props: ProgressProps): import("react").JSX.Element;
```

A progress indicator (`role="progressbar"`): linear, circular or
semicircle, determinate or indeterminate (`value={null}`), with an
optional buffer, segments and stripes. Renders in Server Components.

## Interfaces

### ProgressValueContext

Kind: interface

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

```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. |

## Types

### MeterProps

Kind: type

Page: https://salmonui.dev/docs/reference/notifications/progress/MeterProps

```ts
type MeterProps = ProgressBaseProps & ProgressAccessibleName & {
    value: number;
};
```

### ProgressAccessibleName

Kind: type

Page: https://salmonui.dev/docs/reference/notifications/progress/ProgressAccessibleName

```ts
type ProgressAccessibleName = {
    'aria-label': string;
    'aria-labelledby'?: string;
} | {
    'aria-label'?: string;
    'aria-labelledby': string;
};
```

An accessible name is required: `aria-label` or `aria-labelledby`.

### ProgressProps

Kind: type

Page: https://salmonui.dev/docs/reference/notifications/progress/ProgressProps

```ts
type ProgressProps = ProgressBaseProps & ProgressAccessibleName & {
    value: number | null;
    buffer?: number;
    striped?: boolean;
};
```

### ProgressShape

Kind: type

Page: https://salmonui.dev/docs/reference/notifications/progress/ProgressShape

```ts
type ProgressShape = 'linear' | 'circular' | 'semicircle';
```

### ProgressSize

Kind: type

Page: https://salmonui.dev/docs/reference/notifications/progress/ProgressSize

```ts
type ProgressSize = 'sm' | 'md' | 'lg';
```

### ProgressTone

Kind: type

Page: https://salmonui.dev/docs/reference/notifications/progress/ProgressTone

```ts
type ProgressTone = 'neutral' | 'primary' | 'info' | 'success' | 'warning' | 'danger';
```

Color role: the neutral scale plus the five theme seeds.
