Image
Setup
<script>
import { Img } from "svelte-5-ui-lib";
</script>
Interactive Image Builder
<Img src='/images/examples/content-gallery-1.png'/>
Warning: the caption is using @html.
Examples
<script>
import { ImgEnhanced } from 'svelte-5-ui-lib';
import MyImage from "./garnished.webp?enhanced";
</script>
<ImgEnhanced src={MyImage} alt="An alt text" caption="This is a caption" />