---
title: "Progress 컴포넌트 — zenit Zig UI"
description: "확정 진행률과 불확정 작업 상태.백분율, status, height, 불확정 애니메이션을 하나의 컴포넌트로 표현합니다."
url: https://zenit.z.express/ko/components/progress
language: ko
alternate_en: https://zenit.z.express/components/progress.md
alternate_zh: https://zenit.z.express/zh/components/progress.md
alternate_es: https://zenit.z.express/es/components/progress.md
alternate_ja: https://zenit.z.express/ja/components/progress.md
alternate_fr: https://zenit.z.express/fr/components/progress.md
alternate_de: https://zenit.z.express/de/components/progress.md
project: zenit v0.1.0-alpha (Zig 0.15.2, macOS)
source: https://github.com/version-next/zenit
---

# Progress

`ui.widgets.Progress`

확정 진행률과 불확정 작업 상태.

[Video](https://zenit.z.express/media/stories/progress.mp4?v=42b61f878f)

**BEHAVIOR CONTRACT**

백분율, status, height, 불확정 애니메이션을 하나의 컴포넌트로 표현합니다.

**RECORDED INTERACTION**

25 / 60 / 100, error, 불확정 상태를 보여 줍니다.

`examples/storybook/stories.zig:617`

```zig
// ── Progress ──
pub fn buildProgress(scope: *ui.Scope, cx: *ui.Cx) anyerror!*ui.Node {
    const a = cx.allocator;
    const c = try col(cx, 16);
    try c.appendChild(a, try label(cx, "Values 25% / 60% / 100%"));
    try c.appendChild(a, try W.Progress(.{ .value = 25, .width = 320, .show_text = true }).mount(scope, cx));
    try c.appendChild(a, try W.Progress(.{ .value = 60, .width = 320, .show_text = true }).mount(scope, cx));
    try c.appendChild(a, try W.Progress(.{ .value = 100, .width = 320, .status = .success, .show_text = true }).mount(scope, cx));

    try c.appendChild(a, try label(cx, "Heights (2 / 4 / 8 / 12)"));
    inline for (.{ 2, 4, 8, 12 }) |h| {
        try c.appendChild(a, try W.Progress(.{ .value = 50, .width = 320, .height = @as(f32, h) }).mount(scope, cx));
    }

    try c.appendChild(a, try label(cx, "Error / indeterminate / no-text"));
    try c.appendChild(a, try W.Progress(.{ .value = 40, .width = 320, .status = .@"error", .show_text = true }).mount(scope, cx));
    try c.appendChild(a, try W.Progress(.{ .indeterminate = true, .width = 320 }).mount(scope, cx));
    try c.appendChild(a, try W.Progress(.{ .value = 70, .width = 320, .show_text = false }).mount(scope, cx));
    return c;
}
```

[GitHub에서 소스 보기examples/storybook/stories.zig:617](https://github.com/version-next/zenit/blob/HEAD/examples/storybook/stories.zig#L617)

Storybook에 있는 이 story의 원본 코드입니다(zenit 5f9add5+wip 2026-09-30). `W`는 `ui.widgets`이며, `col` / `row` / `label`은 Storybook 내부의 작은 레이아웃 헬퍼입니다.

### ProgressProps

`ui.widgets.Progress`

[src/ui/components/progress/mod.zig:43](https://github.com/version-next/zenit/blob/HEAD/src/ui/components/progress/mod.zig#L43)

```zig
fn Progress(props: ProgressProps) ProgressBuilder
```

| 필드 | 타입 | 기본값 | 설명 |
| --- | --- | --- | --- |
| `value` | `f32` | `0` | 当前值 (0-100) |
| `status` | `ProgressStatus` `.normal` `.success` `.@"error"` | `.normal` | 状态 |
| `height` | `f32` | `4` | 轨道高度 |
| `show_text` | `bool` | `false` | 显示百分比文本 |
| `indeterminate` | `bool` | `false` | 不确定模式 |
| `width` | `?f32` | `null` | 总宽度 (null = grow) |

### \*Node

`ui.widgets.Progress`

mount는 `*Node`을(를) 직접 반환합니다. 부모 노드에 append하면 됩니다.
