ProgressBar
fun UiScope.ProgressBar(progress: StateSource<Double>, size: IntSize = IntSize(100, 12), modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null)(source)
Observes progress for ProgressBar at the next owner-thread frame cutoff.
Retain caller-owned sources and editing state outside reevaluation. See Observe for shared snapshots, equal-value suppression, and cleanup; literal arguments follow ProgressBar. Modifiers and parent data apply to the actual component, while the binding owns its sibling key.
fun UiScope.ProgressBar(progress: Double, size: IntSize = IntSize(100, 12), modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null)(source)
Emits one determinate Minecraft-profile progress bar.
The value is clamped to the closed zero-to-one range and the active resource pack supplies both the fill and border.
Receiver
active owner-thread screen scope.
Parameters
progress
completed fraction; non-finite values are rejected.
size
positive logical destination size.
modifier
active behavior applied to the bar.
key
optional stable sibling identity.