Installnpx shadcn@latest add https://motion-lexicon.pages.dev/r/primitive-loop.json
- Purpose
- Control repeat direction, count, and pauses so loops communicate activity or waiting with limited distraction.
- Trigger
- Trigger from loading, live, demo, or explicit play state, pausing when offscreen.
- Interruptibility
- Resume from current progress after pause and cancel old loops with timer cleanup on state changes.
- Reduced motion
- Stop automatic looping and show a representative static frame with explicit status text.
loopLoopA timeline restarts according to a finite iteration count or continues indefinitely.
alternateAlternate (yoyo)Successive iterations reverse playback direction so each endpoint becomes the next starting point.