SweetUI

Search items

Jump to an item

component

progress

Linear ProgressView: determinate, indeterminate, accent, positive, negative.

progressprogress-viewlinearloadingstyle
progress, light

On iPad

The same installed source at a regular width. It adapts its layout without a separate design.

progress on iPad, light

Install

With the sweetui tool (brew install mangobyte-dev/tap/sweetui):

sweetui install progress --destination Sources/YourFeature/Components

Installs in order: progress 0.2.1. Point --destination at a folder inside the consuming target's sources.

Usage

ProgressView(value: 0.68) {
    Text("Uploading")
} currentValueLabel: {
    Text("68 percent")
}
.progressViewStyle(.registryLinear)

ProgressView(value: 1) {
    Text("Import complete")
}
.progressViewStyle(.registryLinearPositive)

Accessibility contract

  • Native semantics.
  • Label, value, current-value.
  • Caller value, tint.
  • Dynamic Type, direction.

Details

Kindcomponent
Version0.2.1
PlatformsiOS 26.0+
Dependenciesnone
SourceRegistry/sources/components/RegistryProgressViewStyle.swift
Xcode previewProgress