360° Viewer Component
A 360° Viewer Component with Glassmorphism style, featuring frosted glass-like translucent elements and blur effects, supporting responsive design and dark theme.
HTML Code
<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>
Related Components
360° Viewer Component
A simple 360° Viewer Component designed for e-commerce, featuring microinteractions and an earth tones color scheme, with support for dark mode.
360° Viewer Component
A 360° Viewer component using Glassmorphism design style with responsive effects and dark theme support.
Neumorphic 360 Viewer Component
A 360° Viewer Component with Neumorphism design, Triadic color scheme (example: light blue, pink, yellow-orange) and moderate complexity for social media applications. The component is responsive, supports dark mode using Tailwind classes, and uses picsum.photos for images and randomuser.me for avatars. No JavaScript is required.