Feedback/DSProgressBar

DSProgressBar

feedback
since v1.0

Linear progress indicator with an optional label and percentage display. Supports indeterminate (loading) mode.

iOS 17+macOS 14+watchOS 10+

Purpose

Task completion, upload progress, onboarding steps, and loading states.

Interactive Reference

Live showroom

Need the full visual surface?

Screenshots do not scale well across every component, state, and variant. For the real interactive reference, import the package and launch DSShowcaseRoot().

Best for exploring:

variants, states, categories, and real app examples in one place.

Props

PropTypeDefaultDescription
valuereqDoubleโ€”Progress from 0.0 to 1.0.
labelString?nilLabel above the bar.
showPercentageBoolfalseShows percentage on the right.
tintColorDSColor.primaryBar fill colour.
isIndeterminateBoolfalseLooping animation mode.

Examples

File upload progress

Progress bar that updates as a file uploads.

swift
DSProgressBar(
    value: uploadProgress,
    label: "Uploading...",
    showPercentage: true,
    tint: DSColor.primary
)

Related Components