Bild-Lightbox-Komponente
Eine skeuomorphe Bild-Lightbox-Komponente, die entwickelt wurde, um reale Gegenstücke nachzuahmen, mit responsiven Effekten und Unterstützung für dunkle Themen mit Tailwind CSS.
HTML-Code
<div class="flex flex-col items-center justify-center min-h-screen bg-gray-100 dark:bg-gray-900">
<div class="relative group w-full max-w-2xl bg-white dark:bg-gray-800 shadow-lg rounded-lg overflow-hidden">
<img src="https://picsum.photos/600/400" alt="Lightbox Image" class="w-full h-auto rounded-lg transition ease-in-out duration-300 transform group-hover:scale-105" />
<div class="absolute inset-0 bg-black opacity-0 group-hover:opacity-50 transition-opacity duration-300 rounded-lg"></div>
<div class="absolute bottom-0 left-0 right-0 p-4 text-white">
<h2 class="font-bold text-lg">Image Title</h2>
<p class="text-sm">Image description goes here.</p>
</div>
</div>
<div class="mt-4">
<button class="p-2 px-4 bg-blue-600 text-white rounded hover:bg-blue-500 dark:bg-blue-700 dark:hover:bg-blue-600 shadow-lg">
<span class="flex items-center">
<img src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar" class="w-6 h-6 rounded-full mr-2" />
View User's Images
</span>
</button>
</div>
</div>
Verwandte Komponenten
Bild-Lightbox-Komponente
Eine reaktionsschnelle Image-Lightbox-Komponente, die für den E-Commerce entwickelt wurde, mit Unterstützung für den Dunkelmodus und einem Farbschema in Erdtönen.
Bild-Lightbox-Komponente
Image Lightbox Komponente mit Retro / Vintage-Design, analoges Farbschema, einfache Komplexität, für Geschäfts- / Unternehmenszwecke. Reaktionsschnell mit Unterstützung für dunkle Themen. HTML nur mit Tailwind CSS.
Bild-Lightbox-Komponente
Eine responsive Bild-Lightbox-Komponente, die für Dashboards entwickelt wurde und einen 3D-Stil und ein monochromatisches Farbschema aufweist. Es enthält Hover-Effekte und modale Funktionen mit Tailwind CSS für die Unterstützung des Dunkelmodus.