Skip to content
Design System
GitHub

Slide to release

v0.11.1Beta

Past 85% releases, short of that springs back in 200 ms; locked for viewers; hold 2 s on the keyboard instead.

API reference

Generated from the types. Every part also takes className.

SlideToRelease

onReleaserequired
() => void
label
string = "Slide to release"
tag
stringName tag, e.g. "7F3A", or "3 stopped" after stop-all.
locked
booleanViewers cannot release: the thumb shows a lock and the label says who can.
lockedLabel
string = "Only operators can release"Shown instead of the label while locked.
releasingLabel
string = "Releasing…"Shown after release while waiting for the dog.
failed
boolean = falseThe robot did not release (no reply, or it refused). The thumb goes back and the label says so, so the operator can slide again. Set it when the release fails; clear it in your next onRelease.
failedLabel
string = "Not released, slide again"Shown while failed.