Feedback/DSSpinner

DSSpinner

feedback
since v1.0

Circular indeterminate loading indicator with 3 sizes and a colour token.

iOS 17+macOS 14+watchOS 10+

Purpose

Loading states for async operations where progress cannot be quantified.

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
sizeDSButtonSize.mdSpinner size (.sm, .md, .lg).
colorColorDSColor.primarySpinner colour.

Examples

Full-screen loading

Center spinner while data loads.

swift
if viewModel.isLoading {
    VStack {
        Spacer()
        DSSpinner(size: .lg)
        Spacer()
    }
}

Related Components