Skip to main content
.controlSize(size: "mini" | "small" | "regular" | "large" | "extraLarge")
size
"mini" | "small" | "regular" | "large" | "extraLarge"
required
The control size to apply. Affects the visual size and padding of supported controls.

Support

Usage

Small progress view

ProgressView()
    .controlSize("small")

Large control group

VStack([
    Button("Submit", () => submit()),
    ProgressView({ value: 0.5 })
])
    .controlSize("large")

Mini spinner

ProgressView()
    .controlSize("mini")

See Also