Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/nano_jsx/components/img.ts

🎯 SSR first, lightweight 1kB JSX library.
Go to Latest
import * as nanoJsx from "https://deno.land/x/nano_jsx@v0.0.36/components/img.ts";

Classes

A useful Image component Add <Img lazy ..., to lazy load the img source Add <Img width="100" height="100" ..., to specify img element's size. Add <Img placeholder="src or element" ...., to prepare placeholder for img.