Rombo

Grayscale

Animate grayscale filter effects

Basic Usage

<div class="motion-grayscale-in">
  Fade to grayscale
</div>
Fade from grayscale

Available Values

These are the theme default values. You can customize the theme to add your own values to the motionGrayscale property or use arbitrary values.

ClassValue
motion-grayscale-in-00
motion-grayscale-in100%
motion-grayscale-in-[50%]Arbitrary value

Loop Animations

<div class="motion-grayscale-loop-100">
  Loop grayscale effect
</div>
Loop grayscale effect

Exit Animations

<div class="motion-grayscale-out">
  Exit to grayscale
</div>
Exit to grayscale

Combining with Other Animations

<div class="motion-grayscale-in motion-blur-in-md">
  Grayscale and blur
</div>
Grayscale and blur

Combining with Modifiers

<div class="motion-grayscale-in motion-duration-[5s]">
  Slow grayscale transition
</div>
Slow grayscale transition

On this page

✨ Rombo for Chrome

Design animations visually in your browser.

Export directly to Rombo for Tailwind, CSS, or Framer Motion.

Install