Componente visualizzatore a 360°
Un componente visualizzatore a 360° con stile Glassmorphism, con elementi traslucidi simili al vetro smerigliato ed effetti di sfocatura, che supportano un design reattivo e un tema scuro.
Codice HTML
<div class="flex items-center justify-center min-h-screen bg-gray-100 dark:bg-gray-900">
<div class="relative w-full max-w-lg overflow-hidden rounded-lg shadow-lg backdrop-blur-md glassmorphism">
<div class="absolute inset-0 bg-white bg-opacity-30 dark:bg-gray-700 dark:bg-opacity-30"></div>
<div class="p-5 relative z-10">
<h2 class="text-2xl font-bold text-gray-800 dark:text-white">360° Viewer</h2>
<div class="mt-4">
<img src="https://picsum.photos/600/400?random=1" alt="360° view" class="w-full h-auto rounded-lg border-4 border-white dark:border-gray-700" />
</div>
<div class="mt-4 flex space-x-4 justify-center">
<img src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar" class="w-12 h-12 rounded-full border-2 border-white dark:border-gray-700" />
<img src="https://randomuser.me/api/portraits/women/1.jpg" alt="User Avatar" class="w-12 h-12 rounded-full border-2 border-white dark:border-gray-700" />
</div>
<div class="mt-4 text-center">
<button class="px-4 py-2 font-semibold text-white bg-blue-500 rounded-lg hover:bg-blue-600">Rotate Left</button>
<button class="px-4 py-2 font-semibold text-white bg-blue-500 rounded-lg hover:bg-blue-600">Rotate Right</button>
</div>
</div>
</div>
</div>
<style>
.glassmorphism {
background: rgba(255, 255, 255, 0.3);
backdrop-filter: blur(10px);
border-radius: 10px;
}
</style>
Componenti correlati
Componente visualizzatore a 360°
Un componente visualizzatore reattivo a 360 gradi progettato per l'e-commerce, con supporto per la modalità scura. Lo stile è retrò/vintage con una combinazione di colori pastello. Utilizza solo HTML e Tailwind CSS.
360DegreeViewerComponent
Un semplice componente per visualizzatori a 360 gradi con un design brutalista, colori complementari e supporto per la modalità oscura. Utilizza solo HTML e Tailwind CSS.
Visualizzatore retrò 360
Componente visualizzatore retrò a 360° con effetti reattivi e supporto per temi scuri utilizzando Tailwind CSS. Utilizza immagini segnaposto da picsum.photos.