OnomaUI

gatagata motion

The motion for "rattle and shake".

がたがた1 motionOfficial

Sample

Rattle and shake

Unstable or broken

Rattles 6% and 8° side to side, forever.

Duration
0.3s
Repeats
Yes
Easing
linear
Animates
Position · Rotation translate rotate
Show CSS
@keyframes onoma-gatagata {
  0% { transform: translate(0%, 0%) rotate(0deg); }
  25% { transform: translate(6%, 0%) rotate(-8deg); }
  50% { transform: translate(0%, 0%) rotate(0deg); }
  75% { transform: translate(-6%, 0%) rotate(8deg); }
  100% { transform: translate(0%, 0%) rotate(0deg); }
}

.onoma-gatagata {
  animation: onoma-gatagata 0.3s linear infinite both;
}

/* Reduced motion: no motion */
@media (prefers-reduced-motion: reduce) {
  .onoma-gatagata { animation: none; }
}

Compare with similar motions