Installnpx shadcn@latest add https://motion-lexicon.pages.dev/r/primitive-idle-animation.json
- Purpose
- Use low-amplitude float or pulse motion to indicate availability, waiting, or activity.
- Trigger
- Trigger from an idle timer or ongoing state, pausing when hidden or offscreen.
- Interruptibility
- Cancel on input and settle to a stable value without overlapping interaction feedback.
- Reduced motion
- Disable automatic float and pulse motion and use a static status indicator.
idle-animationIdle animationLow-intensity ambient motion gives a waiting element activity without requiring input.
pulsePulseA low-amplitude cycle of scale, opacity, or color periodically emphasizes an element.
floatFloatA slow repeating translation produces a light hovering impression around a stable resting point.