@deadpoolx7/react-smart-image
v0.1.0
Published
A React component for smart image loading with WebP support, fallback and lazy loading
Maintainers
Readme
react-smart-image
A lightweight React component for responsive, lazy-loaded images with WebP and fallback support.
Installation
npm install @deadpoolx7/react-smart-imageUsage
import { SmartImage } from 'react-smart-image';
<SmartImage
src="image.jpg"
srcWebp="image.webp"
alt="A smart image"
/>By deafult it loads image Lazily.
