← Skyee · Skyee components · Get started

Image gallery & lightbox

Click any tile to view it larger. Escape to close.

Live preview

HTML

<div class="sky-gallery" data-sky-lightbox><button aria-label="Open image 1"><svg viewBox="0 0 160 120" preserveAspectRatio="xMidYMid slice"><defs><linearGradient id="g0513293b6fd4" x1="0" x2="1" y1="0" y2="1"><stop offset="0" stop-color="#051329"/><stop offset="1" stop-color="#3b6fd4"/></linearGradient></defs><rect width="160" height="120" fill="url(#g0513293b6fd4)"/><circle cx="118" cy="34" r="14" fill="#fff" opacity=".35"/><path d="M0 120 L50 62 L86 100 L112 76 L160 120Z" fill="#fff" opacity=".28"/></svg></button><button aria-label="Open image 2"><svg viewBox="0 0 160 120" preserveAspectRatio="xMidYMid slice"><defs><linearGradient id="g7c3aed051329" x1="0" x2="1" y1="0" y2="1"><stop offset="0" stop-color="#7c3aed"/><stop offset="1" stop-color="#051329"/></linearGradient></defs><rect width="160" height="120" fill="url(#g7c3aed051329)"/><circle cx="118" cy="34" r="14" fill="#fff" opacity=".35"/><path d="M0 120 L50 62 L86 100 L112 76 L160 120Z" fill="#fff" opacity=".28"/></svg></button><button aria-label="Open image 3"><svg viewBox="0 0 160 120" preserveAspectRatio="xMidYMid slice"><defs><linearGradient id="g0ea5e91e3a8a" x1="0" x2="1" y1="0" y2="1"><stop offset="0" stop-color="#0ea5e9"/><stop offset="1" stop-color="#1e3a8a"/></linearGradient></defs><rect width="160" height="120" fill="url(#g0ea5e91e3a8a)"/><circle cx="118" cy="34" r="14" fill="#fff" opacity=".35"/><path d="M0 120 L50 62 L86 100 L112 76 L160 120Z" fill="#fff" opacity=".28"/></svg></button><button aria-label="Open image 4"><svg viewBox="0 0 160 120" preserveAspectRatio="xMidYMid slice"><defs><linearGradient id="g16a34a051329" x1="0" x2="1" y1="0" y2="1"><stop offset="0" stop-color="#16a34a"/><stop offset="1" stop-color="#051329"/></linearGradient></defs><rect width="160" height="120" fill="url(#g16a34a051329)"/><circle cx="118" cy="34" r="14" fill="#fff" opacity=".35"/><path d="M0 120 L50 62 L86 100 L112 76 L160 120Z" fill="#fff" opacity=".28"/></svg></button></div>

Open in the Skyee app · Edit in the playground