@gomani/assets@1.2.0
npm size budget3.1 KB / 5.0 KB ✓
@gomani/assets
<Image> emits a <picture> with AVIF/WebP sources, a responsive srcset, intrinsic dimensions, lazy loading, and a blur placeholder — and withholds large variants on constrained connections. Fonts are subset to each page's exact glyphs.
API
Image
function
Image(props: ImageProps): VNode
A network-aware responsive image: AVIF/WebP, srcset, intrinsic size, blur LQIP; degrades to a plain when unprocessed.