Idle animation

Use subtle breathing or floating motion for available, waiting, or active states.

Preview

Low-intensity ambient motion gives a waiting element activity without requiring input.

Preview
Idle animation

Implement Idle animation: Use subtle breathing or floating motion for available, waiting, or active states. Use Cycle duration 2200ms, Distance 8px, Idle style float, Pause 300ms. Keep continuous motion pausable and low-distraction. Use semantic HTML, scope CSS to .motion-demo--idle-animation, and mount the provided vanilla JavaScript interaction runtime. Provide equivalent low-motion behavior for prefers-reduced-motion and .force-reduced-motion.

Learn more