Skip to content

Lightbox

A Lightbox.

Terminal window
npx @sv/components lightbox

Example



<Lightbox>
<div class="h-[500px] w-full flex-none p-2">
<img
class="h-full w-full bg-zinc-400 object-cover"
src="https://picsum.photos/900/480"
alt="alt"
loading="lazy"
/>
</div>
</Lightbox>