Loading
The Loading examples of the Motion library, rebuilt in Composite: the same trigger, in steps, with the system's own parts.
the category
motion/_rebuilds- rebuilds
- 11
- from motion+
- 7
- easing
- steps() only
motion / loading / animatesuspense: loading comments
after a motion+ example- Motion
- AnimateSuspense
- here
- wait(), a Busy line
- the wait
- 1.2 s, made up
- ready
- the comments cut in
A made-up wait of 1.2 s shows the Busy line in the panel; when it ends, the comments cut in. Nothing is fetched.
motion / loading / animatesuspense: skeleton crossfade
after a motion+ example- Motion
- AnimateSuspense, popLayout
- here
- wait(), then play()
- the wait
- 1.2 s, made up
- the cut
- one beat of 80 ms, both shown
The skeleton stays for 1.2 s. When the comments are ready they cut in and the skeleton stays on top as an outline for one beat of 80 ms, out of the flow, then goes.
motion / loading / animatesuspense: wait for exit
after a motion+ example- Motion
- AnimateSuspense, wait
- here
- wait(), then play()
- order
- old leaves, a beat, then the new
- the beat
- 80 ms, an empty panel
- original
- AnimateSuspense: Wait for exit
The old comments leave first, and the panel is empty for one beat of 80 ms. Then the Busy line holds for 1.2 s, and the new comments cut in.
motion / loading / skeleton shimmer
after a motion.dev example- Motion
- animate, a gradient
- here
- play(), loops
- a frame
- 100 ms, one cell
- off screen
- stops
- original
- Skeleton Shimmer
No gradient sweeps. A lighter cell steps along the skeleton rows, one cell a frame, and begins again. Under reduced motion the skeleton is still.
motion / loading / loading: circle spinner
after a motion.dev example- Motion
- animate, rotate
- here
- play(), loops
- a frame
- 100 ms, one cell
- off screen
- stops
- original
- Loading: Circle spinner
A ring of eight cells; a bone cell with a grey tail goes round it one cell a frame. Nothing turns. It stops off screen and stays at rest under reduced motion.
motion / loading / fill text
after a motion+ example- Motion
- useSpring, useTransform
- here
- play(), 8 frames
- a frame
- 150 ms, one letter
- done
- all letters bone
- original
- Fill text
The word fills one letter a frame, from grey to bone, left to right. No sweep goes through a letter.
motion / loading / loading: jumping dots
after a motion.dev example- Motion
- variants, a stagger
- here
- play(), loops
- a frame
- 160 ms, one dot up
- off screen
- stops
- original
- Loading: Jumping dots
Each dot cuts up one cell and back, one after the other, then all three rest for a frame. It stops off screen.
motion / loading / loading overlay
after a motion+ example- Motion
- animate, useSpring
- here
- play(), 10 frames
- a frame
- 100 ms, an eighth wider
- first
- a line opens in the cover
- original
- Loading overlay
A bone cover shows loading. A line cuts open in its middle, then the gap grows by an eighth of the width a frame, and the page shows.
motion / loading / loading progress bar
after a motion+ example- Motion
- useSpring
- here
- play(), 13 frames
- a frame
- 150 ms, one cell
- done
- all cells bone
- original
- Loading progress bar
The Progress line fills one cell a frame while it runs, in amber, and turns bone when full.
motion / loading / loading ripple
after a motion+ example- Motion
- animate, repeat
- here
- play(), loops
- a frame
- 120 ms, a ring grows a cell
- off screen
- stops
- original
- Loading ripple
Square rings grow from a dot, three at once, a cell a frame, and wear from bone to grey. The loop stops off screen, and a still ring set shows under reduced motion.
motion / loading / loading: pulse dots
after a motion.dev example- Motion
- variants, a stagger
- here
- play(), loops
- a frame
- 120 ms, a size a frame
- off screen
- stops
- original
- Loading: Pulse dots
The dots stay in place and cut between three sizes, one after the other. It stops off screen, and the dots rest at one size under reduced motion.