CSS filters
CSS filters can be animated by settings filter
as you would in CSS:
const config = {
hoverable: true,
init: { filter: 'grayscale(80%) blur(2px)' },
hover: { filter: 'grayscale(0%) blur(0px)' }
};
Hover over, or tap, the image in this example to see the effect in action.