Module motion
Expand description
Motion tokens — the one shared timing + spring vocabulary the whole UI (toolkit widgets AND shell chrome) animates against, so same-class gestures share a feel.
Structs§
- Durations
- Three-slot duration scale. Everything time-parametric picks one of these instead of a bespoke literal:
- Gesture
- Tuning for direct-manipulation gestures — the numbers that decide how a dragged surface resists, catches and coasts. Shared for the same reason the springs are: two controls that resist differently read as two unrelated machines.
- Motion
- Spring
Params - Spring
Presets
Functions§
- rubber_
band - iOS-style overscroll resistance.