Image
- The Image component.
ImageRSC
- The Image component for RSC usage without client handlers.
Image contains bunch of helpful props to make it easier to use. Provide a fallbackSrc
to show a backup image if the main image fails to load.
Photos by Alex Padurariu
and Piotr Musioł on Unsplash
Use zoomOnHover
to zoom in the image on hover.
Use blurShadow
to add a blurred shadow to the image.
ImageRSC is a server-side compatible component that does not use client handlers.