GitHub

Image

Examples

Such a cute animal

Overlay theme color

Another cute animal

Show normal image on hover

Another cute animal

Usage

<script>
	import { ImageContainer } from 'fuchs';
</script>

<ImageContainer src="/image.jpg" alt="Alt tag" />

<ImageContainer src="/image.jpg" alt="Alt tag" useThemeColor showNormalOnHover />