360° Viewer Component
A simple responsive 360° viewer component designed with Glassmorphism style and a pastel color scheme for blog content consumption, including dark mode support.
HTML Code
<div class="flex flex-col items-center justify-center bg-white dark:bg-gray-800 p-8 rounded-lg shadow-lg backdrop-blur-lg bg-opacity-50">
<h2 class="text-2xl font-bold text-gray-900 dark:text-gray-100 mb-4">360° Viewer</h2>
<div class="relative w-full h-64 rounded-lg overflow-hidden">
<img src="https://picsum.photos/500/300?random=1" alt="360° image viewer" class="object-cover w-full h-full rounded-lg" />
<div class="absolute inset-0 flex items-center justify-center bg-white bg-opacity-30 dark:bg-gray-700 dark:bg-opacity-30 rounded-lg">
<span class="text-lg font-semibold text-gray-900 dark:text-gray-100">Interact with the image</span>
</div>
</div>
<div class="mt-4">
<h3 class="text-lg font-medium text-gray-700 dark:text-gray-300">User Profile</h3>
<div class="flex items-center mt-2">
<img src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar" class="w-10 h-10 rounded-full border-2 border-white dark:border-gray-800" />
<span class="ml-3 text-base text-gray-900 dark:text-gray-100">John Doe</span>
</div>
</div>
</div>
Related Components
360° Viewer Component
A retro/vintage styled 360° viewer component for showcasing work or products in a portfolio, designed using Tailwind CSS with a complex interface featuring multiple interactive elements and supporting dark mode.
360° Viewer Component
A responsive 360 degree viewer component designed for e-commerce, with support for dark mode. The styling is retro/vintage with a pastel color scheme. Uses only HTML and Tailwind CSS.