Components 360° Viewer 360° Viewer Component

360° Viewer Component

A simple and responsive 360° Viewer Component designed for e-commerce with engaging microinteractions and a triadic color scheme, supporting dark mode.

Preview

HTML Code

<div class="flex flex-col items-center justify-center w-full h-screen bg-gray-100 dark:bg-gray-800 transition-all duration-300 p-5">
    <!-- Title -->
    <h1 class="text-2xl font-bold text-gray-800 dark:text-white mb-5">360° Product Viewer</h1>
    
    <!-- 360° Image Viewer -->
    <div class="relative w-full max-w-lg overflow-hidden rounded-lg shadow-lg bg-white dark:bg-gray-900">
        <img src="https://picsum.photos/600/400?random=1" alt="Product Image" class="w-full transition-transform duration-500 ease-in-out transform hover:scale-105" />
        <div class="absolute inset-0 flex items-center justify-center bg-black bg-opacity-30 opacity-0 hover:opacity-100 transition-opacity duration-300">
            <span class="text-white text-lg">Hover to view</span>
        </div>
    </div>
    
    <!-- Product Details -->
    <div class="mt-5 text-center">
        <h2 class="text-xl font-semibold text-gray-700 dark:text-gray-300">Stylish and Modern Product</h2>
        <p class="text-gray-600 dark:text-gray-400">This product is perfect for your day-to-day activities and brings a fresh touch to your style.</p>
        <div class="flex items-center justify-center space-x-4 mt-4">
            <span class="text-lg font-bold text-gray-800 dark:text-white">$29.99</span>
            <button class="px-4 py-2 bg-blue-500 text-white rounded-md hover:bg-blue-600 transition duration-200">Add to Cart</button>
        </div>
    </div>
</div>

Related Components

360_Viewer_Component_Brutalism_Grayscale

A complex 360° viewer component designed with a brutalist, grayscale aesthetic for dashboard applications. Features raw, bold contrasts and interactive elements, fully responsive with dark mode support.

Open

360 Viewer Component

A 360° Viewer Component with dark mode support and responsive design, built with Tailwind CSS. Requires no JavaScript, using only CSS for styling and responsiveness.

Open

360° Viewer Component

A 360° Viewer Component designed with a skeuomorphic style, utilizing a grayscale color scheme. It features a medium complexity interface suitable for social media applications, supporting both light and dark themes.

Open